Commit Graph

989 Commits

Author SHA1 Message Date
cgd a87693f257 update from Lite, clean up a bit, seperate arch-specific file list. 1995-02-25 17:05:19 +00:00
cgd 572e3f3188 don't forget inifinity.c 1995-02-25 16:24:22 +00:00
cgd ea1ca14ecb need these for new gen/Makefile 1995-02-25 16:20:12 +00:00
cgd 63de9506bf merge with Lite, keep local changes. clean up id usage 1995-02-25 15:39:01 +00:00
cgd 6929ad87a5 need these now, with new net Makefile.inc 1995-02-25 14:58:43 +00:00
cgd 5d6d569765 update to 4.4-Lite and/or clean up Id 1995-02-25 14:09:35 +00:00
cgd 6e6a4e85b0 update to 4.4-Lite where appropriate, clean up Id format, etc. 1995-02-25 13:40:51 +00:00
cgd 97d9d67a27 from lite, with minor name rearrangement to fit. 1995-02-25 09:11:37 +00:00
cgd 2c4d3c4c4a clean up Id's on files previously imported... 1995-02-25 08:50:56 +00:00
cgd 708504beb1 when you have a pointer and want to assign to a quad, you must cast it
to long to quiet the compiler.
1995-02-25 07:06:38 +00:00
cgd 9386b82936 when you have a quad and want to assign to a pointer, you must say:
ptr = (ptr_type)(long)quad;
to quiet the compiler.
1995-02-25 07:02:16 +00:00
cgd 83b55061cc oops; fix the cleanup. 1995-02-25 06:58:58 +00:00
cgd ef0582f1e7 clean up import. also convert everything to new Id format. 1995-02-25 06:20:26 +00:00
cgd 547fd46929 4.4-Lite lib/libc/net 1995-02-25 03:54:36 +00:00
cgd 32b5bdd221 use NetBSD rather than ID 1995-02-25 03:34:50 +00:00
cgd 76e7b276d3 upgrade to 4.4-Lite Makefile, keeping local changes. NOW BUILDS TAGS ON INST 1995-02-25 03:31:42 +00:00
cgd 3f45f31f15 strange corner cases:
(1) zero top 32 bits for 32-bit unsigned ops; 32-bit value can
		be accidentally(?) sign-extended by the compiler/assembler.
	(2) fix return value for mod's that cause traps
1995-02-25 03:09:32 +00:00
cgd 9e15c98955 save my sanity; stop using Id. 1995-02-25 03:01:33 +00:00
jtc 8453143f6d Added \n to end of format strings used by all the perror-like functions.
Added const qualifier to array of error strings.
1995-02-20 21:20:22 +00:00
jtc e7d917e6eb Remove extra "u" constraint that caused gcc 2.6.3 not to compile this file.
Note that gcc 2.4.5, the compiler we are currently using, still compiles it
correctly after this change.
1995-02-17 06:01:47 +00:00
cgd ac66c90d8d make copy-to-libkern work properly on the alpha. (deal with no quad support.) 1995-02-13 21:57:24 +00:00
cgd b380b015d1 make this 64-bit-safe. 1995-02-10 18:15:05 +00:00
cgd e4f5181d15 libc support for the alpha. more functions should be written in assembler,
but that's optimization.  8-)
1995-02-10 17:49:48 +00:00
cgd da1fb002e9 make these safe for a 64-bit world. 1995-02-10 17:47:26 +00:00
cgd b42e80ba75 list the files needed on the alpha. 1995-02-10 17:46:48 +00:00
cgd 819bb2cd8c alphas don't need libc quad support. 1995-02-10 17:45:39 +00:00
jtc 2deb4892f4 Initial set of ANSI clean namespace mappings. 1995-02-09 04:49:01 +00:00
mycroft e90d9fb8a6 Make the coding style more consistent. 1995-02-08 18:33:12 +00:00
mycroft ae5740f063 size_t is unsigned. 1995-02-08 18:15:25 +00:00
cgd 6c4c74998b fix man page specs, per bug 788 from John Smerdon. 1995-02-08 13:48:24 +00:00
mycroft d04155c293 Optimize better. 1995-02-05 14:58:44 +00:00
mycroft 44525cd591 Clean up deleted files. 1995-02-05 06:09:30 +00:00
jtc edead1feee revert 1995-02-02 02:16:48 +00:00
jtc 255db7b26b Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
1995-02-02 02:09:03 +00:00
jtc 389c46c57d Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
1995-02-02 01:15:33 +00:00
jtc 7cd7db23c2 imported from 44lite 1995-02-02 00:57:36 +00:00
jtc 94da0b5da5 Merged with 4.4lite, with hopes that it would fix the bug where mktime()
would spin in an infinate loop when passed a tm struct with all fields
set to INT_MIN.  It isn't a complete fix, the loop now terminates but
mktime() does not return (time_t) -1.

