Mail Archives: djgpp-workers/2001/01/25/17:16:05
Bill Currie has added a lot of features to djasm.
With his permission, I am posting here some of the
diff hunks for review. If they are acceptable, we
might as well fold them in to the `official' djasm.
Following is a very small change.
--
jtw
--- djasm.y Thu Jan 25 16:11:57 2001
+++ /home/jeffw/tmp/bcurrie/djasm/djasm.y Sat Mar 27 03:01:32 1999
@@ -2519,20 +2640,20 @@
struct tm *tm;
time(&now);
tm = localtime(&now);
- sprintf(tmp, "%cId: %s built %04d-%02d-%02d %02d:%02d:%02d by djasm $\n",
+ sprintf(tmp, "%cId: %s built %02d/%02d/%02d %02d:%02d:%02d by djasm $\n",
'$', inname,
- tm->tm_year + 1900,
tm->tm_mon + 1,
tm->tm_mday,
+ tm->tm_year,
tm->tm_hour,
tm->tm_min,
tm->tm_sec);
add_copyright(tmp);
- sprintf(tmp, "@(#) %s built %04d-%02d-%02d %02d:%02d:%02d by djasm\n",
+ sprintf(tmp, "@(#) %s built %02d/%02d/%02d %02d:%02d:%02d by djasm\n",
inname,
- tm->tm_year + 1900,
tm->tm_mon + 1,
tm->tm_mday,
+ tm->tm_year,
tm->tm_hour,
tm->tm_min,
tm->tm_sec);
- Raw text -