Commit Graph

1845 Commits

Author SHA1 Message Date
jtc a6751cc939 Updated for LOG_FTP (PR #1312).
Edited the examples section so that they are all separated by a single
blank line, since they're unrelated.  SunOS' syslog(3) has a sentance
or two describing each line.  We'll either have to come up with our
own text or ignore it.  I'm ignoring it for now.
1995-08-11 00:34:34 +00:00
thorpej 0f77910137 Add and document a `kern.rawpartition' sysctl. 1995-08-04 18:36:08 +00:00
jtc 29308d7d0d stdio.h -> unistd.h 1995-07-30 06:05:35 +00:00
phil e69d413643 Improvements to YP support from Jason Downs. 1995-07-28 05:43:01 +00:00
christos a667b8f7d4 - Const poisoning
- KNF police
- Detect malloc failures
1995-07-14 21:04:17 +00:00
cgd d9393d75fb fix pr 1214 slightly differently. i _didn't_ use the .Fa macro to
mark "file," because in context it didn't seem as if the argument was
being literally named.  rather it seemed that the argument's purpose
being described.  (the difference being: "... modification times of the
file named by file" would be a case where the the argument was named,
and thus be used with .Fa.)
1995-07-12 07:18:31 +00:00
pk 16e30a94d1 Deal with crash dumps again. 1995-07-05 18:41:25 +00:00
cgd 00fd6050b6 slight type cleanup. add some prototypes for internal functions,
some 'const' poisoning, some lvalue lossage.
1995-07-04 03:03:30 +00:00
jtc b01f461032 Remove trailing comma from cross reference list. 1995-07-03 22:49:10 +00:00
jtc 3b6cda53f9 add setlocale(3) and strsignal(3) cross references 1995-07-03 22:48:08 +00:00
jtc 362ffa8883 remove bogus sys_errlist(3) cross reference 1995-07-03 22:46:21 +00:00
jtc 1eb9f79e6e added intro(2) cross reference 1995-07-03 22:44:42 +00:00
briggs bc09c2e1b0 Take out cpu040 case for mac68k. 1995-07-01 19:26:03 +00:00
jtc ba9dbab5b4 remove single quote from comment 1995-06-29 20:42:22 +00:00
cgd d8eaa29f0f fix a piece of sloppy coding on my part. gdb -k still doesn't work, though. 1995-06-29 11:41:45 +00:00
cgd 8f0aa84845 make these manual pages match current reality 1995-06-29 11:40:44 +00:00
jonathan c93ec6801c *** empty log message *** 1995-06-28 02:18:21 +00:00
cgd abde65bef8 fix typo, as pointed out by David Brownlee 1995-06-27 22:32:28 +00:00
jtc 89bbe08617 Strip out unneeded header files 1995-06-26 23:04:45 +00:00
jtc 11c615eae7 Use "${BINOWN}" and "${BINGRP}" instead of "bin". 1995-06-26 22:15:56 +00:00
cgd 64b09480bb update to match reality. 1995-06-26 13:19:27 +00:00
cgd 873e3c7169 add mlock xrefs as suggested by davide@cs.cmu.edu 1995-06-24 10:47:05 +00:00
cgd 98c450a103 add mincore xref as suggested by davide@cs.cmu.edu 1995-06-24 10:42:03 +00:00
pk 02cf7515b7 Make PIC safe. 1995-06-20 22:45:46 +00:00
jtc 1847eaed9f sys/termios.h -> termios.h 1995-06-19 22:47:37 +00:00
cgd 3d113b326b don't assume f_fstypename is larger than MFSNAMELEN or is nul-terminated 1995-06-18 10:58:06 +00:00
jtc 9c87841ac4 Change return type of {get,set}{domain,host}name() from long to int. 1995-06-16 07:36:03 +00:00
jtc edbbf562ba <sys/termios.h> -> <termios.h> 1995-06-16 07:20:35 +00:00
jtc bd3ac90048 getsubopt() uses strcmp(), so include <string.h> 1995-06-16 07:15:18 +00:00
jtc ed7060c4a6 Use standard conditional for rcsid definition. 1995-06-16 07:12:41 +00:00
jtc 915b76dd9f Don't cast void functions to void. 1995-06-16 07:05:27 +00:00
mellon af776e8143 Correctly build gcrt0.o 1995-06-15 21:59:25 +00:00
mellon 0cfebbe02b start -> __start in END macro as well 1995-06-15 21:58:44 +00:00
mellon 96ba717024 start -> __start to avoid namespace bugs 1995-06-15 21:56:58 +00:00
pk ef3ad469b6 Private strrchr() not needed for scrt0.o 1995-06-15 21:41:41 +00:00
jtc 752ff8fb6c don't include <sys/cdefs.h>, it's a 'private' header 1995-06-15 00:07:11 +00:00
jtc 0b2dbb02ca add explicit return type 1995-06-14 05:19:52 +00:00
jtc 6eaa1d60d8 define __atexit pointer 1995-06-14 05:17:53 +00:00
jtc bebf039306 add extern qualifier to __atexit pointer declaration 1995-06-14 05:16:04 +00:00
jtc 15206427d4 Add btree(3) cross reference.
Lose self-referential cross reference.
1995-06-13 00:53:40 +00:00
jtc a646349d2b Open with O_NONBLOCK, in case someone tries to open a blocking device
or a non-open fifo instead of a directory.
1995-06-12 19:38:02 +00:00
cgd 85ab28f7aa eliminate the need for some (fatal) casts. 1995-06-07 13:14:09 +00:00
cgd ac2f3dfca6 be a bit more careful when splitting pathnames 1995-06-07 05:52:12 +00:00
cgd da7c7d41dd build tags at library build time, not at install time. 1995-06-07 04:37:54 +00:00
cgd 5fb36cfb02 cast assignments to quiet const warnings. Mark (at least some) uses of
const variables that result in their modification (!!) as XXX.
1995-06-07 03:55:49 +00:00
pk f087571372 First arg. of syscall2() is a quad_t. 1995-06-06 09:04:51 +00:00
pk 8ad14ce320 Correct tputs() argument declaration. 1995-06-06 08:14:37 +00:00
pk 18a59f7843 Declare tputs() as void. 1995-06-06 08:10:00 +00:00
pk bd8c5cbee9 Prototypes (PR#1105) + some misc. reorganisation. 1995-06-05 19:48:33 +00:00
pk f0f12c9e95 Prototypes (PR#1104). 1995-06-05 19:46:49 +00:00
pk 41621edd10 Prototypes (PR#1103). 1995-06-05 19:45:48 +00:00
pk 8347998a01 Prototypes (PR#1100). 1995-06-05 19:43:53 +00:00
pk dde1c1a0be Prototypes (PR#1098). 1995-06-05 19:42:16 +00:00
pk 6355031191 Fix typo (Der mouse, PR #1115). 1995-06-05 11:48:26 +00:00
pk 69ae425298 Build run-time code for use in static executables, called `scrt0.o'. 1995-06-05 01:57:04 +00:00
pk 275fc2ee0d #include <dlfcn.h>, and <string.h> too. 1995-06-05 00:13:05 +00:00
pk 25b9fa86e4 one more prototype 1995-06-05 00:10:44 +00:00
pk 6226310a31 add dlerror() stub 1995-06-04 23:29:14 +00:00
mycroft 5860921eda Fill in sin_len. 1995-06-03 22:37:19 +00:00
mycroft c7ad9c47f1 Fill in sin_len. 1995-06-03 22:24:45 +00:00
mycroft 89ef25dac6 Fill in sin_len. 1995-06-03 22:03:51 +00:00
pk 846beea318 Factor out common code. 1995-06-03 13:16:03 +00:00
mycroft ac1e0f5127 Don't set the rgid or egid. Document this behavior. This is compatible with
SunOS and SysV.
1995-06-03 02:27:17 +00:00
pk c64cecc457 Protoize (from Thorsten Lockert, PR #1070).
Some other cleanup.
1995-06-02 21:30:47 +00:00
mycroft 19755ba159 We must do setgid() explicitly now. 1995-06-02 21:25:09 +00:00
pk fd77fcfc4c Make this compile warning-free (from Thorsten Lockert, PR 1071). 1995-06-02 15:55:27 +00:00
jtc 4cb508307a Don't duplicate the primary group. The first member of the groups list
no longer serves as effective group id.
1995-06-01 22:51:17 +00:00
ragge 1f67145235 Converted K&R -> ansi. 1995-06-01 01:11:41 +00:00
phil f722fd7346 Update to -DDYNAMIC as I thought I had a long time ago. 1995-05-29 06:18:12 +00:00
mycroft ee7138ecea Fix up the last argv pointer correctly when terminating early. 1995-05-25 03:03:42 +00:00
mycroft 800709ce22 Use inet_aton(), not inet_addr(). 1995-05-21 15:50:45 +00:00
mycroft ac582e04f5 Fix one more reallocing bug. 1995-05-18 13:59:25 +00:00
mycroft 70258d9a3a Fix up another pointer if we realloc the argument list. 1995-05-18 12:21:54 +00:00
cgd e9678161e2 from PR 952, by Thor Lancelot Simon: don't turn off echo when
inputting an S/KEY one-time password.
1995-05-17 20:24:39 +00:00
mycroft be21323869 Modify getpwent() to use __ypparse(). 1995-05-17 17:36:43 +00:00
mycroft 6ee8835631 Keep argv[0] in a register. 1995-05-17 15:55:26 +00:00
mycroft 3ad209c804 Calculate environ directly from argc and argv, rather than searcing down
the argument list.
1995-05-16 16:25:04 +00:00
mycroft 470f22b967 Update copyright. 1995-05-16 14:26:15 +00:00
mycroft 5eb65c6b09 Use the new ps_strings format. 1995-05-16 14:23:06 +00:00
mycroft 6506fa2b16 Use the new ps_strings format. Find the arguments using their
addresses in the argv array, rather than guessing based on the location
of NULs.
1995-05-16 14:21:08 +00:00
jtc 7ca5cd45b0 strtok replaces the separator character, not the token, with a NUL.
(Fix from PR #891.)
1995-05-13 07:41:35 +00:00
jtc 3ba2c075cf #include appropriate header files to bring prototypes into scope 1995-05-13 06:58:18 +00:00
jtc c1c8f42080 Changed core routines to call __ieee754_sqrt() instead of sqrt(). I
reported this enhancement to fdlibm-comments, and got the following
reply:

Date: Thu, 11 May 1995 14:35:25 -0700
From: Kwok.Ng@Eng.Sun.COM (KC Ng)
To: fdlibm-comments@sunpro.Eng.Sun.COM, jtc@cygnus.com
Subject: Re: fdlibm 5.2: why do core functions use sqrt?

> I noticed that core (e_*.c) fdlibm functions like __ieee754_acos()
> ensure that they call sqrt() with arguments in range (x > 0), when
> they could call __ieee754_sqrt() directly.
>
> Since sqrt() does a lot more work (verifies x is in range, etc.) is
> there any reason for this?  I'd think that calling __iee754_sqrt()
> would be more appropriate.  ....

You are right. __ieee754_sqrt should be in use with e_*.c.
1995-05-12 04:57:13 +00:00
jtc 9ae90685f2 Winning Strategies has placed this code in the public domain. 1995-05-11 23:03:44 +00:00
jtc d042a3eb20 Id -> NetBSD 1995-05-10 20:44:22 +00:00
jtc 5abf82e236 Id -> NetBSD 1995-05-08 23:55:16 +00:00
jtc 0898887210 Id -> NetBSD 1995-05-08 23:44:37 +00:00
jtc 750e07c91c i387 float version of atan2() 1995-05-08 23:35:10 +00:00
mycroft 5c75c8b7ad Use global definitions of i386_[gs]et_ldt_args. 1995-05-06 19:21:37 +00:00
mellon 139d140728 Ensure that __progname is in .data, not in .sdata 1995-05-03 22:13:15 +00:00
jtc 11fa45b258 Add i387 "float" functions to the makefile 1995-05-03 20:42:23 +00:00
jtc 684161edae Added i387 remainderf and sqrtf 1995-05-03 14:47:35 +00:00
mycroft aff3578b36 Explicitly unblock SIGALRM while waiting. 1995-05-03 12:52:43 +00:00
briggs b1f67e2969 m68k sig{set,long}jmp from Henric Jungheim (uhenric@mcl.ucsb.edu) as
followup to GNATS report port-amiga/1009.
Passes regression tests.
I added a NetBSD string and changed jbra to jra.
1995-05-03 03:43:05 +00:00
phil e4748bf0ca typo: fld_... -> flt_... 1995-05-03 03:25:11 +00:00
jtc 437b1a3f15 Enable C and Pig Latin message catalogs. 1995-05-02 19:57:15 +00:00
jtc 0e315a5455 C and Pig Latin message catalogs for libc 1995-05-02 19:56:27 +00:00
jtc 615fb07b15 The C Standard says that printf's format string is a multi-byte
character string.  NA1 says that the 99 characters required by the
Standard have representations in the initial state which are one byte
long and do not alter the state.

Thus we can safely break apart the format string with mbtowc() until
we reach a '%' character, and the process format directive characters
one by one.

We really shouldn't be using mbtowc(), rather mbrtowc() (which takes a
mbstate-t argument) but we don't have the NA1 functions implemented
yet.  This is safe, because even when we do we're not likely to
support multi-byte character encodings that use shift states.
1995-05-02 19:52:41 +00:00
mycroft 66f0c16f14 Use POSIX tty semantics. 1995-05-02 01:40:14 +00:00
christos 42c2892cc9 Fixed the key mapping code and reverted Charles' changes. 1995-04-29 20:44:00 +00:00
cgd 64fe160dd5 include string.h and/or stdlib.h as appropriate, if NetBSD. 1995-04-29 05:42:23 +00:00
cgd 2583d406f9 change some of the rpc "on-the-wire" structures' fields to be explicitly-sized
types.  add xdr_{,u_}int{16,32}_t() functions to convert them.
This is necessary, because things like BPF use the RPC headers to look
at the on-the-wire data, so the headers must accurately represent
what's on the wire, too.
1995-04-29 05:26:31 +00:00
cgd d2e405e546 functions to set FP exception masks & sticky exceptions. they abort, for now. 1995-04-29 05:10:55 +00:00
cgd 3e14f3894b get & set FP rounding direction. these actually seem to work. 1995-04-29 05:09:53 +00:00
cgd 234eecadfb add entries for the float rounding and exception functions 1995-04-29 05:09:14 +00:00
jtc 528957a005 Winning Strategies has placed this code into the Public Domain 1995-04-28 23:19:22 +00:00
jtc 7b4ed4f858 Winning Strategies has placed this code into the Public Domain 1995-04-28 22:59:46 +00:00
jtc 390695fb9c $Id: $ -> $NetBSD: $ 1995-04-28 22:57:54 +00:00
jtc 954b796156 Winning Strategies has placed this code into the Public Domain 1995-04-28 22:53:59 +00:00
jtc 5c7208348c Winning Strategies has placed this code into the Public Domain 1995-04-28 22:43:31 +00:00
jtc a6fa20ea30 Added __flt_rounds, fp{get,set}round. 1995-04-28 21:57:00 +00:00
jtc 5e5fe216ab removed log2 from manpage, libm doesn't provide that function. 1995-04-27 18:21:43 +00:00
mycroft c1a3077d03 Remove dead code that can't possibly work. 1995-04-27 04:49:26 +00:00
mycroft 4d13217262 Trivial code ordering change. 1995-04-27 03:59:38 +00:00
christos c6284ba067 The typo police "dase" != "case" 1995-04-25 21:41:48 +00:00
christos 348d202923 Fix typo... 1995-04-25 21:22:17 +00:00
ragge 5993e44288 kvm_vax.c added. 1995-04-25 15:41:11 +00:00
ragge ae8e3c9f1a Changed abs.S to abs.c for vax. 1995-04-25 15:36:39 +00:00
jtc 02788519a9 termios code has been moved to new libc/termios directory. 1995-04-25 00:06:17 +00:00
jtc 5f11a56ca9 Initial checkin of termios directory. The code used to be in
gen/termios.c, but has been split out so that NetBSD users don't trip
over the extensions that intrude into the POSIX namespace.
1995-04-25 00:04:21 +00:00
jtc 798d2ef128 Handle new termios subdirectory. 1995-04-25 00:00:58 +00:00
jtc 6d97ed4663 Use a switch instead of three if statements in xdr_long() and xdr_u_long(),
gcc generates slightly better code on all of the architectures I checked.
Also changed xdr_wrapstring to return the return value of xdr_string
directly.
1995-04-24 23:33:39 +00:00
cgd b523e3778b cast last argument of catgets() to (char *) to quiet compiler's complaints
about loss of 'const'-ness.
1995-04-24 16:37:31 +00:00
cgd 99a919e044 fix typo(?): rpc__errlist usage shouldn't have had two underscores.
Also, cast return types to (char *) to quiet compiler's complaints about
loss of 'const'-ness.
1995-04-24 16:34:39 +00:00
pk a3fa60161e Preserve the equality "x == y*(x/y)+(x%y)" for negative y; from Lon Willett. 1995-04-22 09:33:49 +00:00
jtc 61207f1472 Changed auth_errmsg() and clnt_sperrno() to access error messages
directly instead of by linear search.
1995-04-21 21:59:52 +00:00
jtc 9f3b5edc71 Don't pass a third argument (LASTUNSIGNED) to xdrproc_t functions ---
they only take two arguments.  Presumably this was done to prevent
problems when users passed xdr_string instead of xdr_wrapstring.
Function prototypes are a better way to fix this "problem".
1995-04-21 21:49:29 +00:00
jtc 5c433aa57e char * -> const char * 1995-04-19 23:31:15 +00:00
ragge 460abf6176 kvm machine specific code for VAX. 1995-04-17 12:44:34 +00:00
ragge db0c9cd300 Removed VAX specific definitions. 1995-04-17 12:28:29 +00:00
ragge ce0bb6e8d2 Added libc VAX specific files. 1995-04-17 12:23:33 +00:00
jtc 29f53fb76f Removed comment that explained that this code is not portable. A better
comment is already present near the top of the file.
1995-04-14 20:34:41 +00:00
jtc adc4ab0186 Don't pass a third argument (LASTUNSIGNED) to xdrproc_t functions ---
they only take two arguments.  Presumably this was done to prevent
problems when users passed xdr_string instead of xdr_wrapstring.
Function prototypes are a better way to fix this "problem".
1995-04-14 20:30:16 +00:00
jtc 3c565bbea8 Changed bzero to memset.
Changed bcmp to memcmp.
Added #include <string.h> to bring prototypes into scope.
1995-04-14 19:48:20 +00:00
jtc 4af41fe4b3 bcopy -> memcpy 1995-04-14 19:25:13 +00:00
jtc df8b005f6e First cut at adding float versions of math functions to the manpages. 1995-04-14 18:39:53 +00:00
pk 3c8e6db690 Disable "dead kernel" stuff until we have something new. 1995-04-13 19:32:40 +00:00
jtc d4afa3b7f5 Use ${DESTDIR} when installing libc.tags 1995-04-12 00:56:12 +00:00
jtc 53bd3d0603 Added __flt_rounds, fp{get,set}{mask,round,sticky}. 1995-04-11 18:13:49 +00:00
jtc 01194e13e9 Bump minor version for __flt_rounds() and fp{get,set}{round,mask,sticky}.
These functions are only available for the i386, m68k, and the sparc but
we can't wait for the other architectures (because FLT_ROUNDS, which
expands to __flt_rounds(), is likely being used in someones code).
1995-04-11 14:28:16 +00:00
cgd 76a6b7c3b3 fix operator precedence error (pr 951 from Ted Lemon) 1995-04-11 02:57:52 +00:00
jtc a0c1305064 Added __flt_rounds, fp{get,set}{mask,round,sticky}. 1995-04-10 21:09:06 +00:00
mycroft ae34e2ea6e Put jtc's notice back, since these are now roughly identical. 1995-04-09 23:32:53 +00:00
mycroft ac11de32c1 Actually, bitfields are faster on the '040; optimize for it, but adjust the
fields so that the mask and sticky bits are the same.
1995-04-09 23:28:38 +00:00
mycroft 99a6cfe734 Rewrite these to use the accrued exception byte for sticky flags, and to
avoid expensive bitfield instructions.
1995-04-09 22:49:26 +00:00
mycroft 10cfe03e6d Stylistic change to match fpsetsticky(). 1995-04-09 21:55:50 +00:00
mycroft 65a1322cd9 Reverse sense of exception bits. 1995-04-09 21:55:20 +00:00
mycroft 42d9c8af6c Oops; need to use fnstenv/fldenv for this. 1995-04-09 21:00:57 +00:00
mycroft a94ab51d20 Fix typo. 1995-04-09 20:44:02 +00:00
mycroft 10b402aa60 Add fpset{mask,round,sticky}(). 1995-04-09 20:33:13 +00:00
mycroft ddbc579aa7 Another optimization. 1995-04-09 19:31:33 +00:00
mycroft 14e246dc4a Optimize. 1995-04-09 19:18:49 +00:00
jtc 907e54c9e9 ENTRY(fpgetmask) -> ENTRY(fpgetsticky) 1995-04-09 19:14:28 +00:00
jtc 1b41528de0 removed commented-out #include <machine/asm.h> 1995-04-09 19:13:26 +00:00
jtc 80bba6a1e1 Added flt_rounds, fpget{round,mask,sticky}. 1995-04-07 14:57:16 +00:00
jtc 30c05ea2b8 Added __flt_rounds(), fp{get,set}{round,mask,sticky}(). 1995-04-07 00:41:43 +00:00
chopps b331e63615 should work without specialization now. 1995-04-02 20:45:26 +00:00
jtc a5c856b8c8 KERNEL -> _KERNEL 1995-03-28 17:29:16 +00:00
jtc ae0b9c2010 KERNEL -> _KERNEL 1995-03-28 17:18:59 +00:00
jtc 2ef4abe78f change second arg of fgets() from size_t to int 1995-03-25 02:50:04 +00:00
jtc d6c3ebedb4 Fix overlooked FIXME: unsigned int -> u_int32_t. 1995-03-25 01:48:53 +00:00
jtc f86410093b Changed name of __weak_reference() to __indr_reference(). They really
are indirect references, and I want to add a real __weak_reference()
macro to <machine/cdefs.h> soon.
1995-03-23 19:58:48 +00:00
jtc 7870f9f542 removed unnecessary #include <stddef.h> 1995-03-23 19:51:13 +00:00
jtc 92702b3bed removed unnecessary #include <stddef.h> 1995-03-23 19:42:42 +00:00
jtc 4255068068 Removed const qualifier from ftell's FILE * argument. It's not ANSI,
and the recent change to flush output causes it to be changed.
1995-03-22 18:17:24 +00:00
jtc 39469721f8 update minor number for new quad_t versions of abs and div 1995-03-22 00:58:07 +00:00
jtc 3b29974599 Added "long long" support %ll{d,x,o,i}. 1995-03-22 00:56:55 +00:00
jtc 7681b92c66 Enable qabs(), a quad_t version of abs() and labs(). 1995-03-22 00:36:52 +00:00
jtc 918d73c578 LDIV -> QDIV 1995-03-21 23:46:00 +00:00
jtc bec46bcced add cross references to qdiv(3) 1995-03-21 23:22:17 +00:00
jtc bfd7fc20d9 New function qdiv. Like div and ldiv, but works with quad_t's. 1995-03-21 23:12:35 +00:00
jtc 5091f60d44 ldiv takes long arguments 1995-03-21 22:54:50 +00:00
jtc d1a49b5d27 #include <machine/endian.h>. 1995-03-21 20:54:05 +00:00
mycroft 62648a14f0 Clone from sleep(), with the logic for returning a value removed. 1995-03-21 13:50:32 +00:00
mycroft d53dfd3d3c Minor changes. 1995-03-21 13:44:40 +00:00
mycroft f75ba16b09 Update to use timer{add,sub}(). 1995-03-21 13:33:34 +00:00
mycroft 79b7b78087 Clarify a comment slightly. 1995-03-20 14:47:39 +00:00
mycroft ce36f636ab Separate machine dependencies. 1995-03-20 14:45:27 +00:00
mycroft 3b5d18b58e SYS_brk -> SYS_break, and other (minor) changes. 1995-03-20 14:02:03 +00:00
jtc 3924aee202 Added comment explaining why we are using a different algorithm than
what was adopted in tzcode95c to solve the problem of the first char
detzcode() extracts requiring sign extention (this is needed for
machines with 64 bit longs).

Our implementation is a bit more efficent, but requires a new macro,
SIGN_EXTEND_CHAR(), and a conditional to set it appropriately).

