Commit graph

284 commits

Author SHA1 Message Date
ceriel e41c75c1bc Some minor changes 1995-08-17 10:03:43 +00:00
ceriel 5edfb9eccf Fix: had a semicolon too much (KJB) 1995-04-18 13:56:20 +00:00
ceriel 1db6a3029b Header --> Id 1994-06-24 14:02:31 +00:00
ceriel 12bc7ed391 Changed as suggested by Frans Meulenbroeks 1993-11-23 15:35:08 +00:00
ceriel 067ad0cc22 Fixed div() and ldiv() for machines with -1/2 = -1 1993-10-26 13:58:04 +00:00
ceriel b73eb4057e Fix: set error flag in some error cases 1993-10-07 09:44:03 +00:00
ceriel 4775779d8e Made more portable 1993-10-06 13:15:12 +00:00
ceriel 668b3fc2d8 New, improved fmod.c 1993-08-31 10:54:08 +00:00
ceriel a37e49b619 Added check, but probably never happens with correct FEF 1993-08-31 10:53:05 +00:00
ceriel 983e1bf095 Fix to icompute.c: always had one digit too much 1993-08-26 10:08:37 +00:00
ceriel 298fd07712 Prevent warning about overflow 1993-06-09 11:47:01 +00:00
ceriel 7eb7218667 Fixed bug in flushbuf: did not reset stream->_ptr on write error 1993-01-14 10:02:28 +00:00
ceriel 87cf9446fe Fixed comparison functions: unsigned char! 1992-07-22 12:51:53 +00:00
ceriel f3e5c3032f differing characters should be left untouched 1992-01-24 13:05:30 +00:00
ceriel 6e48c50a6c Put malloc.c after malloc in .distr file, otherwise it cannot be made 1991-12-19 10:22:15 +00:00
ceriel b23ed92d7e Use cp_dir to copy directories 1991-12-18 09:44:10 +00:00
ceriel 3c338b9a3f Fixed typo 1991-12-18 09:22:13 +00:00
ceriel 0deaae479b Updated LIST 1991-12-03 09:34:29 +00:00
ceriel b5ab00c143 Take sys/types.h and sys/stat.h from old C library 1991-12-02 16:43:08 +00:00
ceriel 68bee1244d removed sgtty.h; is taken from _tail_cc 1991-12-02 15:54:26 +00:00
ceriel 20a7f7b188 improved installation mechanism 1991-10-14 09:18:33 +00:00
ceriel 25cf41d9b7 Distribute malloc.c to improve lint library generation 1991-09-30 16:36:17 +00:00
ceriel e7b4e265d4 fixed some lint complaints 1991-09-30 16:24:45 +00:00
ceriel 8e572d417b fixed lint complaints 1991-09-30 16:12:08 +00:00
ceriel d8b3985528 Added entries for clean, etc. 1991-09-18 14:17:27 +00:00
ceriel 2ad0051a24 popen.c did not compile with __USG defined 1991-09-18 09:19:40 +00:00
ceriel 767c52b241 Fixed proto.make 1991-09-13 12:36:13 +00:00
ceriel 620f7e3d49 fix machine-dependant #if's 1991-09-04 15:37:41 +00:00
ceriel 3936acad08 Some minor mods 1991-08-27 08:57:28 +00:00
ceriel dd478032e6 New installation mechanism 1991-08-26 16:21:27 +00:00
ceriel 5d00c41800 Removed definition of EMHOME; it was not used 1991-08-07 10:52:35 +00:00
ceriel aec33f4d0f CLK_TCK --> CLOCKS_PER_SEC; was toch goed 1991-06-21 09:58:57 +00:00
ceriel 384d4c7647 corrected time.h header 1991-06-11 09:25:32 +00:00
ceriel 9e9e7db6b4 Fixed flushbuf() so that it works with POSIX conformant Unix versions 1991-06-10 17:07:18 +00:00
ceriel 3e9b9b3cbe Added isnan.c 1991-06-04 15:33:34 +00:00
ceriel e001541608 Fixed bug in checking of last char of environment variable 1991-04-24 12:18:03 +00:00
ceriel d6a224ea5f Changed name of loc_incl.h to loc_time.h 1991-04-22 13:21:11 +00:00
ceriel ab8022ccbd Fixed bug 1991-04-22 11:29:48 +00:00
ceriel 7c2c7f23e3 prevent overflow 1991-04-05 09:24:45 +00:00
ceriel 52287793fb Removed superfluous : 1991-03-26 18:41:47 +00:00
ceriel 319fb7cbff Removed evaluation order dependency bug 1991-03-21 09:49:35 +00:00
ceriel 7e8422d810 added check for Nan 1991-03-19 16:51:28 +00:00
ceriel e27071de78 Check for Nan 1991-03-19 16:39:40 +00:00
ceriel b893ec7013 m_a_i_n --> _m_a_i_n 1991-03-06 14:26:16 +00:00
ceriel 55bbaa1bf2 Fixed wrong %c conversion 1991-03-04 13:35:22 +00:00
ceriel cb7438cb99 Some modifications to improve floating point printing 1991-02-26 18:37:47 +00:00
ceriel d50d1f6c5e Added some casts so that it works for negative values 1991-02-26 18:17:21 +00:00
ceriel 1d73a4f04e Added hypot.c 1991-02-26 18:08:25 +00:00
ceriel 9c0b85db41 Fixed tmpnam(): name contained null-byte 1991-02-26 09:28:39 +00:00
ceriel cf10cabb6f fixed problems with flushbuf 1991-02-22 16:45:47 +00:00
ceriel 9340345509 Fix FOPEN_MAX array bound error 1991-02-22 16:32:05 +00:00
ceriel 12f4a430b0 Added varargs.h 1991-02-20 14:53:31 +00:00
ceriel 1c694d98d0 removed unused variables 1991-02-20 09:48:00 +00:00
ceriel 4a03769a47 Added mktemp.c 1991-02-01 10:31:03 +00:00
ceriel 2a852dcff1 Added fdopen() 1991-01-30 16:26:06 +00:00
ceriel 3ddb8e24b7 wctomb() now also returns 1 on 0-char 1991-01-15 11:55:33 +00:00
ceriel 38d1831dd7 Fixed error in clearerr 1991-01-03 16:08:31 +00:00
ceriel ac8168088c clearerr is now also a macro 1991-01-03 14:31:16 +00:00
ceriel c4c7787acc clearerr is now also a macro 1991-01-03 14:23:54 +00:00
eck 0ad960a9b0 set _IOMYBUF in setvbuf() when necessary 1990-12-14 14:47:26 +00:00
ceriel 2dbe465c0d Fixed for Ultrix: pass SUF 1990-12-04 11:42:25 +00:00
eck 4c99b235ed oops: forgot to update LIST 1990-12-03 14:21:21 +00:00
eck 36861e70ac added isatty.c: it is reasonably standard on UNIX systems 1990-12-03 14:13:31 +00:00
eck 2661a6085a oops, do set errno in ldexp() (blanket rules) 1990-12-03 13:09:27 +00:00
eck 04480b1db9 added protection against #define of _POSIX_SOURCE 1990-11-22 13:59:54 +00:00
eck 0c8acbf834 vsprintf() sets _IOWRITING flag 1990-11-13 10:56:53 +00:00
eck 57b1d9824a fixed bugs with sizeof() and unnormalized values 1990-11-09 16:26:15 +00:00
eck 899df7bc78 never set errno in ldexp() 1990-11-09 16:20:49 +00:00
eck 8357c43aee corrected type of *_EPSILON values 1990-11-08 12:01:52 +00:00
eck b28f5a1824 prevent warning when #including setjmp.h 1990-11-06 10:49:12 +00:00
eck 9df58e86ec removed a cast from offsetof() 1990-10-30 09:53:48 +00:00
eck 68f19d7335 changed offsetof(), so it will not generate a warning on 2-4 machines 1990-10-29 13:52:18 +00:00
eck 17abf1a78a changed definition of jmp_buf (alignment problems) 1990-10-26 11:31:27 +00:00
eck da36c2b13f deleted toupper and tolower macros: they were wrong 1990-10-24 17:24:12 +00:00
eck e701e2e2ec added to*() routines: a macro is impossible 1990-10-24 17:19:50 +00:00
eck 32da1c8c1e made a function-call of HUGE_VAL 1990-10-24 14:31:50 +00:00
eck 9bdf648402 added #include of <sys/types.h> to sigmisc.c 1990-10-15 11:23:08 +00:00
eck 1105a33fe3 added table for time-zone determination 1990-10-12 14:48:55 +00:00
eck 67ef9905e6 made implementation defined behaviour (POSIX) more explicit 1990-10-02 09:59:30 +00:00
eck c937359a4e oops, _envp should have been _penvp 1990-09-27 16:52:07 +00:00
eck 4581d9f266 forgot to update LIST 1990-09-27 16:38:32 +00:00
eck d296eed0c3 added head_ac.e 1990-09-27 15:49:13 +00:00
eck 81ce150a96 changed environment handling to decrease namespace pollution 1990-09-27 13:40:08 +00:00
eck bc6df29be8 changed first arg of sscanf() to const char * 1990-09-26 13:19:19 +00:00
eck 74f3d91777 added #if because rename() is also in POSIX 1990-09-11 10:26:42 +00:00
eck 1dd88ae8da changed int-functions to void-functions 1990-09-11 10:24:15 +00:00
eck 0d8a8bae5f removed assumption that time_t is an unsigned type 1990-09-11 10:18:51 +00:00
eck 2c9fbebe4e strod() & _str_ext_cvt() made more strictly conforming 1990-09-07 11:00:24 +00:00
eck 5fcee85f88 removed test because of moon3 1990-08-28 14:53:34 +00:00
eck 391874ecb2 merged vax and pdp #defines in float.h 1990-08-28 14:52:52 +00:00
eck 4ab420fb0f fixed qsort() for 0 elements 1990-08-28 14:03:24 +00:00
eck bc83231874 changed pow() a little 1990-08-28 13:59:36 +00:00
eck a41c51783a improved the speed somewhat
fixed bug with negative chars in comparisons
1990-08-28 13:54:46 +00:00
eck cd1f6c38a4 fixed freopen() bug by deleting some code 1990-08-28 13:44:48 +00:00
eck bc137646df fixed types because of the 2-4 version 1990-08-24 17:05:53 +00:00
eck 7bee903886 changed sigsetmask to _sigsetmask 1990-08-09 15:27:13 +00:00
ceriel cf28f45a59 improved conversion of extended to string 1990-07-20 09:39:43 +00:00
eck 21f1ef5a6c fixed character count in doscan 1990-07-11 09:08:33 +00:00
ceriel c6a11d1f62 rand() did not work on 2-byte machines 1990-06-30 20:02:45 +00:00
eck 472ee0cea4 always flush line-buffered output when filling an input buffer 1990-06-21 11:13:23 +00:00
ceriel a8d2505ba5 changed order so that it works without ranlib 1990-06-12 11:21:40 +00:00
ceriel bea95a4443 mktime() did not work for 2-byte machines 1990-06-05 12:07:28 +00:00
ceriel 6df0ecdf8f fixed typo 1990-06-05 09:50:28 +00:00
ceriel 3de1e669b2 optimized a bit 1990-05-31 18:33:38 +00:00
ceriel adb704aad4 make GMT the default 1990-05-22 14:42:28 +00:00
ceriel 59dd7cdfeb fix to fix 1990-05-22 12:22:25 +00:00
ceriel ef69de1614 atol and atoi get old-fashioned behaviour 1990-05-22 10:48:12 +00:00
ceriel 24c9be9777 Use fputs instead of printf in perror.c 1990-05-21 10:20:15 +00:00
ceriel 9570000674 an = was temporarily set to 0, but not reset 1990-05-14 12:30:18 +00:00
eck 27718f5d6d error with cast to unsigned long 1990-05-11 15:22:19 +00:00
eck 51467658c6 scan with %p didn't work properly on 2-4 machines 1990-05-03 10:50:23 +00:00
eck 536b12010f garbage is allowed in the fdopen mode string 1990-04-24 09:40:47 +00:00
eck 470bb82342 garbage is allowed in the f[re]open mode string 1990-04-24 09:30:15 +00:00
eck 86188fb772 size_t is 'unsigned int' (for backward compatibility) 1990-04-23 13:26:09 +00:00
eck dd5ef3905f timezone info should not end up in rom 1990-04-09 17:03:58 +00:00
eck 8c9149b058 changed over/underflow for exp() 1990-04-09 16:54:09 +00:00
eck a3bd2c6734 file creation on f[re]open() was still wrong 1990-04-09 15:55:51 +00:00
eck 09a4136272 deleted _tname from __iobuf structure 1990-04-09 15:38:02 +00:00
eck d2516d4eaf improved file creation on f[re]open() 1990-04-09 15:21:43 +00:00
eck 6e685b9fcc definition of ptrdiff_t was wrong 1990-04-04 16:21:34 +00:00
eck d87444a7fb improved _doscan(); fflush() doesn't call fseek() anymore 1990-04-04 15:52:01 +00:00
eck ededd15b74 changed assert() macro so __bad_assertion() can use fputs() 1990-04-03 15:29:03 +00:00
eck 644cfbf61f changed __bad_assertion(), it now uses fputs() 1990-04-03 15:01:58 +00:00
eck 34d54a20b1 several bug fixes after test-suite 1990-03-29 09:05:21 +00:00
eck c8c4c6e7a9 several bug fixes after test-suite 1990-03-28 16:37:18 +00:00
eck 0bb4c0167c bug fixes for scanf() 1990-03-28 16:33:05 +00:00
eck f99437138d made little mistakes in div() and ldiv() 1990-03-05 13:48:03 +00:00
eck 11c9808d7e fixed div() and ldiv() 1990-03-01 16:32:22 +00:00
eck ccd728edbc changed names of ?cvt : namespace problems 1990-02-27 16:48:01 +00:00
eck e4d7651f02 fixed fflush: it didn't even compile! 1990-02-13 17:08:05 +00:00
eck 343dbb810f formal parameters in prototyps need only 1 underscore 1990-01-29 10:09:00 +00:00
eck b2cbaa46d5 changed system-call to avoid namespace pollution 1990-01-22 16:26:12 +00:00
eck 8fd07efa80 some additions for MINIX 1990-01-22 13:29:46 +00:00
eck 777fb8a624 changed setjmp implementation for POSIX
made some changes for MINIX
1990-01-22 13:20:42 +00:00
eck 37c64c6e36 changed system-calls to avoid namespace pollution 1990-01-22 13:08:36 +00:00
eck 0ab62357ce changed system-calls to avoid namespace pollution 1990-01-22 13:00:13 +00:00
eck a816b64b86 forgot to update .distr 1990-01-22 12:54:26 +00:00
eck 13c2ffcc5b added sigsetjmp() & siglongjmp() 1990-01-22 12:53:21 +00:00
eck c1b2a43ef5 changed system-calls to avoid namespace pollution 1990-01-22 11:44:21 +00:00
eck 90819543f6 changed system-calls to avoid namespace pollution 1990-01-22 11:13:26 +00:00
eck 35023ba945 bug fixes from modules/malloc; changed formats to use %p 1990-01-18 17:24:18 +00:00
eck 369a99fe3a there are only 24 hours in a day, not 29 1990-01-04 11:33:10 +00:00
eck 7157ec19b6 changed strrchr() into strchr() 1990-01-04 08:39:10 +00:00
eck 670ca5a83a added putenv.c 1990-01-03 17:23:10 +00:00
eck e109e76069 changed genfiles to shell script 1990-01-03 16:58:22 +00:00
ceriel 4bb598c9ad mkdir command always executed and result ignored 1990-01-03 16:07:05 +00:00
ceriel 33e47b1a51 Added mechanism for installing header files 1989-12-19 15:32:51 +00:00
eck 80b04b4440 changed Makefile again 1989-12-19 15:06:03 +00:00
eck f4e1d47704 changed Makefile 1989-12-19 11:20:16 +00:00
eck 7fab59ec17 added MakeArch and Makefile to .distr 1989-12-19 11:02:22 +00:00