Commit Graph

161 Commits

Author SHA1 Message Date
gdr-ftp
272fd7918a - eliminate the definition and use of the macros INCLUDE_GNO, INCLUDE_ORCA,
and INCLUDE_GNO_ALT.  The directories specified in 13/orcacdefs/defaults.h
  are now assumed to be correct.  When building lib/libc/stdio/vfprintf.o,
  these directories have to explicitly stated the makefile for the moment.
1998-01-26 00:44:25 +00:00
gdr-ftp
2d3f7dce1a - floating point conversion specifiers were disabled, leading to stack
errors if they were used.  They have been reenabled.
1998-01-25 21:03:48 +00:00
gdr-ftp
676fccce0c - fixed some off-by-one errors in day fields. Errors found and fix
provided by Steve Reeves.
1998-01-25 21:01:55 +00:00
taubert
75831c8124 Initial commit of netdb library 1998-01-24 07:05:48 +00:00
gdr
07177f48d1 test more floating point data formats in printf 1997-12-21 20:15:27 +00:00
gdr
b998993162 added trivial test for fts routines 1997-12-21 20:14:21 +00:00
gdr
5aa367e6ff added Tilghman's settimeofday(2) implementation 1997-12-21 20:13:19 +00:00
gdr
97ab3c7a62 - fixed segment name
- changed location of macro include files
1997-12-21 20:12:27 +00:00
gdr
6b8ea553ee added more stack routines 1997-12-21 20:11:17 +00:00
gdr
4aafacd78b fix a bad patch(1) run 1997-12-21 20:05:41 +00:00
gdr
007531d795 - no longer specify -I flags on the command line; include files must
already be in /usr/include and other system directories.
1997-12-21 20:04:19 +00:00
gdr
7276456260 Put in some fixes that came out of FreeBSD-Current. Compilations not
yet verified on the IIgs.  Also, dumped #ifdef's that avoided use of
fdopen from before fdopen was available in libc.
1997-12-19 06:34:31 +00:00
gdr
8590ffb646 These are Dave Tribby's changes that were necessary to make
sed (which uses these routines) work correctly.  See the file
GNO.notes for more details.
1997-11-17 04:13:08 +00:00
gdr
9a6d867e7f for the junk.c target:
- Use macros for -I flag values rather than explicit directories
	- Use a text diversion rather than explicit shell redirection.
	  This avoids a gsh hang on some systems.
1997-11-01 19:16:29 +00:00
gdr
072c984053 make CHDIR macro work when NDEBUG is defined (and therefore the assert
is a null op).
1997-11-01 19:12:16 +00:00
gdr
13a3dc63c3 added:
path expansion
	file copying
	GS/OS error printing (unused)
1997-10-30 04:57:25 +00:00
gdr
68e30dd46a Split vfprintf.c into 2 via #ifdefs, so that ORCA/C can create two
different object files.

Added "%b" printf specifier for as per the ORCA/C implementation,
but disable it for now pending an ORCA/C bug.
1997-10-30 04:52:45 +00:00
gdr
88223ca717 added "%b" specifier (Apple IIgs specific) for Pascal-type strings 1997-10-30 04:49:02 +00:00
gdr
2b38da3926 - added rmdir(2)
- eliminate a shitload of casts by using the dynamic gsstring hack
  in <types.h>
1997-10-30 04:46:53 +00:00
gdr
fd08c34074 initial checkin 1997-10-30 04:45:25 +00:00
gdr
9f917c3089 Added Henry Spencer 1997-10-30 04:28:04 +00:00
gdr
280300e2f8 This now builds under ORCA/C. Completely untested. 1997-10-08 07:07:51 +00:00
gdr
b7b8ffe87b - started building with ORCA/C
- changed OPSHIFT macro to use a (unsigned long) vs (unsigned) cast;
  this at least will compile now; ORCA/C was complaining about 'duplicate
  label in case statement'.
