Commit Graph

20 Commits

Author SHA1 Message Date
gdr-ftp
7027be9e4b vfscanf.c:
- Fixed a problem reported by Derek where stack trashing
	  was happening once an EOF was reached.  This was actually
	  only one example of a class of problems; any time __svfscanf
	  returned before filling all the requested arguments, va_arg
	  was left uncalled for some set of arguments.  This has been
	  fixed by adding a "stack cleanup" section to the code where
	  va_arg is called once for each remaining argument.
	- The __svfscanf routine still had large arrays on the stack.
	  These have been changed to static storage class.  There is
	  currently an assert in place to assure that recursion isn't
	  happening since I didn't have the chance yet to verify in
	  detail the control flow here.  This assert (and the related
	  use of the "recursing" variable) can be removed after such
	  a verification.
1998-03-04 06:20:03 +00:00
gdr-ftp
79cc150685 Makefile:
- specify files via SRCS vice OBJS.  This eliminates an extraneous
	  ".o" in the final OBJS value.
	- don't attempt to attach a rez fork (leave it for the upper
	  level makefile)
1998-02-19 01:07:56 +00:00
taubert
6bd94b0884 Added support for separate object hierarchy and cleaned up libc makefiles 1998-02-09 08:45:21 +00:00
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
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
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
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
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
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
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
gdr
da9cc85bc1 added fgetln.c to build 1997-05-03 19:40:45 +00:00
gdr
596add410c initial checkin of libc source and tests 1997-02-28 05:12:58 +00:00