Commit Graph

148 Commits

Author SHA1 Message Date
gdr-ftp
d6d81225de copyfile.c:
The last fix wasn't quite correct in that (for copying only data
	forks) the rez fork was still created but with zero length.
	This fix doesn't create the rez fork at all under those
	circumstances.
1998-04-10 21:36:08 +00:00
gdr-ftp
e8879227c8 basename.c:
If the argument provided to dirname(3) doesn't have a
	directory component, return "." instead of "".
1998-04-10 21:33:20 +00:00
gdr-ftp
50a2dce1b5 initial checkin for strftime(3) test program 1998-04-10 21:25:07 +00:00
gdr-ftp
92ee492794 added the _reportStack(3) routine 1998-03-28 16:46:59 +00:00
gdr-ftp
04ed2e0e19 cvt.c:
Fix for PR#56 -- there is a kludge to modify the exponent for
	a converted value of zero, due to the way that SANE special-
	cases it.  This kludge was applied for all values that had a
	zero exponent; now do it only for the value zero.
1998-03-28 16:42:32 +00:00
gdr-ftp
62215a070f ChangeLog:
summarized all changes from 22 Dec 97 to the present
1998-03-25 06:06:34 +00:00
gdr-ftp
23b1d7acd2 Makefile:
corrected location of assert.o file
1998-03-25 06:05:46 +00:00
gdr-ftp
774f9b72ff copyfile.c:
When copying files, don't make it an extended file unless
	the original has a resource fork.
1998-03-25 04:04:20 +00:00
gdr-ftp
8c9a14c01e cvt.c:
The ecvt(), fcvt(), and __dtoa() routines were generally
	rewritten to address the problem of printing floating point
	numbers (they sometimes came out wrong, especially representations
	of zero).

	__dtoa was written from the description in the BSD sources (note
	that the comment of it being "like ecvt/fcvt other than truncating
	trailing zeros") is not quite accurate where it comes to the rve
	pointer or the printing of zero values.  __dtoa is still expected
	to be wrong for any modes other than 2 and 3, however those modes
	are not used by anything in libc yet.  Fix them when they pop up.

	BSD has not ecvt/fcvt routines, so these have been written based
	on the man page and observed behavior of the Linux implementation.
	There is no gcvt yet.
1998-03-24 16:20:30 +00:00
gdr-ftp
e9cd1d1fb9 Makefile:
getlogin.c was missing from the list of sources, and therefore
	getlogin(3), _getlogin(3), and setlogin(3) were missing from
	the build.
1998-03-24 16:10:35 +00:00
gdr-ftp
cadd7ef99a libcrypt.rez:
- added rVersion
Makefile:
	- specify sources vice objects so that the new *.mk macros
	  work correctly.
1998-03-11 04:23:34 +00:00
gdr-ftp
ace3b43bec Makefile:
- deleted a bunch of commented-out lines that had been left
	  in by mistake
1998-03-08 18:16:03 +00:00
gdr-ftp
03cff8f7cc Makefile:
- updated for use with the new *.mk files
libtermcap.rez:
	- added build date
termcap.h:
	- added cvs ident string back in
1998-03-08 18:14:55 +00:00
gdr-ftp
8b1eeb2e86 Makefile:
- the rez fork rules is now in one of the *.mk files; don't
	  include it here
	- make sure the contrib.h header gets installed
libcontrib.rez:
	- added the build date
1998-03-08 18:11:50 +00:00
gdr-ftp
a3eaea8456 lib.mk:
Added $(LOCAL_SETUP) to the list of build targets, before
	$(LIBTARGET).  LOCAL_SETUP should be set in the lower makefiles
	if there is a target which must be made prior to the main
	compilation.
1998-03-08 18:09:03 +00:00
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