Commit Graph

133 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
3d887aa334 Makefile:
- in the install and release targets, ensure that the installed
	  header file is of type SRC/CC, otherwise subsequent compilations
	  may fail.
1998-02-19 01:12:36 +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
gdr-ftp
7e3c77c4a2 Makefile, stack.asm:
- move generated macro file to /obj hierarchy
Makefile:
	- fix location of (non-generated) macro sources
	- 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:05:17 +00:00
gdr-ftp
3c8936e8bc Makefile:
- eliminate double concatenation of resource fork
	- specify files via SRCS vice OBJS
	- obtain the assert object file from where it is built in
	  the ORCA hierarchy
libc.rez:
	- add build date to displayed data
1998-02-19 01:00:36 +00:00
gdr-ftp
29f6c45c73 Makefile:
- backed out v1.3 changes
1998-02-17 00:35:18 +00:00
gdr-ftp
caf78f9f1c lib.mk:
- backed out v1.4 changes
	- replace .asm (as well as .c) suffixes with .o for OBJS definition
	- added a recipe for building ProDOS renamed object files
1998-02-17 00:33:08 +00:00
gdr-ftp
b3a92e5811 - initial checkin of Steve's uname(3) implementation 1998-02-16 22:44:03 +00:00
gdr-ftp
7eb6be5172 Makefile:
- modifications to allow the object files to be in the /obj
	  hierarchy.
	- rename the object files during the build such that they can
	  reside on a ProDOS partition.  An unfortunate consequence of
	  this is the requirement in this file for explicit recipes for
	  any of the renamed object files.

libnetdb.rez:
	- add an rVersion for the final library
1998-02-15 19:27:20 +00:00
gdr-ftp
6bafc3a9b4 lib.mk:
- fix definition of OBJS such that they can be placed in the /obj
	  hierarchy.  Also added some more default targets for the same
	  purpose.
	- added in a rule to append an rVersion resource to the library,
	  unless the NO_REZ macro is set in the makefile
1998-02-15 19:18:20 +00:00
gdr-ftp
2188b17ab9 Makefile:
- extract appending of the rez fork into a higher level *.mk file
liby.rez:
	- add in the build date automatically
1998-02-15 19:14:25 +00:00
taubert
6bd94b0884 Added support for separate object hierarchy and cleaned up libc makefiles 1998-02-09 08:45:21 +00:00
taubert
ed01d173df Move crypt support files from libc into libcrypt 1998-02-09 08:25:43 +00:00
gdr-ftp
6bfb3527a9 - Makefiles now have common 'release' and 'install' targets
- most Makefiles now use gno/lib/lib.mk (not all of libc has been
  done yet)
1998-02-08 03:47:40 +00:00
gdr-ftp
c8e574bab7 crypt.c, crypta.asm:
- missed some renames of symbols when the namespace pollution
	  problem was addressed.  Hopefully this fixes the unresolved
	  symbols.  Untested.
1998-02-08 03:20:25 +00:00
gdr-ftp
f3bea84880 - changed the location where the macro source files are expected to be
found to reflect the directories now recommended in the FAQ.
- added a resource fork with an rVersion.
- use catrez instead of copyfork
- make 'install' and 'release' targets consistent with the rest of
  the GNO builds.
1998-02-08 03:16:55 +00:00
gdr-ftp
716edaa21b - (crypta.asm) move all functions into the *.o file. The first one was
getting put into the *.root file.
1998-02-05 16:07:06 +00:00
gdr-ftp
e712a9ff58 - fixed a bug (found by Steve Reeves) where the check for an out-of-bounds
errno was never catching illegal errnos, and thus could walk off the
  end of the message array.
1998-02-04 15:16:19 +00:00
gdr-ftp
4b239cd6da - utime(2) test: print access and modification times before exiting 1998-02-04 07:26:53 +00:00
gdr-ftp
c3959c4d16 - scanf test. Verifies the operation of scanning floats 1998-02-04 07:24:39 +00:00
taubert
a7b5aa5c8a First libcurses commit with changes for GNO 1998-01-26 06:09:49 +00:00
taubert
4079986d8b Created lib.mk as a replacement for <bsd.lib.mk> 1998-01-26 05:49:05 +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-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