1997-10-08 07:07:14 +00:00
gdr
a5c3c955aa initial checkin 1997-10-08 03:48:16 +00:00
gdr
8056066083 - initial build for GNO (untested)
- changed some path names
1997-10-03 04:53:06 +00:00
gdr
1c00c49e7b initial checkin 1997-10-03 04:49:40 +00:00
gdr
68bf96eb2a added install and release targets, rez file dependancy 1997-10-03 04:47:34 +00:00
gdr
cbf28ecef3 replaced with a GNO-style makefile 1997-10-03 04:46:02 +00:00
gdr
a669d1f0ac prototyped 1997-10-03 04:45:27 +00:00
gdr
6848d48a2e build libc in the lower level makefiles instead of the top one; we're
getting too many files
1997-10-03 04:44:26 +00:00
gdr
f163b4f2a5 added PHONY target to libc 1997-10-03 04:42:51 +00:00
gdr
ce58eb7e53 - define INSTALL and CATREZ
- change other macros to use "+=" vice "="
1997-10-03 04:39:58 +00:00
gdr
fe19a1dddc initial checkin (modified man page) 1997-10-01 02:57:29 +00:00
gdr
c6b6448216 initial checkin 1997-09-30 06:24:04 +00:00
gdr
d5a9505472 initial checkin 1997-09-30 06:00:47 +00:00
gdr
f75f7a7b79 added Tilghman Lesher to the list 1997-09-26 06:00:19 +00:00
gdr
09da0614d3 - added RCS Id string to header file
- added makeinstall target to Makefile
- added man page
- added mkso.data file
1997-09-21 21:51:03 +00:00
gdr
d671eaa752 initial checkin 1997-09-21 18:11:42 +00:00
gdr
7a88871b21 corrected target for .PRECIOUS attribute 1997-09-21 18:06:07 +00:00
gdr
124ca8d9b7 - added assert test
- changed location of included files
1997-09-21 17:54:27 +00:00
gdr
5d0fd14e43 initial checkin 1997-09-21 17:46:05 +00:00
gdr
39aff4d07f - added a test description
- removed #ifdefs that would use fopen vice fdopen
1997-09-21 16:36:18 +00:00
gdr
a54e2a8e91 update build list 1997-09-21 16:35:12 +00:00
gdr
db4bce6e93 - send status msgs to stderr vice stdout
- ensure that the user specified a flag, else popen will get a NULL mode
  parameter
1997-09-21 16:33:49 +00:00
gdr
314f3fcee0 initial checkin 1997-09-21 16:32:15 +00:00
gdr
91a111f2c1 added .... change descriptions. 1997-09-21 16:31:12 +00:00
gdr
c3d9c3b245 - add Procyon and Mike W. to the list 1997-09-21 16:28:57 +00:00
gdr
7050dc895b - link in assert.a from the ORCALib directory
- depend on lower level makefiles to update libc; don't search their
  directories
1997-09-21 16:28:30 +00:00
gdr
6471a77b16 allow lower level makefiles to update libc 1997-09-21 16:22:23 +00:00
gdr
fc58ca13eb - because of a bug in the kernel, force fcntl to return O_RDWR for
flags on a FIFO or character-special device.
- for variadic routines, up the optimization from 72 to 78.  Otherwise
  remove #pragmas and depend on the makefile to set them
- move raise(3) into ORCALib implementation so that we can avoid backward
  references in linking.
1997-09-21 16:21:13 +00:00
gdr
92d0985f19 delete #pragmas, when possible; depend on them being set by the makefile 1997-09-21 16:17:20 +00:00
gdr
de72cff25b - set optimization level to 78
- have the default target update ../libc
1997-09-21 16:15:29 +00:00
gdr
228ac9913d - move optimization directives from the source files to the makefile
- have the default makefile target update ../libc
1997-09-21 06:23:08 +00:00
gdr
997c35962d initial checkin 1997-09-21 06:22:10 +00:00
gdr
ffae6366ab - specify optimization level 78
- have default target update ../libc
1997-09-21 06:21:35 +00:00
gdr
e9b7d50bfc remove #pragmas; depend on Makefile for these settings 1997-09-21 06:21:07 +00:00
gdr
a5c0ecf161 add a segment statement 1997-09-21 06:20:37 +00:00
gdr
82170164bc - build vfprintf.o in two stages in order to avoid an ORCA/C preprocessor bug
- specify, on the command line, an optimization leve of 78 for all source
  files
- have the default target update ../libc
1997-09-21 06:19:50 +00:00
gdr
6e22587191 - remove #line numbers inserted by splatprep(1)
- [variadic functions only] update optimization level from 72 to 78
1997-09-21 06:16:12 +00:00
gdr
c52fcd3475 greatly reduce stack requirements of vfprintf() and __sbprintf() 1997-09-21 06:14:42 +00:00
gdr
a071932b06 - specify optimization level 78 in makefile
- have default target update ../libc
1997-09-21 06:10:26 +00:00
gdr
a402a7f7fa - set optimization level 78 in makefile
- have default target update ../libc
1997-09-21 06:08:48 +00:00
gdr
f6a8741209 move #pragma's out of source when possible (depend on makefile) 1997-09-21 06:08:11 +00:00
gdr
8f24a49223 Move #pragmas out of the source files when possible. Depend on occ
command line flags.
1997-09-21 06:05:01 +00:00
gdr
b94726dc62 reimplement and fix popen/pclose routines 1997-09-21 06:04:01 +00:00
gdr
1554cedb32 initial checkin 1997-09-21 06:02:56 +00:00
gdr
740fda6275 changes to reflect that the paths.mk info is now in a separate file 1997-09-21 06:01:12 +00:00
gdr
4539811926 add logwtmp.c to the build 1997-09-21 05:59:14 +00:00
gdr
e64c17d8cb move the #pragmas out of the source files; depend on the Makefile 1997-09-21 05:57:40 +00:00
gdr
c1a44d4166 - initial checkin, as submitted by Soenke Behrens 1997-09-17 16:36:41 +00:00
gdr
eb65e1bf12 added various files to libc; mostly stdio 1997-09-05 06:50:30 +00:00
gdr
4fead8bdd0 minor comment changes 1997-09-05 06:48:12 +00:00
gdr
b1b7a26b51 added some tests 1997-09-05 06:46:33 +00:00
gdr
7fad7d2bd6 - added non-ORCA rename(2) implementation
- added sigprocmask(2)
- changed unlink(2) not to depend on remove(3) [was briefly mutually
	recursive]
