Commit graph

54 commits

Author SHA1 Message Date
George Koehler 19ca28e22f Undo commit bfeb736 for lang/cem/libcc.ansi/headers/float.h
This restores the correct values of DBL_MAX, DBL_MIN_EXP, and related
constants.  This fixes some range checks within libc, causing
atof("-36e90") and atof("1.44e-288") to return the correct values.
2016-11-06 15:01:25 -05:00
David Given f67c98e239 Distributions are a pain --- let's not bother any more. Instead, we just tag
the repository and download a complete snapshot, old and ancient stuff and all.
2016-09-02 23:00:38 +02:00
David Given a200a2fb53 Replaced the funky and hard-to-compile ACK malloc with a much smaller
and simpler one stolen from K&R. libc builds now.
2016-08-11 00:30:32 +02:00
David Given ff0c78cc78 Merge from default.
--HG--
branch : dtrg-videocore-branch-branch
2016-03-13 21:13:09 +01:00
David Given d94c1c8150 Updated distr files.
--HG--
branch : dtrg-videocore
rename : mach/i80/.distr => mach/vc4/.distr
rename : plat/cpm/.distr => plat/rpi/.distr
2013-06-21 23:38:21 +01:00
David Given 55be35a68a Add a stub malloc.h.
--HG--
branch : dtrg-videocore
rename : lang/cem/libcc.ansi/headers/stdlib.h => lang/cem/libcc.ansi/headers/malloc.h
2013-06-20 00:15:14 +01:00
David Given d273497077 Add some missing libc functions: setenv, unsetenv, strdup.
--HG--
rename : lang/cem/libcc.ansi/stdlib/getenv.c => lang/cem/libcc.ansi/stdlib/setenv.c
rename : lang/cem/libcc.ansi/string/strlen.c => lang/cem/libcc.ansi/string/strdup.c
extra : source : 64d6e6eec18d76bf8f3947ec5d171db94acdb282
2013-05-29 21:41:58 +01:00
David Given 074b42aa97 Add some missing libc functions: setenv, unsetenv, strdup.
--HG--
branch : dtrg-videocore
rename : lang/cem/libcc.ansi/stdlib/getenv.c => lang/cem/libcc.ansi/stdlib/setenv.c
rename : lang/cem/libcc.ansi/string/strlen.c => lang/cem/libcc.ansi/string/strdup.c
2013-05-29 21:41:58 +01:00
David Given f522aba4af Add support for snprintf and vsnprintf. Try and make the return value a bit
more standards-compliant.

--HG--
extra : source : a19eb606871f918e3d9e195b487b5276855edc8e
2013-05-29 17:10:58 +01:00
David Given 69953d016c Add support for snprintf and vsnprintf. Try and make the return value a bit
more standards-compliant.

--HG--
branch : dtrg-videocore
2013-05-29 17:10:58 +01:00
David Given 98e745d04c Fix awful bug where uint32_t was sometimes defined as a short.
--HG--
branch : dtrg-videocore
2013-05-25 00:33:01 +01:00
George Koehler 0131ca4d46 Delete 689 undead files.
These files "magically reappeared" after the conversion from CVS to
Mercurial.  The old CVS repository deleted these files but did not
record *when* it deleted these files.  The conversion resurrected these
files because they have no history of deletion.  These files were
probably deleted before year 1995.  The CVS repository begins to record
deletions around 1995.

These files may still appear in older revisions of this Mercurial
repository, when they should already be deleted.  There is no way to fix
this, because the CVS repository provides no dates of deletion.

See http://sourceforge.net/mailarchive/message.php?msg_id=29823032
2012-09-20 22:26:32 -04:00
dtrg 54ce3f451b Configured distr system for the 6.0pre3 release. 2007-04-29 23:09:24 +00:00
dtrg 013f58f94e Added the stdint.h header file. 2007-04-27 22:42:02 +00:00
dtrg 24ea8aee3d Updated for the 6.0pre2 release. 2007-04-24 20:45:58 +00:00
dtrg bfeb736c35 Stripped down the library to something approaching the ANSI C minimum and replaced most of the header files, to provide a reasonably consistent base to work up from. 2007-04-24 19:42:24 +00:00
dtrg b611731ec3 Updated .distr files for the new release. 2007-02-25 12:51:55 +00:00
ceriel 1db6a3029b Header --> Id 1994-06-24 14:02:31 +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 620f7e3d49 fix machine-dependant #if's 1991-09-04 15:37:41 +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 7e8422d810 added check for Nan 1991-03-19 16:51:28 +00:00
ceriel 12f4a430b0 Added varargs.h 1991-02-20 14:53:31 +00:00
ceriel 2a852dcff1 Added fdopen() 1991-01-30 16:26:06 +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
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 32da1c8c1e made a function-call of HUGE_VAL 1990-10-24 14:31:50 +00:00
eck bc6df29be8 changed first arg of sscanf() to const char * 1990-09-26 13:19:19 +00:00
eck 391874ecb2 merged vax and pdp #defines in float.h 1990-08-28 14:52:52 +00:00
eck 86188fb772 size_t is 'unsigned int' (for backward compatibility) 1990-04-23 13:26:09 +00:00
eck 09a4136272 deleted _tname from __iobuf structure 1990-04-09 15:38:02 +00:00
eck 6e685b9fcc definition of ptrdiff_t was wrong 1990-04-04 16:21:34 +00:00
eck ededd15b74 changed assert() macro so __bad_assertion() can use fputs() 1990-04-03 15:29:03 +00:00
eck 343dbb810f formal parameters in prototyps need only 1 underscore 1990-01-29 10:09:00 +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 369a99fe3a there are only 24 hours in a day, not 29 1990-01-04 11:33:10 +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 d8486967aa many changes and improvements 1989-12-18 14:00:32 +00:00