Commit graph

158 commits

Author SHA1 Message Date
ceriel d5b2601b8f use a larger buffer on larger machines 1989-02-21 10:01:55 +00:00
ceriel 30959cd73f some fixes: calloc was wrong; catch traps, and let divides
by 0 generate a signal, if on a unix machine
1989-02-20 18:01:33 +00:00
ceriel 090f27251e fixed typo 1988-11-15 11:30:47 +00:00
ceriel 78237f3ef8 some small fixes 1988-10-28 10:11:49 +00:00
ceriel f8fb06210d fixed: apparently, the profil system-call does not quite work as described
in the manual page?
1988-09-19 16:55:35 +00:00
ceriel 615b67952f make somewhat safer 1988-09-01 10:07:02 +00:00
ceriel ac92c0b9c3 made safer 1988-08-30 12:52:09 +00:00
ceriel d24592ee76 Added bsearch 1988-08-30 12:47:45 +00:00
ceriel ddc46385f3 fix: did not work properly when name != TERM 1988-08-30 12:34:40 +00:00
ceriel e102a3f5cb better checks for recursion in tc= 1988-08-30 11:37:32 +00:00
ceriel 371821c6a3 fixed typo 1988-08-11 15:59:35 +00:00
ceriel ebfc4a15a4 Added strtod.c, use it in atof 1988-08-11 12:49:06 +00:00
ceriel 8f9ed86162 ignore floating overflow/underflow 1988-08-11 09:55:22 +00:00
ceriel 094d427268 prevent overflow 1988-08-10 15:54:15 +00:00
ceriel a1032b168c fix 1988-08-10 10:41:15 +00:00
ceriel d388145dce new, much faster version 1988-08-10 09:14:43 +00:00
ceriel cdb038ed6f forgot leading zero in front of . in F format 1988-08-04 15:48:34 +00:00
ceriel 96fc9c9ab7 gcvt was called with wrong precision 1988-08-04 15:48:20 +00:00
ceriel 1726d23a44 problem fixed: number of digits displayed and/or format was sometimes wrong 1988-08-04 11:17:27 +00:00
ceriel 56a070ad99 fixed 1988-08-03 19:24:55 +00:00
ceriel 38e7921a9d Added E, G, and g format 1988-08-03 16:29:30 +00:00
ceriel 3e66a45a0d fixed 1988-08-03 16:15:48 +00:00
ceriel caf948e80e moved getopt to stdio, because it uses it 1988-08-03 14:42:47 +00:00
ceriel bbe7ae21e8 BSD4.[23] could also run NFS 1988-07-28 09:26:22 +00:00
ceriel fabf37e889 declared errno 1988-07-26 13:04:24 +00:00
ceriel e98a670850 fixed typo 1988-07-25 12:30:52 +00:00
ceriel b09805786d Added some prints 1988-07-22 20:58:48 +00:00
ceriel ffb6eb9ff4 Added .distr 1988-07-22 18:29:52 +00:00
ceriel 696f0b1c31 Added math 1988-07-22 18:29:51 +00:00
ceriel a18fcb9048 Initial revision 1988-07-22 16:53:29 +00:00
ceriel c2af3d7faa allow for three digits in exponent 1988-07-01 11:56:08 +00:00
ceriel 0c386e3032 tolower was called without checking for isupper; adapted 1988-06-10 14:28:32 +00:00
ceriel 5891ec12a0 corrected brk and sbrk somewhat 1988-04-27 18:02:59 +00:00
ceriel 39d3496f4b Added termcap.c 1988-04-26 18:23:40 +00:00
ceriel 71dd29ae30 improved layout 1988-04-25 16:17:29 +00:00
ceriel 6607dc999e fixed; va_end(list) should be va_end(ap) 1988-04-25 15:31:58 +00:00
ceriel 5f4707b280 improved comments; should now be understandable for anyone who knows EM 1988-04-21 10:08:56 +00:00
ceriel 79e3ac1a26 improved setjmp 1988-04-20 16:58:29 +00:00
ceriel 536716ba84 rewritten setjmp: compiler now gives a bit more support 1988-04-20 15:33:17 +00:00
ceriel ecaea97a99 make to use varargs.h 1988-04-15 14:43:19 +00:00
ceriel 355177a22c improved sbrk 1988-04-14 10:45:42 +00:00
ceriel eddb43c08e catch possibly occurring trap with stores in the HP 1988-04-11 12:51:22 +00:00
ceriel d034f5145c malloc now allows users to use sbrk too,
setjmp/longjmp now save/restore the signal mask on BSD 4.2 systems,
some minor mods in atof
1988-02-16 17:48:39 +00:00
ceriel 7bc8ed1270 fixed: returned wrong value 1988-02-16 17:48:28 +00:00
ceriel c41f63a4c8 %[...] did not work 1987-11-20 12:57:51 +00:00
ceriel 7df117128c fixed for very large numbers 1987-10-22 15:26:36 +00:00
ceriel cf330f732c increased buffer size 1987-10-22 14:07:54 +00:00
ceriel b75744f0d4 replace 10 by 10.0, so that the conversion is not done at runtime 1987-10-22 13:58:48 +00:00
ceriel 245397491a increased buffer size, check for end 1987-10-22 13:35:05 +00:00
ceriel 5c7379738b Some minor adaptions 1987-10-15 12:59:03 +00:00
ceriel 18996b9698 brk must return pointer size 1987-09-02 14:54:32 +00:00
ceriel 93eba2874d previous fix was wrong; added another 1987-09-02 12:52:44 +00:00
ceriel c93f6d9fb1 yet another fix in freopen: re-opening for reading did not work properly 1987-09-02 12:43:23 +00:00
ceriel cc524c3d9a fixed bugs in tzset and ttyslot, adapted malloc to allocate in bigger chunks 1987-08-19 14:44:54 +00:00
ceriel c7990b3d31 some fixes to freopen 1987-08-17 14:23:16 +00:00
ceriel b8fb8a57fa fixed setbuf. count field was set wrong 1987-08-14 20:32:08 +00:00
ceriel 19e580bdc9 fixed a typo 1987-07-22 09:12:47 +00:00
ceriel 5331d4d232 set _buf to 0 on open 1987-07-17 14:04:14 +00:00
ceriel e0f737c293 include <sys/time.h> on 4.2 systems 1987-07-17 09:38:18 +00:00
ceriel 4804ab14b8 fix: wrong free 1987-07-16 16:08:13 +00:00
ceriel fbf67d7a29 some fixes 1987-07-10 09:06:19 +00:00
ceriel 02044d1d3f fixed bug 1987-06-12 19:10:12 +00:00
ceriel 5696478540 Added some 'register' to declarations 1987-05-25 09:13:12 +00:00
ceriel 1dba69eb38 bug fix in lseek.e 1987-04-29 13:36:52 +00:00
ceriel be4da756bc new LIST file; order was wrong 1987-04-27 12:28:28 +00:00
ceriel 08ad853ac5 sleep sometimes hangs. This is corrected 1987-04-23 15:20:41 +00:00
ceriel 23a4c5d7d6 Initial revision 1987-04-16 15:48:27 +00:00
ceriel 81b1d21c35 Initial revision 1987-04-13 10:32:47 +00:00
ceriel 8ebc170ec0 st_blksize does only exist on 4.2 systems 1987-04-07 08:46:15 +00:00
ceriel a30cbae14d Ported to sun 1987-04-06 13:03:05 +00:00
ceriel 6f1166bcce bug fix 1987-04-06 12:33:28 +00:00
ceriel c42541c99b Added declaration for malloc 1987-04-02 14:12:21 +00:00
ceriel 8675bc2b01 bug fixes 1987-04-02 14:09:21 +00:00
ceriel 5d32d4987e Added copyright notice 1987-03-31 10:50:20 +00:00
ceriel 94f87e3557 replaced copyright notice 1987-03-31 10:45:54 +00:00
ceriel 400c036c67 Added Rcs Id 1987-03-31 10:45:53 +00:00
ceriel e3043b7dcb minor adaption, to close filedescriptor immediatelym if possible 1987-03-27 15:11:06 +00:00
ceriel 76fea1fbca __USG and __BSD4_2 introduced, dysize added 1987-03-10 15:07:26 +00:00
ceriel 9cab0b0105 *** empty log message *** 1987-02-24 13:10:59 +00:00
ceriel fef3cce6e0 solved some problems with include files 1987-02-24 10:54:20 +00:00
ceriel 45bffe9e26 solved a problem with include files 1987-02-24 10:49:54 +00:00
ceriel 254364ca11 bug fix 1987-02-06 14:50:57 +00:00
ceriel 77f33b6762 did not work with bloody vax assemblerr 1987-02-06 14:44:56 +00:00
ceriel 102790400d bug fix 1987-02-06 13:28:01 +00:00
ceriel 63af2a556b bug fix 1987-02-06 11:09:26 +00:00
ceriel 17a2c4977e bug fix 1987-02-06 10:37:09 +00:00
ceriel 010a311ab7 bug fixes 1987-02-05 21:36:42 +00:00
ceriel 3cddcb4482 typo 1987-02-05 21:07:09 +00:00
ceriel 775e473fb0 *** empty log message *** 1987-02-05 21:04:40 +00:00
ceriel c6a224a6d1 output buffer is now called _sobuf 1987-02-05 20:56:06 +00:00
ceriel c4b53d0710 buffer names: _sibuf and _sobuf 1987-02-05 20:54:27 +00:00
ceriel 060a309f82 array bound check added 1987-02-05 20:47:30 +00:00
ceriel ac77d6c7fe Bug fix 1987-02-05 20:39:11 +00:00
ceriel 46cfcbdf43 bug fix 1987-02-05 16:22:42 +00:00
ceriel d76349f200 pdp instead of pdp11 1987-02-02 21:01:10 +00:00
ceriel a8820459d5 obeyed a warning 1987-02-02 20:54:56 +00:00
ceriel ae504890c7 bug fix 1987-01-30 09:45:41 +00:00
ceriel bc8229b952 don't use a sgttyb struct 1987-01-29 13:01:28 +00:00
ceriel f3a6d7c3ce correction of syntax error 1987-01-28 17:05:02 +00:00
ceriel fc2e88758f declaration of gmtime added 1987-01-28 17:02:56 +00:00