- added fcntl(2)
1997-09-05 06:38:06 +00:00
gdr
2dafe3f23e depend on paths.mk 1997-09-05 06:35:22 +00:00
gdr
24747d92a2 uncommented "mend" on assertVersion macro 1997-09-05 06:34:59 +00:00
gdr
93e9864555 Move strerror() implementation to this directory. 1997-09-05 06:33:22 +00:00
gdr
05cc2bfd4c Added _isnan(), _isinf(), __dtoa(), fcvt(), and ecvt() routines. The
first three are required by stdio.
1997-09-05 06:31:59 +00:00
gdr
123ac5dd20 change segment name to "libc_stdio" 1997-09-05 06:27:50 +00:00
gdr
5c7af603fd Replace ORCALib stdio implementation with BSD implementation. 1997-09-05 06:18:52 +00:00
gdr
ca13d459c1 depend on paths.mk 1997-09-05 06:15:49 +00:00
gdr
4fe75a5912 Map GS/OS error "file busy" (0x50) to EEXIST for open(2). 1997-09-05 06:14:16 +00:00
gdr
8a35779079 depend on ../../paths.mk 1997-09-05 06:12:22 +00:00
gdr
1fd1b2b9dd psignal.c:
Use CR instead of LF in call to write(2).

Makefile:
	Depend on ../../paths.mk

basename.c:
	Include <sys/syslimits.h> due to change in stdio.h
1997-09-05 06:09:50 +00:00
gdr
7e092ea691 Added the ChangeLog for libc. 1997-07-28 03:17:41 +00:00
gdr
59a20690fa added psignal,c, siglist.c to build 1997-07-28 03:15:55 +00:00
gdr
e7714c1ecb added psignal(3), sys_siglist, sys_signame. 1997-07-28 03:12:37 +00:00
gdr
8c5cc88bbb - don't use the _gno_ prefix for sys_nerr or sys_errlist any more
- changed some formatting in the source file
1997-07-28 00:20:37 +00:00
gdr
62becc2887 added fts* routines and fdopen(3) to build 1997-07-27 23:59:49 +00:00
gdr
d85acdda0e added a test for running scripts directly 1997-07-27 23:58:57 +00:00
gdr
44802413cf added three tests 1997-07-27 23:50:59 +00:00
gdr
945f94e0e0 added test for opening a file more than once 1997-07-27 23:45:04 +00:00
gdr
51bdc8eddb updated makefile to contain all checked-in tests 1997-07-27 23:44:39 +00:00
gdr
bc4d7f5de5 Added tests for wait(2) [currently failing] and getpid(2) [currently passing]. 1997-07-27 23:36:25 +00:00
gdr
6b10135a2c Fixed a bug in this test; the VERSION_TRIPLE macro was always getting 0x204. 1997-07-27 23:34:49 +00:00
gdr
8f991e5d98 syscall.c:
Added chmod(2), fchmod(2).

syscall.c, trap.asm, trap.mac:
	Added checks for kernel version.  This is currently disabled due
	to concerns about the overhead involved.  See the gno-devel mailing
	list archives for details.
1997-07-27 23:33:36 +00:00
gdr
9b450f3e72 Added an fdopen(3) implementation. It's not yet working quite right. 1997-07-27 23:15:09 +00:00
gdr
c2791150e8 Add in header comments, delete test case (moved to test directory). 1997-07-27 23:13:28 +00:00
gdr
e0139fb829 Now that ORCALib can be modified, don't prefix sys_errlist and sys_nerr
with "_gno_".
1997-07-27 23:10:57 +00:00
gdr
10ea6a13be add fdopen.c to build 1997-07-27 23:09:09 +00:00