I sent mail to bostic about this, who replied that the changes in 4.4BSD
were to fix this exact problem.  My next step is to send mail to Arthur
David Olson, the original author and maintainer of this code.
1995-02-01 18:09:39 +00:00
jtc e5a10891db Added -I${.CURDIR}/include to CFLAGS, for upcoming library-private
header files (namespace.h, etc.).
1995-02-01 09:09:01 +00:00
cgd 0e27f5febb kill the damned tab. 1995-01-30 12:21:41 +00:00
mycroft 8d6f89d5bd Clean up deleted files. 1995-01-30 12:19:29 +00:00
cgd 7c6ed81dae clean up import; kill old cruft. 1995-01-30 12:19:13 +00:00
cgd 0e14985799 regex code from lite. same as we're using, but slightly cleaner. 1995-01-30 12:16:51 +00:00
jtc 6a96a52c80 Handle long doubles.
Like Plauger's implementation in "The Standard C Library", we use strtod(),
which will limit the range of values that can be converter properly if
long double has greater precision or range than double.

We will need a string to long double function to handle this properly, but
this change is better than the previous behavior of ignoring the existance
of long doubles.
1995-01-30 00:45:59 +00:00
jtc f0c0009971 Added support for quad_t and u_quad_t's with the 'q' flag. 1995-01-27 15:20:25 +00:00
jtc 2893ea1742 Removed conflicting "backwards compatibility" code to make scanf
ANSI compliant.
1995-01-26 01:34:44 +00:00
jtc a40e8f9215 Fixed bug with '+' or ' ' flags and precision.
for example, printf("% 6.4d\n", 77) output one two many padding chars.
1995-01-25 11:20:41 +00:00
cgd dc70e3ae1b document sysctl variable kern.maxpartitions 1995-01-25 06:09:12 +00:00
cgd 26099b453e note KERN_DOMAINNAME, the addition of tickadj to KERN_CLOCKINFO. 1995-01-24 23:55:48 +00:00
mellon 1afdb958f0 +Infinity for MIPS 1995-01-18 01:27:24 +00:00
pk a64c43edd8 Add sigsetjmp() for sparc. 1995-01-11 20:23:59 +00:00
pk 7530512a37 Machine dependent sig{set,long}jmp(). 1995-01-11 20:22:28 +00:00
mycroft f1b3337a0b Need to divide count by 2. 1995-01-07 03:44:55 +00:00
pk c6df61219c svc_getreq(): pay attention to registered sockets only. This allows
passing a `fd_set' with unrelated bits set.
1995-01-06 13:05:16 +00:00
cgd 966e78191e pull in changes from libkern. 1995-01-06 00:45:20 +00:00
cgd 9125e2c436 don't forget to copy ntohs to libkern 1995-01-06 00:09:19 +00:00
jtc ee4db031bc sigmask() macro doesn't belong here, it's in the sigblock() manpage 1995-01-04 18:48:00 +00:00
mycroft 00f8cda6d6 Remove local definitions of svc_maxfd. 1995-01-04 02:58:45 +00:00
jtc f34d1ed7d1 Password databases live in /etc, not /var/db. (PR #685) 1995-01-03 15:57:32 +00:00
mycroft 33c7f89b0e Remove useless invocation of the evil getdtablesize(3). 1994-12-30 04:40:13 +00:00
mycroft 31146ca7e8 Format police, and a small patch for 64-bitness. 1994-12-28 03:34:37 +00:00
mycroft 0121eacdc1 Repair a couple of things. 1994-12-28 03:22:37 +00:00
mycroft 05fe3ff1f7 Mostly sync with CSRG. 1994-12-28 03:06:05 +00:00
mycroft e0354b7995 Build undelete(2) stub. 1994-12-28 01:42:56 +00:00
jtc b4bd7fea24 Replaced pops with adds. 1994-12-24 01:16:44 +00:00
jtc 26eccb0a9b Exchange offsets of "saved signal mask" and "signal mask saved" so
that the layout of sigjmp_bufs and jmp_bufs are the same (except
for the "signal mask saved" appended to the end).
1994-12-24 01:05:44 +00:00
jtc 38163d03a8 #include <machine/endian.h>. 1994-12-23 22:50:19 +00:00
jtc 7141eb20ba 4.4lite's C language sigsetjmp() implementation is bogus, restore
machine dependant versions.
1994-12-23 22:25:48 +00:00
cgd a05aca32f7 clear up type inconsistency. 1994-12-23 14:24:20 +00:00
cgd 517b869072 note that the file name is const, and fix a couple of roff bogons. 1994-12-23 13:04:39 +00:00
cgd 3f3c777922 more than i thought... 1994-12-23 13:01:30 +00:00
cgd 26d1df904e oops; one too many __const's 1994-12-23 12:54:14 +00:00
cgd 425d26fd98 fix up for new compiler predefines 1994-12-22 15:02:58 +00:00
cgd 9903c64a33 (1) fix up for new compiler predefines
(2) clean up IEEE format defines, so that their names are accurate again.
1994-12-22 15:02:48 +00:00
cgd ae9172d6cd specify man pages the new way. 1994-12-22 09:57:51 +00:00
cgd 9e3970d80f make the char *'s that some of these routines take/return __const.
It quiets some warnings, and is the 'right thing' anyway.
1994-12-20 16:18:16 +00:00
cgd 00676a51e4 type-size sanity 1994-12-20 16:12:10 +00:00
jtc 6a9043df2e Use "const" qualifier so that tens, tinytens, and bigtens arrays are stored
in the text segment.
1994-12-20 00:43:48 +00:00
cgd 2eed827e82 make libc work again, on systems that don't support __warn_reference 1994-12-18 11:32:37 +00:00
cgd 510290ed54 make sure link for inet_aton is in alphabetical order in MLINKS. 1994-12-18 09:42:18 +00:00
cgd b70de87ec8 make type-size safe. 1994-12-18 09:09:48 +00:00
cgd 02ae34d854 add #include description, from Jim Jegers 1994-12-18 04:26:06 +00:00
pk 26a352d1dd Provide backwards compatibility with previous "doubly-underscored"
symbols. Avoids updating libc's major version number for this internal change.
1994-12-17 16:27:03 +00:00
pk 7c93bbccb8 Refer to _sys_siglist with just one underscore. 1994-12-17 16:18:10 +00:00
pk c0aee44a2f Correct number of underscores on internal function calls. 1994-12-17 16:16:00 +00:00
mycroft 201fac6e3d More underscores... 1994-12-15 17:24:44 +00:00
jtc 37d79a5d9d Fixed cross reference: sysctl(1) -> sysctl(8). 1994-12-15 08:44:35 +00:00
jtc c2cf556f97 Fix cross references: sysctl(2) -> sysctl(3) (PR #643). 1994-12-15 08:43:29 +00:00
cgd 3c5606e4ea fix for bug 638 1994-12-14 07:24:12 +00:00
jtc 92737ece73 Rework indirect reference support as outlined by my recent message to
the tech-userlevel mailing list.
1994-12-12 22:42:20 +00:00
mycroft e4db9f8bda Clean up deleted files. 1994-12-12 22:42:14 +00:00
jtc 3c98cdcd84 Rework indirect reference support as outlined by my recent message to
the tech-userlevel mailing list.
1994-12-12 22:41:50 +00:00
dean a51d5c8eef underscore changes 1994-12-12 19:31:22 +00:00
christos cc23e692fb Return null for empty strings in triplets, not the empty string.
Fix memory corruption with double-freeing ng_copy. (From Jason Downs)
1994-12-12 19:05:31 +00:00
christos b69aa4831d NIS -> YP changes and other typos fixed (From Jason Thorpe) 1994-12-11 22:47:06 +00:00
christos 9cc12a55d4 - Changed all internal libc references of {v,}err{x,} and {v,}warn{x,} to
__{v,}err{x,} and __{v,}warn{x,}
- moved err.c to __err.c and added err.c which contains weak references for
  the above functions.
- Reordered the functions in __err.c to avoid redeclarations and changed
  the varargs declarations to conform with the K&R style.
1994-12-11 20:43:48 +00:00
mycroft f6a8ef8452 Fix spelling error. 1994-12-11 17:50:52 +00:00
mycroft 9440ca7539 Clean this up a little. No functional changes. 1994-12-11 17:34:10 +00:00
jtc 912b8b6429 Use 44lite's clever sigsetjmp()/siglongjmp() implementation I just imported. 1994-12-10 11:29:03 +00:00
jtc cb010fc468 Changed to conform to NetBSD's new RCS Id convention. 1994-12-10 11:23:43 +00:00
jtc 362fb60ac0 imported from 4.4lite 1994-12-10 11:20:54 +00:00