Mail Archives: djgpp-workers/2000/05/23/05:08:44
On Mon, 22 May 2000, Eric Rudd wrote:
> *** src/libc/ansi/stdlib/div.old Sat Dec 10 22:33:46 1994
> --- src/libc/ansi/stdlib/div.c Fri May 19 13:04:36 2000
> ***************
> *** 1,4 ****
> ! /* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
> #include <stdlib.h>
>
> div_t
> --- 1,4 ----
> ! /* Copyright (C) 2000 DJ Delorie, see COPYING.DJ for details */
> #include <stdlib.h>
We don't replace the Copyright line, we add (actually, prepend) the
new one to all the old ones, like this:
/* Copyright (C) 2000 DJ Delorie, see COPYING.DJ for details */
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
> I would appreciate it if someone else took a
> look at the code and verified that the new code is indeed correct.
The code seems consistent with C9X draft, as far as I could see, but
isn't it better to replace it with inline asm that does this in a
single instruction?
- Raw text -