Mail Archives: djgpp-workers/2001/01/26/05:42:36
>
> 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);
>
It looks like your undoing my change to ISO format of time. The right
line is "sprintf(tmp, "@(#) %s built %04d-%02d-%02d %02d:%02d:%02d by
djasm\n",". It should be right in the CVS as I've commited it.
Right,
MartinS
- Raw text -