One minor enhancement for machines without ANSI compilers that have 32
bit longs would be to define SIGN_EXTEND_CHAR() to be the identity
macro.
1995-03-16 19:14:16 +00:00
pk a63744d63c Speed up getgrnam() and getgrpid() by using yp_match(). 1995-03-16 11:48:01 +00:00
jtc 990d7c70e0 Added some #defines for NetBSD's defaults. 1995-03-14 18:49:49 +00:00
jtc 13a588d992 Bump minor number. The new time code has added a few more functions to
its API.
1995-03-13 05:27:51 +00:00
jtc 37c28a9b5b .include ${.CURDIR}/time/Makefile.inc 1995-03-13 05:26:07 +00:00
mycroft 1eece09a70 Make libpcap. 1995-03-12 20:49:52 +00:00
pk 7aa7897748 Simplify. 1995-03-11 20:28:59 +00:00
jtc be80b6891a Removed "new" from references to newctime(3).
Removed -lz from SYNOPSIS.
1995-03-10 18:21:24 +00:00
jtc c12abbe244 Added NetBSD Id. 1995-03-10 18:12:38 +00:00
jtc 0cd8c3623b Added NetBSD Id.
Removed "new" from newctime(3) references.
1995-03-10 18:09:54 +00:00
jtc 3a34b570e9 Strictly speaking, these files probably don't belong in the libc sources.
On the other hand, it makes it easier to track the master tzcode sources
if we try to keep the distribution together as much as possible.

