Annotation of coherent/b/lib/libc/Changes.1992, revision 1.1.1.1

1.1       root        1: libc/Changes
                      2: i8086/i386 libc source change log, begun 5/6/92
                      3: 
                      4: Wed May  6 14:31:23 1992 PDT
                      5: crt/Makefile
                      6: crt/i386/Makefile
                      7: crt/i386/_prof.c
                      8: crt/i8086/Makefile
                      9: crt/i8086/_prof.c
                     10:                i386 ld now writes e.g. "__end_text" rather than "etext",
                     11:                so split _prof.c into i386 and i8086 versions appropriately.
                     12: crt/i386/fdcvt.s
                     13:                Corrected bug in double -> float conversion.
                     14: gen/Makefile
                     15: gen/_addargs.c
                     16: gen/coffnlist.c
                     17:                Added _addargs() and coffnlist().
                     18: gen/i386/Makefile
                     19: gen/i386/alloca.s
                     20:                Added alloca().
                     21: gen/qsort.c
                     22: gen/shellsort.c
                     23:                Replaced qsort() and shellsort() with new sources from cef,
                     24:                with better performance.
                     25: sys/i386/brk.s
                     26:                Changed end to __end for consistency with ld.
                     27: sys/i386/mkscall.c
                     28:                Eliminated extraneous "orl %eax, %eax" in system call
                     29:                generation routine.
                     30: sys/i386/scall.s5
                     31:                Added system call poll (87).
                     32: sys/i386/msgemul.c
                     33:                Corrected by Bob H. by adding missing arguments.
                     34: sys/i386/shmemul.c
                     35:                Corrected by Bob H.
                     36: sys/i386/Makefile
                     37: sys/i386/uname.c
                     38: sys/i386/ustat.c
                     39:                Added stubs as requested by hal.
                     40: 
                     41: Thu May  7 10:19:55 1992 PDT
                     42: gen/Makefile
                     43: gen/_cleanup.c
                     44:                Added _cleanup() which currently does nothing,
                     45:                as requested by norm.  This is required for linking
                     46:                some ATT programs.
                     47: 
                     48: Thu May  7 16:03:44 1992 PDT
                     49: crt/i386/modf.c
                     50:                Corrected result for negative arguments.  For the old
                     51:                version, -1.15 returned -2.00 + .85 rather than -1 + -.15.
                     52:                The change is consistent with ANSI 4.5.4.6.
                     53: 
                     54: Tue May 12 15:45:46 1992 PDT
                     55: Makefile
                     56: ndir/Makefile
                     57: ndir/*.c
                     58: sys/i386/Makefile
                     59:                Added SV-style directory access routines in directory ndir.
                     60:                Modified Makefile accordingly.  Deleted getdents.o from
                     61:                system call object list in i386/Makefile, for now.
                     62: 
                     63: Thu May 21 14:28:58 1992 PDT
                     64: crt/i386/daddsub.s
                     65:                Promula reported a bug in floating point output,
                     66:                which was really a bug in floating point subtract.
                     67:                When the operands differed in precisely the 20th
                     68:                significant bit, the result was normalized incorrectly.
                     69: 
                     70: Fri May 22 13:39:32 1992 PDT
                     71: stdio/_dtefg.c
                     72:                Corrected modf() call; the 5/7/92 change above changed
                     73:                the results of modf() for negative arguments,
                     74:                this compensates for that change.
                     75: 
                     76: Tue May 26 13:25:29 1992 PDT
                     77: gen/ctime.c
                     78:                Added ftime(), previously missing, after modifying source
                     79:                provided by michael.
                     80: 
                     81: Thu May 28 16:28:29 1992 PDT
                     82: csu/i386/crts0.s
                     83:                Added runtime startoff source.
                     84: 
                     85: Fri May 29 13:58:04 1992 PDT
                     86: crt/i386/dmul.s
                     87:                Corrected after bug report from Promula: when rounding
                     88:                result carried past hidden bit, I decrmented the exponent
                     89:                when I should have incremented it.
                     90: 
                     91: Thu Jun  4 12:55:38 1992 PDT
                     92: gen/sys_err.c
                     93:                Added _I386 conditional to correspond to COH386 <errno.h>.
                     94: 
                     95: Tue Jun  9 16:43:42 1992 PDT
                     96: gen/Makefile
                     97: gen/lockf.c
                     98:                Added lockf.c and added lockf.o to Makefile.
                     99: 
                    100: Fri Jun 19 14:48:55 1992 PDT
                    101: gen/getwd.c
                    102:                Renamed getwd() to _getwd(), to avoid conflict with BSD
                    103:                getwd() which expects different arguments.
                    104: gen/Makefile
                    105: gen/getcwd.c
                    106:                Added getcwd(), modified Makefile accordingly.
                    107: 
                    108: Wed Jul  8 10:06:38 1992 PDT
                    109: gen/monitor.c
                    110: gen/ttyname.c
                    111: gen/ttyslot.c
                    112: gen/i386/Makefile
                    113: gen/i386/abort.c
                    114: gen/i386/signame.c
                    115: sys/i386/cerror.s
                    116: sys/i386/dup2.c
                    117: sys/i386/execve.s
                    118: sys/i386/fork.s
                    119: sys/i386/gtty.c
                    120: sys/i386/pipe.s
                    121: sys/i386/sememul.c
                    122: sys/i386/setpgrp.c
                    123: sys/i386/signal.s
                    124: sys/i386/utsemul.c
                    125: sys/i386/wait.s
                    126:                Integrated Ciaran's i386 sources into library sources.
                    127: sys/Makefile
                    128: sys/i8086/Makefile
                    129: sys/i8086/dup2.c
                    130: sys/i8086/semop.c
                    131: sys/i8086/time.c
                    132:                Moved sys/dup2.c to sys/i8086 to avoid conflict with
                    133:                the different source sys/i386/dup2.c.
                    134:                Moved sys/semop.c to sys/i8086 to avoid conflict with
                    135:                the different source sys/i386/sememul.c.
                    136:                Moved sys/time.c to sys/i8086 to avoid conflict with
                    137:                the different source sys/i386/time.c.
                    138:                Modified Makefiles accordingly.
                    139: 
                    140: Thu Jul  9 12:49:47 1992 PDT
                    141: stdio/fread.c
                    142:                Adjust seek position after partial read when item size > 1,
                    143:                as requested by michael.
                    144: 
                    145: Thu Jul 16 10:09:02 1992 PDT
                    146: crt/Makefile
                    147: crt/i386/Makefile
                    148: crt/i8086/Makefile
                    149: crt/_prof.c
                    150:                Added merged source, replacing crt/[i386|i8086]/_prof.c.
                    151:                Modified Makefiles accordingly.
                    152: crt/i386/_prof.c
                    153: crt/i8086/_prof.c
                    154:                Deleted, replaced by merged source crt/_prof.c.
                    155: crt/i386/scount.s
                    156:                Updated to work right for i386.
                    157: gen/monitor.c
                    158:                Comments added, cast added for i386.
                    159: gen/copyright.c
                    160:                Version number bumped to 4.0.
                    161: 
                    162: Fri Jul 17 11:22:31 1992 PDT
                    163: sys/Makefile
                    164: sys/execlep.c
                    165: sys/execl.c
                    166: sys/execle.c
                    167: sys/execlp.c
                    168: sys/execv.c
                    169: sys/execvep.c
                    170: sys/execvp.c
                    171:                Added execvep(), as requested by piggy and hal,
                    172:                a simple modification of previous execvp.c source.
                    173:                Changed execvp.c to call execvep().  Added execlep().
                    174:                Cleaned up other exec* sources slightly.
                    175: 
                    176: Tue Jul 21 11:58:31 1992 PDT
                    177: gen/copyright.c
                    178:                Version number bumped to 4.0.1.
                    179: 
                    180: Mon Jul 27 17:34:21 1992 PDT
                    181: stdio/finit.c
                    182:                Fixed obscure bug relating to errno.
                    183:                isatty() sets errno to ENOTTY (correctly) when false.
                    184:                But finit() calls isatty() to decide whether i/o should
                    185:                be buffered.  If finit() is initializing a FILE pointer
                    186:                which is a disk file, it therefore inadvertently sets errno
                    187:                to ENOTTY.  finit() now leaves errno unchanged.
                    188: 
                    189: Tue Jul 28 09:48:36 1992 PDT
                    190: sys/Makefile
                    191: sys/execlp.c
                    192: sys/execlpe.c
                    193: sys/execvp.c
                    194: sys/execvpe.c
                    195:                At hal's request, renamed execlep() and execvep() to
                    196:                execlpe() and execvpe(), for consistency with Borland.
                    197: 
                    198: Tue Aug  4 16:32:30 1992 PDT
                    199: sys/i386/Makefile
                    200: sys/i386/uname.c
                    201: sys/i386/ustat.c
                    202:                Corrected uname.c and ustat.c (they were reversed)
                    203:                and deleted the bogus utsname.c.
                    204: 
                    205: Tue Aug  4 19:12:41 1992 PDT
                    206: string/i386/memset.s
                    207:                Changed ambiguous "movzx" to unambiguous "movzxb" to avoid
                    208:                assembler warning message.
                    209: 
                    210: Thu Aug  6 10:48:02 1992 PDT
                    211: ndir/opendir.c
                    212:                At piggy's request, modified opendir() so that it stat()s
                    213:                the arg to make sure it is a directory before it opens it.
                    214:                The old code fstat()s the arg after the open, which can
                    215:                cause problems if the arg is a device.
                    216: 
                    217: Wed Sep  2 20:03:08 1992 PDT
                    218:                V4.0.2: recompiled from scratch after changing <stdio.h>
                    219:                _NFILES from 20 to 60, to correspond with system change by hal.
                    220: 
                    221: Tue Sep 22 13:29:47 1992 PDT
                    222: ctime.c
                    223:                V4.0.3: in localtime(), if DST is in effect, set isdst to 1
                    224:                unconditionally, rather than to (dstadjust != 0) as before.
                    225:                A user was intentionally setting dstadjust to 0 but still
                    226:                wanted to know that DST was in effect.
                    227: 
                    228: Mon Sep 28 14:54:15 1992 PDT
                    229: sys/Makefile
                    230: sys/execve.c
                    231: sys/i386/Makefile
                    232: sys/i386/_execve.s
                    233: sys/i8086/Makefile
                    234:                V4.0.4: Changed system call execve() to _execve(),
                    235:                then added new execve() which performs Unix-style
                    236:                interpretation of interpreter and arg specs on first line
                    237:                of scripts.  For example,
                    238:                        #!/bin/whatever arga argb
                    239:                would run the script with /bin/whatever rather than /bin/sh,
                    240:                prepending "arga argb" to the command line arguments.
                    241: 
                    242: Tue Oct 27 10:01:30 1992 PST
                    243: crt/i387/rts87.s
                    244:                In _udcvt(), added code to check for overflow after conversion
                    245:                of double to 64-bit integer; return UINTMAX on overflow.
                    246:                Changed "cwchop" from 0x0FBF to 0x0F3F, resetting an unused bit.
                    247: 
                    248: Thu Oct 29 14:43:45 1992 PST
                    249: gen/ctime.c
                    250:                V4.1.1: modified "char tzname[2][32];" to "char *tzname[2];",
                    251:                for iBCS2 compatability, as per hal and bob.
                    252: 
                    253: Tue Nov  3 11:15:12 1992 PST
                    254: gen/ctime.c
                    255:                V4.1.2: modified ctime.c/isdaylight() after user
                    256:                Richard Lindner (in Australia) correctly noted that
                    257:                DST handling was broken for the Southern Hemisphere.
                    258: 
                    259: Fri Nov  6 14:50:41 1992 PST
                    260: stdio/Makefile
                    261: stdio/remove.c
                    262: stdio/rename.c
                    263:                V4.1.3: added ANSI-compliant functions remove() and rename().
                    264: 
                    265: Thu Nov 12 13:33:44 1992 PST
                    266: stdio/Makefile
                    267: stdio/fprintf.c
                    268: stdio/printf.c
                    269: stdio/sprintf.c
                    270: stdio/vprintf.c
                    271: stdio/vfprintf.c
                    272: stdio/vsprintf.c
                    273:                V4.1.4: Modified old printf.c (which defined printf(), sprintf()
                    274:                and fprintf() using static function xprintf()) into vfprintf.c.
                    275:                Added other new *printf.c using vfprintf() and modified Makefile
                    276:                accordingly.  This is still the non-ANSI printf(), though.
                    277: 
                    278: Mon Nov 16 09:52:33 1992 PST
                    279: gen/Makefile
                    280: gen/__assertfail.c
                    281:                V4.1.5: added __assertfail.c, defining __assertfail()
                    282:                referenced by new <assert.h>.
                    283: 
                    284: Mon Nov 16 15:18:02 1992 PST
                    285: gen/Makefile
                    286: gen/ftok.c
                    287:                V4.1.6: added ftok.c, defining ftok() as in SVR4,
                    288:                as requested by vlad.
                    289: 
                    290: Thu Nov 19 09:52:45 1992 PST
                    291: stdlib/
                    292: stdlib/Makefile
                    293: stdlib/atexit.c
                    294:                V4.1.7: added atexit.c, defining atexit() as in ANSI,
                    295:                as requested by cef.
                    296:                Added new stdlib directory and Makefile.
                    297: stdio/exit.c
                    298:                Modified to execute atexit()-specified functions.
                    299:                
                    300: Thu Dec  3 12:45:30 1992 PST
                    301: crt/i387/rts87.s
                    302:                V4.1.8: Added entry points _dpcvt() and _pdcvt() for conversions
                    303:                generated by particularly bogus source code.
                    304: 
                    305: Fri Dec  4 13:42:33 1992 PST
                    306: sys/i386/scall.s5
                    307:                Changed stime() entry, the flag bits previously specified
                    308:                that the arg was a pointer which should be dereferenced.
                    309:                The arg is indeed a time_t pointer, but the system expects
                    310:                the arg to be a pointer, not the value it points to.
                    311: 
                    312: Wed Dec  9 15:01:56 1992 PST
                    313: sys/i386/scall.s5
                    314:                V4.1.9: withdrew above stime() change after consultation
                    315:                with hal; the user interface is indeed
                    316:                        int stime(time_t *timep)
                    317:                but the SV-compatible system call routine is
                    318:                        int ustime(time_t time)
                    319:                so the interface routine does dereference the supplied pointer.
                    320: 
                    321: Wed Dec 16 11:40:07 1992 PST
                    322: gen/i386/setjmp.s
                    323:                V4.1.10: ANSI 4.6.2.1 mandates that longjmp(buf, 0) return 1,
                    324:                not 0; now it does.
                    325: 
                    326: Wed Dec 16 13:19:33 1992 PST
                    327: gen/ctime.c
                    328:                V4.1.11: Restored initialization to dsttimes[] deleted 11/16/92,
                    329:                after correcting the member order.
                    330: 
                    331: Fri Dec 18 14:21:46 1992 PST
                    332: stdio/fgets.c
                    333: stdio/gets.c
                    334:                V4.1.12: ANSI 4.9.7.2 says fgets() which encounters EOF
                    335:                without reading any characters should leave the contents
                    336:                of its array arg unchanged, the previous code stored a NUL
                    337:                character into it; similarly for gets(), ANSI 4.9.7.7.
                    338:                Now they work as required.  This fixes a bug reported
                    339:                by user Mark Sommer.
                    340: 
                    341: Wed Dec 23 14:28:13 1992 PST
                    342: sys/i386/shmemul.c
                    343:                V4.1.13: modified shared memory routines from vlad.

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.