The zic and zdump commands will access the files the need with make's
.PATH facility.
1995-03-10 07:08:14 +00:00
jtc 016bb710d9 ctime.3 and tzset.3 manpages have been moved to libc/time. 1995-03-10 06:29:15 +00:00
jtc 20d50456cc Removed references to ctime.3 and tzset.3 manpages and associated manpage
links (they have been moved to libc/time).
1995-03-10 06:15:10 +00:00
jtc 27c1463773 Added some manpages and manpage links (moved from libc/gen). 1995-03-10 06:05:38 +00:00
jtc 09bcdc8226 A slightly modified version of Chris' patch so that detzcode will sign
extend properly on machines with 64 bit longs.
This patch has been submitted to the tz mailing list.
1995-03-10 05:57:35 +00:00
jtc 3d319539ac Change long to time_t as appropriate.
Add const qualifier to function argument descriptions as appropriate.
1995-03-10 00:09:36 +00:00
jtc 633548e60b Get rid of NEW (as in NEWCTIME and NEWTZSET). 1995-03-10 00:05:54 +00:00
jtc 981bebbf27 Add NetBSD ID's 1995-03-09 23:50:15 +00:00
jtc 93ae1c3e13 tzset.3, renamed from newtzset.3, from TZCODE95B. 1995-03-09 23:48:00 +00:00
jtc 214492959c ctime.3 from TZCODE95B, renamed from newctime.3. 1995-03-09 23:46:58 +00:00
jtc ac90835477 Add NetBSD Id's. 1995-03-09 23:41:11 +00:00
jtc 65c381f59e Fix typo. 1995-03-09 23:35:13 +00:00
jtc 57274dc48e date and time functions have been moved 1995-03-09 23:31:07 +00:00
jtc ea8e219f0c Makefile for new time stuff 1995-03-09 23:26:43 +00:00
jtc 347a7d733b Changed to use NetBSD's defaults 1995-03-09 23:25:36 +00:00
jtc 1fac1c1776 New time and date code from ADO 1995-03-09 23:21:48 +00:00
mycroft b0446b3200 Port to NetBSD, and add NetBSD RCS tags. 1995-03-06 11:37:58 +00:00
mycroft 84c86af405 Import LBL libpcap, version 0.0 patch level 3. 1995-03-06 11:32:59 +00:00
jtc 3baa1f1967 Changed the multibyte character functions so they work with the native
single byte character set.
1995-03-05 07:41:15 +00:00
jtc ae6284d5ba Removed -o from and added /dev/null to egrep command line. It does the
exactly the same thing, but doesn't need 4.4's or our hacked version of
GNU grep.
1995-03-05 07:12:54 +00:00
jtc 38937f73d0 flush so that the offset will be correct on streams opened in
append mode (from chris torek).
1995-03-05 06:56:09 +00:00
cgd ee38224d2e fix up some RCS Id's i botched. 1995-03-04 01:55:49 +00:00
jtc fd8d17a56d First pass at documenting "float" versions of these functions. 1995-03-04 01:36:29 +00:00
chopps 09072f5bd9 include proper links to ethers.3 1995-03-02 09:09:07 +00:00
jtc 3f10e2da9c catclose returns int 1995-03-01 08:00:12 +00:00
mycroft 4c34be6b52 Clean up deleted files. 1995-03-01 00:00:00 +00:00
jtc 7cd5ae5858 remove unneeded "#include <stddef.h>" 1995-02-28 01:46:24 +00:00
jtc 88ba3f858c Changed <sys/signal.h> to <signal.h> 1995-02-28 01:13:50 +00:00
cgd d48964d413 clean up Ids; no substantive changes. 1995-02-27 17:29:31 +00:00
cgd edfa833652 from Lite 1995-02-27 17:00:21 +00:00
cgd 1e1bba23c7 make lint/SCCS Id if more standard. 1995-02-27 15:47:03 +00:00
cgd 2c84ad3a41 add unintrusive Ids 1995-02-27 13:22:58 +00:00
cgd 2493ac526d fix typo, and the fact that i was using a large xterm 1995-02-27 13:22:55 +00:00
cgd 402f19d1dd add unintrusive Ids 1995-02-27 13:21:44 +00:00
cgd 110ae2f203 resurrect man page, only to note deprecation; belongs elsewhere (where?) 1995-02-27 13:21:35 +00:00
cgd a954b0787c add unintrusive Ids 1995-02-27 13:19:23 +00:00
cgd 7ce7ea9415 fix Ids 1995-02-27 13:06:20 +00:00
cgd 1c44409a29 clean up Id 1995-02-27 13:02:12 +00:00
cgd 693e99f736 clean up Ids 1995-02-27 12:54:33 +00:00
cgd 4eab61bd40 merge with lite, keeping most local changes. clean up Ids 1995-02-27 12:31:34 +00:00
cgd c67e54a2e2 clean up merge, fix Id's 1995-02-27 11:22:54 +00:00
cgd aeb457b1a7 from Lite 1995-02-27 10:49:50 +00:00
cgd 5b9633ddd7 fix RCS Id. fix definition of fsid_t. 1995-02-27 10:43:23 +00:00
cgd be21d1de72 clean up RCS Id's 1995-02-27 10:41:36 +00:00
cgd 41f1c39f00 clean up import, roll forward local fixes, clean up Ids 1995-02-27 10:18:34 +00:00
cgd 1d23521104 from 4.4-Lite 1995-02-27 09:50:34 +00:00
chopps 204556053e indicate const'ness of args. 1995-02-27 09:45:26 +00:00
cgd c18290a117 delete wordexp reference 1995-02-27 06:25:38 +00:00
cgd fecf194677 oops; we do need errno.h 1995-02-27 06:21:23 +00:00
cgd 9060ff0dc7 merge with 4.4-Lite, keeping local changes. clean up Ids 1995-02-27 05:50:11 +00:00
cgd f9f97c4fab merge with Lite, keeping local changes. Fix up Id format, etc. 1995-02-27 04:34:47 +00:00
cgd 5a21812615 oops; since i kept the writev() trick, still need uio.h 1995-02-27 04:34:44 +00:00
cgd d7ab506f38 merge with Lite, keeping local changes. Fix up Id format, etc. 1995-02-27 04:34:25 +00:00
cgd b585e843ca update from Lite, with local changes. fix Ids, etc. 1995-02-27 04:12:15 +00:00
cgd 72c46b1cdc merge with Lite, keeping local changes. Also use new Id format. 1995-02-27 03:42:42 +00:00
cgd 4879d5dc50 don't forget to take address before deref'ing thru. from fvdl. 1995-02-27 01:03:47 +00:00
cgd 516f67f7c9 re-order things the way they'd like to be ordered 1995-02-25 17:19:26 +00:00
cgd 714c54bd02 fix prototype that i botched. 1995-02-25 17:18:31 +00:00
cgd db638fe19d typo 1995-02-25 17:17:33 +00:00
cgd c2ee3d850f mention the functions that need to be provided, instead of providing dflts. 1995-02-25 17:10:57 +00:00
cgd 4145a97c7f oops; biffed path 1995-02-25 17:08:29 +00:00
cgd 3d5508dc07 mktemp.c belongs here, not gen/Makefile.inc 1995-02-25 17:06:28 +00:00
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 6534b326c3 use new id style. 1995-02-25 09:02: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
mycroft aef3817e0d Clean up deleted files. 1995-02-19 12:19:09 +00:00
cgd 4902ac3dcf use the (broken) crypt.c from the 4.4BSD-Lite Foreign distribution, that
can encrypt passwords but _cannot_ decrypt anything.  "real" (i.e. two-way,
unbroken) crypt() now lives in /usr/src/domestic.
1995-02-19 12:18:56 +00:00
jtc ea66efc784 Enable mc68881 versions of remainder() and scalb(). 1995-02-18 01:46:41 +00:00
jtc 8961dd234b Special case 0, as was done in s_scalbn.S.
I'm only doing this for consistancy --- someone really needs to measure
whether this optimization is justified.
1995-02-18 01:39:51 +00:00
jtc 324e516335 68881-assisted versions of these functions. 1995-02-18 01:24:42 +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 9fac9bc0af initial alpha support. no profiling support. 1995-02-10 17:53:00 +00:00
cgd 5eecfd8983 stubs. 1995-02-10 17:51:56 +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