Commit Graph

1650 Commits

Author SHA1 Message Date
jtc 0d6ff3aeed Increased the size of char buffer used by perror(); the error strings may
be much longer in some locales.
1994-09-03 05:20:00 +00:00
jtc 6d3bf399eb __strerror() and __strsignal() have been broken out into their own files
and use message catalogs if NLS is defined.
Increased the size of char buffers used by strerror() and strsignal();
the error and signal strings may be much longer in some locales.
1994-09-03 05:07:49 +00:00
jtc 5281a6457b Document the fact that NLS (message catalog) support is enabled by adding
-DNLS to CFLAGS.
1994-09-03 04:53:16 +00:00
deraadt 215b5c5487 improper handling of recvfrom error return value 1994-08-30 23:59:43 +00:00
mycroft 0e2293a33e Update to match include files. 1994-08-30 17:39:11 +00:00
cgd b7cc0db103 fix for pr 420, from Christos. 1994-08-30 15:16:44 +00:00
mycroft 9116e142b9 Clean up deleted files. 1994-08-29 04:47:33 +00:00
mycroft 4bdad03539 Fix broken import of Lite directory code. 1994-08-29 04:47:31 +00:00
mycroft a295767a9e Correct first arg in synopsis. 1994-08-29 03:27:36 +00:00
mycroft 21a91228b1 Only extract lx if we need it. 1994-08-26 13:37:40 +00:00
mycroft 67fc54c45a Update based on the 4.4-Lite version. 1994-08-26 12:55:25 +00:00
jtc 9f19de9cde Remove lie (in a comment) about conversion between 80 bit ot 64 bit reals,
since we set up the fpu to do all calculations in 64 bit mode at this time.
1994-08-26 00:20:34 +00:00
deraadt 964007b231 fix my dumb bug 1994-08-23 18:42:10 +00:00
deraadt da072ba3a5 rpc library no longer uses _rpc_dtablesize() internally -- keeps track
of highest active file descriptor. limit fd usage to FD_SETSIZE, until
a better solution is found. remove non-FD_SETSIZE code.
1994-08-20 00:55:26 +00:00
cgd bcf72fa869 frexp.? is machine-dependent, as suggested by phil. 1994-08-19 20:57:43 +00:00
jtc 4b2017adfe Assembly language versions of some of the "float" functions. 1994-08-19 03:56:44 +00:00
jtc 1af6796a8d The fyl2xp1 instruction has a limited range:
-(1 - (sqrt(2) / 2)) <= x <= sqrt(2) - 1
so we can't use it.

Also, I'm not sure fyl2xp1's extra precision will
matter once the result is converted from extended
real (80 bits) back to double real (64 bits).
1994-08-19 03:55:57 +00:00
jtc fad867417f Bump minor number to account for additions of "float" versions of
the math functions.
1994-08-19 00:44:35 +00:00
jtc b0c9d09246 Change int -> int32_t and unsigned int -> u_int32_t to improve portabilty
to machines where int != 32 bits.
1994-08-18 23:04:51 +00:00
jtc c120d36cd8 Major Bogon: change %ebp to %esp, as I don't set up a stack frame. 1994-08-18 20:42:35 +00:00
mycroft 465a1c6bc1 Kill some totally minor ugliness that crept in. 1994-08-18 00:45:07 +00:00
cgd a6d14e368c clean up import 1994-08-18 00:38:04 +00:00
mycroft af5acb8048 Clean up deleted files. 1994-08-17 21:53:35 +00:00
cgd d29088dab1 clean up import 1994-08-17 21:51:41 +00:00
cgd 0c2185c64c new libcurses, from new nvi 1994-08-17 21:14:02 +00:00
mycroft b2ea31e355 Update to match current pmap. 1994-08-15 15:57:36 +00:00
andrew 8eabc08051 Limit the upper bound of the value returned by _rpc_dtablesize() to not
break select(2) calls.
1994-08-15 07:56:50 +00:00
mycroft 6da312060e Fix return value from endwin(). 1994-08-14 14:27:37 +00:00
mycroft 6e04a46b3a Don't return garbage if there are no argument and/or environment strings. 1994-08-13 10:15:02 +00:00
mycroft f8ee12b11b Use writev(2) when reporting errors. 1994-08-13 09:41:50 +00:00
pk 9a16044f94 Allow a `#' to appear on line by itself (without spitting out errors). 1994-08-13 09:03:21 +00:00
jtc 1623a70fdf Updated to reflect the fact that these functions now detect errors
and that only sigemptyset() and sigfillset() have macro implementations.
1994-08-12 05:01:23 +00:00
mycroft 7fa12b9866 Clean up deleted files. 1994-08-10 20:35:54 +00:00
jtc 8346e333d0 Float versions of math functions. From Ian Taylor (ian@cygnus.com), with
minor changes by me.
1994-08-10 20:30:00 +00:00
jtc b3a04d8a54 Fix definition of xdr_u_char() (PR #364) 1994-08-09 00:50:30 +00:00
jtc fac4c46f81 Post 1.0 cleanup:
* Include appropriate header files to bring prototypes into scope.
 * bcopy -> memcpy
 * bzero -> memset
 * bcmp  -> memcmp
 * Tweak yp xdr routines so compiler can do a better job --- saves
   at least 5 instructions per function call on the i386.
1994-08-06 23:07:47 +00:00
jtc 1d1682d63c vmunix -> netbsd (PR #375) 1994-08-06 06:11:03 +00:00
jtc 49493ab741 Fix typo, wdelch() only takes on arg (PR 392) 1994-08-06 05:24:40 +00:00
mycroft af176ad58f Revert this. 1994-08-05 22:35:20 +00:00
chopps 628cf4e2c8 fixed ld.so to properly save all regs when binding PIC functions. We no
longer need the special case (PIC) code to push args when calling cerror.
1994-08-04 05:02:31 +00:00
chopps 03dbf74333 inline call to sigreturn original idea from jason downs <downsj@CSOS.ORST.EDU>
we want this to be done for everything including non-PIC code as longjmp()
does non-standard things with regs and wouldn't like it if the user replaced
the sigreturn() stub.
1994-08-04 05:00:50 +00:00
deraadt 8b4fd14bfb be lenient; let a few other forms of + activate YP 1994-08-02 05:15:25 +00:00
jtc a0752b653c Minor touch ups to match strsignal(3) man page 1994-08-02 05:02:13 +00:00
jtc 18ba4287c5 Add strsignal() function like on Solaris.
We might want to be able to retrieve a locale-specific signal description
(from a message catalog) and we need a function call API for that feature.
1994-08-02 05:01:20 +00:00
phil ffdfc8a9b1 patch from Matthias Pfaller. 1994-08-01 19:37:14 +00:00
mycroft f3a089395b Kill historical cruft. 1994-07-31 19:57:46 +00:00
mycroft f2098184d9 Fix for MAP_FILE changes. 1994-07-31 08:49:56 +00:00
deraadt 02fe919c29 avoid core dump 1994-07-29 18:54:17 +00:00
gwr d416f9adc8 Add sun3 support (only "live" kernels for now). 1994-07-28 21:46:34 +00:00
jtc 699331c73f Add RCS Id's 1994-07-27 14:39:44 +00:00
jtc b0cd982f44 Return NULL and set errno to ENOTDIR if opening a non-directory (POSIX.1,
Section 5.1.2.4).  Rename _seekdir to __seekdir, as former is in the
user's namespace.
1994-07-27 14:37:39 +00:00
jtc ad1d3832de Sync with 4.4 lite 1994-07-27 05:37:08 +00:00
jtc 409e85d379 opendir() & friends from 4.4lite. 1994-07-27 05:26:23 +00:00
jtc e954ff817b opendir() & friends from 4.4lite. 1994-07-27 05:26:13 +00:00
pk 63027d510b `LDSO' is for debugging only. 1994-07-26 19:53:46 +00:00
jtc 2bdfe1ce0c Updgraded to March 3, 1994 version of dtoa.c from netlib with our local
changes.
1994-07-22 05:08:04 +00:00
jtc c7527f8b84 Converted to use link-time warning messages. 1994-07-21 17:13:35 +00:00
mycroft 3d78977935 pipe(2) is no longer implemented using socketpair(2). 1994-07-17 05:14:55 +00:00
jtc bd275e8fe1 Added a nl_langinfo(3) man page. 1994-07-16 05:12:26 +00:00
mycroft a0c1518680 Do something more intelligent when compiling into ${DESTDIR}. Also fix bogus
definition of AINC.
1994-07-06 04:08:28 +00:00
mycroft 1454a5a41f We're supposed to include ${CPPFLAGS} when compiling .c files. 1994-07-06 04:07:53 +00:00
mycroft 5156a7b075 Do something more intelligent when compiling into ${DESTDIR}. 1994-07-06 04:06:27 +00:00
cgd 5058c29029 kill strange inclusion, just do lint and obj targets by hand 1994-07-02 22:32:15 +00:00
cgd c9848e344c install the right things 1994-07-01 06:14:02 +00:00
deraadt b5aa4fdd78 set KMSRCS & friends 1994-06-30 06:46:37 +00:00
deraadt 9f49515fa0 libkern files are in arch/ now 1994-06-30 06:44:54 +00:00
cgd 138fcd8327 deal with new share/doc strategy 1994-06-30 05:33:30 +00:00
jtc b03f43b105 install getnetgrent() manpage 1994-06-28 04:34:24 +00:00
jtc c9f8f01b96 Moved RCS ID into static variable rcsid 1994-06-26 16:27:34 +00:00
jtc 288ce51d32 Ftok() routine, needed by most programs that use SysV IPC. 1994-06-26 16:24:55 +00:00
jtc 619eb60761 Avoid core dump when using NULL message string. 1994-06-26 16:13:06 +00:00
cgd 5b029eb9a8 update for new doc-make/install strategy 1994-06-25 05:57:47 +00:00
cgd 23aca3d339 rcs id's 1994-06-22 00:17:04 +00:00
cgd 7f79e48c1a add Boyer-Moore string search routines, from Bostic. man page
needs to be fixed for mandoc, and RCSID's need to be added.
1994-06-22 00:15:22 +00:00
cgd 00c343f97a Changes by Thorsten Lockert and myself (though my role was only minor)
to document msync's error returns.
1994-06-21 04:49:04 +00:00
cgd 450db3f901 clean up import, rcsid 1994-06-21 04:24:53 +00:00
jtc bafe42ae48 Add nl_langinfo(), a SysV-X/Open function that provides access to some
of the locale info.

Some of the POSIX.2 utilities require this information, and I thought it
was better to use an existing interface rather than rolling my own.
1994-06-21 04:14:00 +00:00
mycroft 3a7aa4b533 Add merge.c and mergesort.3. 1994-06-16 05:27:17 +00:00
mycroft 2f86deea8e Add RCS ids. 1994-06-16 05:26:34 +00:00
mycroft 2c1d50080b Import from 4.4-Lite. 1994-06-16 05:21:06 +00:00
cgd c39e8472fc fix missing trailing newline 1994-06-14 05:25:36 +00:00
mycroft 93f0b31706 Clean up deleted files. 1994-06-14 03:56:04 +00:00
jtc 8c740dbc32 Convert getdtablesize() from syscall to function 1994-06-14 03:54:48 +00:00
cgd 2ddc7beddd amq.x is gone now 1994-06-14 02:45:56 +00:00
mycroft 7e5ecdecea Clean up deleted files. 1994-06-13 19:55:25 +00:00
cgd bce0be4dca these are library routines, not syscalls. per jtc's suggestion. 1994-06-13 18:49:51 +00:00
jtc e12121f0ea Change manpage's struct sigaltstack definition to match the one in
<sys/signal.h>.  Fixes bug 283.
1994-06-13 14:34:24 +00:00
jtc d356abc303 User's should #include <signal.h>, not <sys/signal.h> if they want to
use this function portably.
1994-06-13 14:26:18 +00:00
cgd f25c65f6fb syscall numbers have changed enough to make old version dangerous 1994-06-13 00:30:27 +00:00
cgd 3ffaded87c include changes for new fs code 1994-06-13 00:19:12 +00:00
cgd 809de843f3 oops; forgot man page 1994-06-13 00:13:48 +00:00
mycroft 4849d78f88 Clean up deleted files. 1994-06-12 22:58:06 +00:00
cgd 3943fb37c8 kill async_daemon; it's dead now 1994-06-12 22:58:03 +00:00
cgd 747476fd42 fix up includes for new FS code 1994-06-12 22:52:01 +00:00
cgd 8c483ea902 alphabetize 1994-06-12 22:37:13 +00:00
jtc fe4dd97bd4 Remove unneeded #include <stddef.h> because <string.h> #defines NULL too. 1994-06-11 16:49:13 +00:00
jtc 59ad910d74 Note that confstr() is POSIX.2 compliant. 1994-06-11 16:44:28 +00:00
jtc fbb595cc94 Replace my version of confstr() with 4.4 lite's, which gets its values
with sysctl().
1994-06-11 16:40:46 +00:00
jtc 5e8c28642a from 44lite 1994-06-11 15:28:19 +00:00
phil 535a398e2a _minbrk => minbrk 1994-06-10 22:46:14 +00:00
pk 24c3ce74de Changes in pmap structures. 1994-06-10 14:34:58 +00:00
phil f4bddced4a update mmap call. 1994-06-09 05:50:34 +00:00
pk fc016a129a Fix last bug correctly 1994-06-03 15:02:21 +00:00
phil cfb1bf8cc5 quad -1 return value now done right 1994-06-02 20:39:22 +00:00
pk 1429552f6e Defend against empty names. 1994-06-01 19:54:07 +00:00
pk 816feb25c5 Avoid stomping on static memory by repeatly calling gethostbyname(). 1994-06-01 19:32:43 +00:00
pk 350b02a45f Don't try to lookup an empty hostname; some nameservers return the root servers
for such a query.
1994-06-01 19:23:59 +00:00
deraadt c259dd15ce in a word, whoops 1994-05-31 08:51:15 +00:00
deraadt e16521631c create file with nice mode 1994-05-31 08:50:31 +00:00
chopps 34769dec9b fix incorrect MAN3 line. 1994-05-30 21:34:40 +00:00
jtc 1a5e36018e Added catopen(3) manual page. 1994-05-30 03:40:36 +00:00
jtc 555ef6b0b0 Added catclose(3) and catgets(3) man pages --- still working on catopen(3). 1994-05-30 00:53:56 +00:00
jtc a762bb96d9 XPG3 says that the name argument specifies a complete path for the message
catalog if it contains a '/' (The original code only checked the first char).
1994-05-29 22:14:33 +00:00
jtc 6d847771c5 XPG3 wants .../%L/%N.cat and .../%N/%L in the default NLSPATH. 1994-05-29 22:10:56 +00:00
jtc 5b7e254892 Add message catalog functions. 1994-05-29 22:09:13 +00:00
jtc 6e6a8ec828 Changes needed for NetBSD integration. 1994-05-29 21:24:05 +00:00
jtc 49ce813263 Kee Hinckley's XPG3 compliant message catalog system (extracted from the
elm distribution).
1994-05-29 21:21:59 +00:00
hpeyerl 610896d9a0 (blush). They didn't *ALL* have to be changed. 1994-05-29 00:35:59 +00:00
hpeyerl 1da03a4d37 If we're going to re-activate these guys; we better make sure they
compile.
1994-05-28 23:37:53 +00:00
mycroft 63962a5c5e We have shm again. 1994-05-28 23:16:48 +00:00
jtc 241ecab4d2 Describe POSIX behavior of sleep.
More could be added, especially describing the effects of scheduling and/or
blocking SIGALRM outside of a sleep().  Also, using longjmp() in a signal
handler.  But this will do until someone gets inspired to fill in the
grotty details.
1994-05-28 16:11:27 +00:00
jtc 5ab3d5f30a Changed to be POSIX.1 complian; now sleep can be interrupted, and it returns
the amount of time left "unslept" when it is.
1994-05-28 06:25:04 +00:00
phil 6536072af7 add missing include 1994-05-27 21:56:04 +00:00
deraadt cda7e4788e fix the stupid select bug AGAIN 1994-05-27 18:56:24 +00:00
deraadt 8f00ef1dc7 solve byte order problem 1994-05-26 09:39:08 +00:00
deraadt 1dc628861d fix typo 1994-05-26 00:31:53 +00:00
cgd 9e263d13ee kill typo, pointed out by John Hay <jhay@mikom.csir.co.za> 1994-05-25 20:37:52 +00:00
deraadt 3bf2b62f1f correct copyright 1994-05-25 09:52:05 +00:00
deraadt bfeb532e3d add libskey 1994-05-25 03:24:19 +00:00
mycroft d1584360d9 Clean up deleted files. 1994-05-25 01:49:34 +00:00
jtc 3518e0a880 New localeconv() implementation that constructs it's return value from
the current numeric and current monetary locale data.
1994-05-25 01:49:32 +00:00
jtc 15d0e3dedd Get the day, month, format, etc. strings from the current time locale
structure instead of static data.
1994-05-25 01:20:19 +00:00
jtc 962cf82dd8 Compile the default locale data for LC_NUMERIC, LC_MONETARY, and LC_TIME. 1994-05-25 01:17:14 +00:00
jtc faab9fa25d Fixed major bogon: What happened to Wednesday! 1994-05-25 01:11:45 +00:00
jtc 438e938546 Default Locale Data 1994-05-24 23:40:06 +00:00
deraadt 7433140cea need sys/param.h 1994-05-24 08:17:37 +00:00
glass f518ec51c9 crt0 support for mips..no shared library support 1994-05-24 07:33:47 +00:00
glass ae1bfcddc4 libc support for mips. libkern hooks are disabled 1994-05-24 07:12:09 +00:00
deraadt 8f7e2d213d get rid of some horrible assumptions 1994-05-24 06:25:27 +00:00
mycroft c812277652 Deal with shadow objects correctly. 1994-05-23 22:22:24 +00:00
cgd f0cbe5cc71 ansi type renaming 1994-05-23 01:12:33 +00:00
cgd 1dc033755e clean up import 1994-05-23 00:55:25 +00:00
cgd 26fc33ba8d _VA_LIST_ -> _BSD_VA_LIST_ 1994-05-22 23:14:07 +00:00
jtc 2f567fef23 Only install header files if they are different from the ones that are
allready installed.
1994-05-22 04:20:02 +00:00
chopps 79ae46e57f no more lsearch.3. 1994-05-21 09:17:49 +00:00
deraadt c923f70510 skey, by <tsarna@endicor.com> and me 1994-05-21 05:45:58 +00:00
cgd 395cddf518 make stty and gtty real function stubs (they're now gone from ioctl_compat.h). 1994-05-21 05:20:25 +00:00
phil b1c25077d4 pc532 support in libkvm 1994-05-20 23:31:06 +00:00
mycroft 7006d9d304 Clean up deleted files. 1994-05-20 06:19:50 +00:00
jtc 70b7b8f795 44lite moved cfree() to libcompat 1994-05-20 06:19:47 +00:00
mycroft cf8aad3231 Clean up deleted files. 1994-05-19 06:27:13 +00:00
jtc 44aaa7fd0d cuserid() was moved to libcompat w/4.4 lite. 1994-05-19 06:27:11 +00:00
jtc ac15753796 Remove links to regexp(3) manpage, as they overwrite the links with the
same name to the regex(3) manpage, which is the preferred regular expression
API.
1994-05-19 06:23:50 +00:00
jtc 66a7b96e20 Move our cuserid(3) manpage to libcompat, since the cuserid() function
now lives there.
1994-05-19 06:20:17 +00:00
mycroft 66f3291923 Clean up deleted files. 1994-05-19 06:09:13 +00:00
jtc 69fbb0938f 4.4lite's libcompat provided a lsearch() and lfind() implementation which
has been already integrated into NetBSD, so we don't need/want mine anymore.
1994-05-19 06:09:10 +00:00
jtc 86da5c14f9 The umask effects mknod(2) too. 1994-05-18 14:36:13 +00:00
jtc be373c50a3 Fix required #include files and function prototype. 1994-05-18 14:31:43 +00:00
pk 62b40e28b0 Fix kvm_uvatop(). 1994-05-18 09:31:52 +00:00
cgd 7aa3357e1b udpated rcmd 1994-05-18 06:35:14 +00:00
deraadt 4438ac29e5 sigaltstack 1994-05-17 23:56:24 +00:00
mycroft be4f78724b Add {set,get,end}netgrent(). 1994-05-17 13:32:31 +00:00
mycroft 6bb037ec32 From 4.4-Lite. 1994-05-17 13:30:51 +00:00
mycroft f5392c8ae8 Add realpath(3). 1994-05-17 12:44:06 +00:00
mycroft 1c98b23af1 New from 4.4-Lite. Needed for some 4.4 FS utilities. 1994-05-17 12:42:30 +00:00
cgd 725ed31e82 copyright foo 1994-05-17 04:13:48 +00:00
cgd b55fd24a8e new assert helper 1994-05-17 00:07:23 +00:00
jtc d44d58bfcc Fix typo, from Giles Lean (Fixes bug #248) 1994-05-16 20:15:04 +00:00
chopps 6c2f28403d add support for current m68k based pmaps till they can be "fixed" 1994-05-16 05:31:19 +00:00
mycroft 93ac2f912e Clean up deleted files. 1994-05-14 06:33:26 +00:00
cgd 0c3c9c68ab kill all gprof-related stuff; it's now in libc, and the header is elsewhere 1994-05-14 06:33:22 +00:00
mycroft 91cd8bafa5 Clean up deleted files. 1994-05-14 06:33:20 +00:00
cgd 8cb13545d3 kill all gprof-related stuff; it's now in libc, and the header is elsewhere 1994-05-14 06:33:17 +00:00
mycroft 9177dd175a Clean up deleted files. 1994-05-14 06:33:16 +00:00
cgd bc03451854 kill all gprof-related stuff; it's now in libc, and the header is elsewhere 1994-05-14 06:33:14 +00:00
mycroft 49f9da4a97 Clean up deleted files. 1994-05-14 06:33:11 +00:00
cgd b22a4fbae6 kill all gprof-related stuff; it's now in libc, and the header is elsewhere 1994-05-14 06:33:05 +00:00
cgd 41006bd47b rcsids. also, avoid floating point when picking scale value. doesn't
cost much, only done once.
1994-05-14 06:31:10 +00:00
cgd a3c4771808 add new gmon stuff, rearrange inclusions 1994-05-14 06:25:56 +00:00
cgd da60d30fb3 user-land profiling code. 1994-05-14 06:02:57 +00:00
deraadt 94677efe9e size_t 1994-05-13 22:23:05 +00:00
cgd acdc4b7e70 shm sources won't compile; no more shm.h 1994-05-11 04:45:13 +00:00
chopps a6a8e78548 update to use sigaltstack. 1994-05-10 08:15:57 +00:00
jtc 3cb178ff70 merge in our POSIX.2 changes (again) 1994-05-09 16:28:27 +00:00
cgd a901a9cb96 just punt for now; don't want to deal with this & don't want it to core 1994-05-09 07:01:14 +00:00
mycroft 715255df06 Clean up deleted files. 1994-05-09 04:09:26 +00:00
cgd 54774f9293 m68k-ify the hp300 kvm file; use MACHINE_ARCH to pick files up 1994-05-09 04:09:21 +00:00
cgd b1b6dfafbe the world has changed 1994-05-09 03:18:05 +00:00
cgd 429f62a616 clean up import 1994-05-09 03:17:28 +00:00
cgd 0215cc7d1f new libkvm 1994-05-09 03:15:36 +00:00
cgd e23e45bcfc new nlist routines 1994-05-09 03:14:43 +00:00
cgd 77c263426a oops, forgot to delete 1994-05-08 04:35:22 +00:00
mycroft 0cc9738192 Clean up deleted files. 1994-05-07 04:11:57 +00:00
cgd 8b8a31862e update for present reality. shlib version number bump (last for a bit) 1994-05-07 04:11:08 +00:00
cgd fc7bd30680 new syscalls 1994-05-07 03:27:01 +00:00
cgd 081527a861 hostid functions 1994-05-07 03:24:46 +00:00
cgd 3580a0da69 domainname stuff 1994-05-07 03:09:19 +00:00
cgd eb985c6d35 clean up conflicts 1994-05-07 03:03:09 +00:00
cgd 060d0e3d1a various sysctl-related libc functions 1994-05-07 02:52:59 +00:00
jtc e15ede0fe3 revoke(2) manpage 1994-05-07 00:35:36 +00:00
jtc 4853bb7972 44lite code 1994-05-07 00:26:28 +00:00
cgd cd45651c63 devname() routine 1994-05-06 22:48:31 +00:00
jtc e8ed9b3ab8 merge our changes into 4.4lite 1994-05-06 18:44:23 +00:00
jtc a5284b9db4 merge back in our changes (mostly POSIX.2 pedanticism) 1994-05-06 18:18:33 +00:00
jtc 34ae5e111c sync with 44lite 1994-05-06 18:02:02 +00:00
cgd dd267b8c9d patch up 1994-05-06 06:49:32 +00:00
cgd a34c9134ca oops! 1994-05-06 06:42:21 +00:00
cgd 74c187c292 update 1994-05-06 06:25:33 +00:00
cgd e3a4ae7264 Initial revision 1994-05-06 06:25:32 +00:00
cgd 9f670da25f update 1994-05-06 06:25:29 +00:00
cgd 139cb3d7c5 local 1994-05-06 06:17:44 +00:00
cgd 13bada704d add libedit 1994-05-06 06:02:08 +00:00
cgd 6dc2f1db52 libedit! 1994-05-06 06:01:42 +00:00
cgd 218c24c1ae clean 1994-05-06 01:02:52 +00:00
cgd ec3c28bf59 add getgrouplist 1994-05-05 23:12:53 +00:00
cgd 3edc6dae4e field name change, and safety (minor) 1994-05-05 06:03:26 +00:00
cgd 25718695be update for changed flags 1994-05-05 02:04:10 +00:00
cgd 3a724adbf7 minor cleanup; kill unnecessary casts 1994-05-04 10:55:57 +00:00
cgd 33b1618a57 rlimit stuff, and more. bump shlib major, for rlimit change, and for
safety (now that hackish off_t stuff gone completely.)
1994-05-04 02:30:39 +00:00
phil 5f26aade17 shared lib support and some clean up. 1994-05-03 20:39:52 +00:00
phil 9d4fe61ad7 changes to support shared libs. 1994-05-03 07:35:28 +00:00
jtc aec02f9cc9 Correctly describe conditions of ESRCH & EACCESS errors 1994-05-02 23:54:59 +00:00
cgd 9f0883781f update to match reality; this was *really* out of date! 1994-04-25 18:47:04 +00:00
mycroft d3972d5149 Get rid of extra calls to strlen(). 1994-04-24 01:05:13 +00:00
mycroft 409eebd101 Print the name of the program using a deprecated function. 1994-04-24 01:01:29 +00:00
mycroft aa5c63cbe2 Print the name of the program using a deprecated syscall. 1994-04-24 01:00:39 +00:00
briggs d036d0a3e0 Add mac68k to amiga in looking for cpu040. 1994-04-23 02:41:59 +00:00
jtc e01da66af0 POSIX.1 says that strftime() must call tzset() as an application can change
the TZ environment variable while it is running.

Arnold Robbins' strftime() implementation from comp.sources.unix caches
the value of TZ to avoid calling tzset() (it's expensive) unless it has
been changed.  But since POSIX.1 also requires ctime(), localtime(),
and mktime() to call tzset(), I think that it is better for tzset()
itself to determine whether or not to parse a new timezone file.
1994-04-22 22:11:52 +00:00
jtc 38065bce20 Remove description of EINVAL, "The pathname contains a character with the
high-order bit set", as this error is obsolete.

Eventually we may want to add code to some of the "optional" filesystems
(msdosfs, etc.) that checks for illegal characters.  At that time it would
be appropriate to reintroduce this error with appropriate text.  Perhaps
"The pathname contains a character that is not valid for filesystem type".
1994-04-22 00:13:22 +00:00
jtc a3376999f0 Use symbolic names {NAME_MAX} & {PATH_MAX} instead of 255 and 1023 in
description of ENAMETOOLONG error.
1994-04-19 00:10:45 +00:00
jtc 4304e0ec4e Add curly braces around NGROUPS_MAX.
This convention is used in manpages for other UN*X systems to refer to
system values (availiable via sysconf() or pathconf()) rather than
definitions in <limits.h>.
1994-04-19 00:09:04 +00:00
pk ae9be14d68 Fix that SYS___syscall business. 1994-04-18 20:02:58 +00:00
deraadt 5d98f1c7e0 was freeing random data. fix from vdlinden@fwi.uva.nl (Frank van der Linden) 1994-04-18 12:35:39 +00:00
cgd 5cf4188e1c kill end-check bug. 1994-04-17 04:48:31 +00:00
cgd bbec950385 POSIXification and bostic's official fix for the missing relative path problem 1994-04-17 02:21:02 +00:00
cgd 8d3d58da00 queue foo 1994-04-15 23:36:38 +00:00
jtc 2c861674c4 First cut at a setsid(2) manual page. 1994-04-15 22:48:01 +00:00
jtc 2f9562f951 Describe special case when gidsetlen == 0.
NGROUPS -> NGROUPS_MAX.
1994-04-15 22:44:06 +00:00
jtc 293ba06c9d Describe causes of EINVAL error.
NGROUPS -> NGROUPS_MAX.
1994-04-15 22:43:25 +00:00
deraadt 0681fe2f1e set h_errno for non-BIND failed lookups too 1994-04-14 07:47:37 +00:00
cgd 6e0cf55f61 setproctitle(); no reason to have this code spread into N utils... 1994-04-14 03:13:39 +00:00
cgd dcf70f0099 fix warning. 1994-04-12 23:20:35 +00:00
cgd d7bb411a87 re-POSIXIFICATION. should have been punted back to bostic... 1994-04-12 04:41:17 +00:00
cgd 1bf99f645f oops, restore bug fix that wasn't fed back to bostic... 1994-04-12 04:35:04 +00:00
cgd 92bb6b9feb minor fixes 1994-04-12 03:21:35 +00:00
glass f7a0b6da1d bleh 1994-04-11 06:36:04 +00:00
cgd 7891b9b4af print warnings, and use a helper function, to optimize... 1994-04-10 06:32:32 +00:00
cgd 47894a50ac light clean 1994-04-10 00:16:58 +00:00
cgd 5f0c20b37b fix typo; from Thomas Eberhardt 1994-04-09 22:57:32 +00:00
mycroft 886ad6373f And strunvis(3), too. 1994-04-09 01:31:24 +00:00
mycroft bb3b5f1606 There's a big difference between NULL and NUL. 1994-04-09 01:29:31 +00:00
mycroft 3f8fdc7ebf Add links for strvis(3) and strvisx(3). 1994-04-09 01:26:25 +00:00
deraadt 3162350fc7 resolver code is new here too 1994-04-08 01:17:11 +00:00
cgd 4fffd61a7f fix it to be the way i *meant* it to be... 1994-04-08 00:58:04 +00:00
mycroft 30a812575e From Mark Weaver: Fix typo. 1994-04-07 16:28:05 +00:00
deraadt 39217627a5 new resolver -> major bump 1994-04-07 07:07:06 +00:00
deraadt bc93d2c77e new resolver. changes from 4.9.2 by <paul@vix.com>, as well as a number
of features and optimizations by myself.
1994-04-07 06:58:29 +00:00
deraadt fa21a45545 fix for "%R" from <seanv@cs.uq.edu.au> 1994-04-07 06:52:14 +00:00
cgd 46a40b386f M-x shuffle-functions-and-documentation
basically, move things around so documentation is in the correct place,
and bump appropriate functions into the 'compat' section.
1994-04-06 23:29:29 +00:00
mycroft a8735bf4ab Clean up deleted files. 1994-04-06 23:29:16 +00:00
cgd a2770ef528 M-x shuffle-functions-and-documentation
basically, move things around so documentation is in the correct place,
and bump appropriate functions into the 'compat' section.
1994-04-06 23:28:36 +00:00
andrew fc3e00430e Support up to 256 ptys. 1994-04-06 08:54:35 +00:00
cgd 79b8b4562d new way of invoking mmap. 1994-04-05 02:26:13 +00:00
phil 36d933ca4f quad -1 thing. 1994-04-04 06:54:15 +00:00
cgd 77eeb1ffa0 major number bump, for stdio and safety... 1994-04-03 03:44:41 +00:00
cgd 769ce7c7ee fgetln, not fgetline 1994-04-03 01:38:27 +00:00
cgd 418fa0e8ae fpos_t stdio changes 1994-04-03 01:36:56 +00:00
cgd ae0bb68985 stubs, to get the padding right. so nasty it's almost unbelievable.
also, kill "special lseek" bogon.
1994-04-02 05:38:15 +00:00
mycroft ca01015e04 Clean up deleted files. 1994-04-02 05:37:06 +00:00
cgd b62b3fc050 have cerror DTRT on returns, w.r.t. quads and -1. it needs to be done
here (think of syscall(SYS_lseek,...)).  also, kill bogus lseek thang.
1994-04-02 05:37:04 +00:00
mycroft 345c8ef85c Clean up deleted files. 1994-04-02 05:36:54 +00:00
cgd da34d8a406 have cerror DTRT on returns, w.r.t. quads and -1. it needs to be done
here (think of syscall(SYS_lseek,...)).  also, kill bogus lseek thang.
1994-04-02 05:36:52 +00:00
cgd 98e7f7c8fd yup, another major. 1994-04-02 05:35:59 +00:00
cgd dd7a2bfae8 re_format name fixes from Mark Weaver 1994-04-01 08:46:28 +00:00
cgd 75e0f16f1b specify what the args's contents must be 1994-04-01 08:33:59 +00:00
cgd 7875181c2d bad cast 1994-04-01 03:53:29 +00:00
cgd bedbcf1adb delete duplicated info, from Mark Weaver 1994-04-01 03:44:32 +00:00
cgd f74f70059d off_t 1994-04-01 03:06:40 +00:00
mycroft d5dbb53fee Set d1 to -1 before cerror. 1994-03-31 18:50:58 +00:00
mycroft 5e7902055e Add lseek.S to SRCS. 1994-03-31 18:39:41 +00:00
mycroft b3086b2299 Need to set %edx to -1 before cerror, though perhaps we should have something
more generic for this.
1994-03-31 18:38:57 +00:00
mycroft a3450ab6e8 Add a .text and .align to SYSCALL(). 1994-03-31 18:31:23 +00:00
cgd ce2b1e5418 quiet compiler, too 1994-03-31 06:08:28 +00:00
cgd af2b263be0 bad cast, pointed out by Rafal Boni 1994-03-31 06:06:00 +00:00
cgd a1fcdedb9d oops! 1994-03-30 08:22:07 +00:00
cgd e4e4ac83f6 typo 1994-03-30 06:31:02 +00:00
cgd f67d02e52c gid_t is your friend! 1994-03-30 03:51:32 +00:00
cgd abc6222e32 update based on some work i did for 4.4BSD 1994-03-29 10:50:28 +00:00
cgd 1d2110a409 be reasonable and unique. 1994-03-29 10:46:37 +00:00
chopps 2c8fad6100 Need for copy-to-libkern-machdep in ../../Makefile 1994-03-29 07:10:36 +00:00
jtc 76ac392966 Last weekend's uid_t & gid_t changes allow us to change the uid & gid
arguments to fchown() from ints to a uid_t and a gid_t.
1994-03-29 02:54:58 +00:00
jtc c461cc3066 Last weekend's gid_t changes allow us to change the gidset argument of
getgroups() and setgroups() from a int ptr to a gid_t ptr.
1994-03-29 02:46:37 +00:00
jtc c9db20ec0b Last weekend's gid_t changes allow us to change the gidset argument of
getgroups() and setgroups() from a int ptr to a gid_t ptr.
1994-03-29 02:46:29 +00:00
cgd 00ae28f054 explicit cast off mmap offset to off_t 1994-03-28 05:26:00 +00:00
cgd e075c679c6 don't ever extern lseek... 1994-03-28 02:34:45 +00:00
cgd 75fe90ae2a don't redefine lseek. just ... DON'T DO IT! 1994-03-28 02:19:44 +00:00
cgd 95d6a185be no more MAP_FILE 1994-03-28 02:07:04 +00:00
cgd 19601b5460 _double_ major number bump! joy! 1994-03-27 09:18:25 +00:00
deraadt e91cd2af40 but described in a posting by <RHussein@uh.edu> somewhere on the net.
select() loop hung if either socket was >=32.
1994-03-27 07:49:10 +00:00
cgd eac55eb1b3 slight mod 1994-03-26 02:51:45 +00:00
jtc 98cbb217ac mem -> reg & reg->reg moves take the same time; so save a cycle by reading
the block length from the stack instead of caching it in a register.
1994-03-22 01:15:47 +00:00
mycroft 46a09934d4 Clean up deleted files. 1994-03-22 01:13:11 +00:00
jtc b7744e07bd Upgrade regex routines to alpha3.4. 1994-03-22 00:39:48 +00:00
cgd 7fe62dc1b8 don't forget section number; from Luke Mewburn <lm@rmit.edu.au> 1994-03-19 08:02:51 +00:00
jtc bdde9305da Use RCSID macro for RCS ID's. 1994-03-18 23:22:10 +00:00
cgd ed556c22a5 update for new flag 1994-03-18 04:14:27 +00:00
jtc a148e5bcbe Remove machine-dependent atof() implementations; use machine independant
version that wraps strtod() instead.
1994-03-17 01:58:55 +00:00
mycroft b05d947874 Clean up deleted files. 1994-03-17 01:58:27 +00:00
jtc 1f29a3d910 Smaller & Faster. 1994-03-16 17:40:23 +00:00
jtc 5ac78ccb34 [hn]to[nh][sl] functions used xchgb %h1,%b1 instead of the faster (on the
i486 & i586) rorw $8, %w1.
1994-03-16 17:34:14 +00:00
cgd c0ae496079 fix from Paul Vixie for (probably a cut-and-paste) typo 1994-03-16 02:04:14 +00:00
davidb 068965c68b h_errno is an int, not a "struct". 1994-03-12 09:00:01 +00:00
cgd 2df62691cf add some new flags for /etc/ttys' status field 1994-03-12 06:38:48 +00:00
jtc 915f7d4d3d Use RCSID macro. 1994-03-12 01:48:26 +00:00
jtc c95cd47ba2 Use RCSID macro for RCS ID's. 1994-03-12 01:39:55 +00:00
jtc 6d76330bec Added RCS ID's. ID's use new RCSID macro from <machine/asm.h>. 1994-03-12 01:30:22 +00:00
jtc 520c05b536 Instruct user to #include <search.h>.
Remque() has returned void for some time now.
1994-03-12 01:28:56 +00:00
jtc d72111c735 Update for mc68881 ceil(), floor(), & rint(), and s_sqrt.S -> e_sqrt.S
naming mistake.
1994-03-12 01:20:02 +00:00
mycroft 912d356b80 Clean up deleted files. 1994-03-12 01:16:39 +00:00
jtc 41dbc84e05 The hardware sqrt function is supposed to be __ieee754_sqrt(), and live in
e_sqrt.S.
1994-03-12 01:16:38 +00:00
jtc daefb8ce62 converted ceil(), floor(), & rint() from old to new math libraries. 1994-03-12 01:10:51 +00:00
jtc c9566fe572 Replace code that was "truncated" when it was converted from old
math library.
1994-03-12 01:09:29 +00:00
jtc 593d18fc49 Added a ieee_test(3) man page (Like SunOS) derrived from an earlier copy
of ieee(3).  This man page describes logb, scalb, and significand, which
are really only useful for verifying IEEE754 compliance.
1994-03-11 17:18:54 +00:00
mycroft da7c295a78 Clean up deleted files. 1994-03-11 01:34:40 +00:00
jtc cc2f880912 infnan was a vaxism. 1994-03-11 01:34:18 +00:00
jtc d264f5578d Updated for new math library. 1994-03-11 01:32:08 +00:00
pk fa491c1bc9 Remove some leftover SunOS dialect. 1994-03-10 21:09:49 +00:00
pk 140eeb543a Use atexit(), not on_exit(). 1994-03-10 21:02:01 +00:00
jtc 2191277bb6 Fix typo. 1994-03-10 18:15:07 +00:00
jtc 2ed7077300 Added i387 version of significand(). 1994-03-10 18:13:32 +00:00
deraadt 00f04ee544 __initdb() should only warn about spwd.db errors once, fix from
Cornelis van der Laan <nils@merlin.ims.uni-stuttgart.de>
1994-03-09 10:10:29 +00:00
phil e69ab544c4 Fixed global var access to be pc relative. 1994-03-09 07:50:56 +00:00
jtc 6ee224c2ec Christos Zoulas' Makefile fixes. 1994-03-08 17:20:51 +00:00
phil 28965bf6db Removing the unnecessary includes of sys/syscall.h. 1994-03-07 23:20:38 +00:00
deraadt 46703c8a4d better, more forgiving solution to previous problem. 1994-03-07 00:58:10 +00:00
deraadt 90250ee80b fix small obscure YP buglet, and properly terminate gr_mem 1994-03-06 09:04:11 +00:00
cgd 6fbe299b0e fix for lib/156: cgetent does access free'd memory,
from Thomas Eberhardt
1994-03-06 07:54:35 +00:00
phil 6cea70fe75 Changing ## to /**/ for use with -traditional mode. 1994-03-04 21:10:12 +00:00
jtc aff2eb8384 More i387 libm support. 1994-03-04 17:39:50 +00:00
jtc 39abd30929 Don't determine byte order at run time.
This also "solves" the problem of GCC optimization leading to incorrect
results.
1994-03-03 17:04:03 +00:00
pk 8aee50b714 add -DDYNAMIC 1994-03-03 14:27:34 +00:00
phil d80b7ef7c7 Changing the ns32000 to ns32k as used in other places. 1994-03-02 18:45:22 +00:00
phil 60b49f98f2 Adding a ns32k definition for X_DEADKERNEL. 1994-03-01 22:14:13 +00:00
jtc efcdc02b30 Add cabs() & drem() for BSD libm compatibility. 1994-03-01 17:14:34 +00:00
deraadt b4af129fde fix bug where yp gethostby* lookups could have extra stuff in the alias
fields, and leave bogon stuff in the address fields...
1994-02-27 10:09:09 +00:00
cgd b3ef4daabd do something better with obj: target, so happy in multiplatform env's. 1994-02-26 02:26:00 +00:00
jtc f0cf5168c0 Changes for new math library. 1994-02-25 19:43:56 +00:00
jtc 5d19bb2922 Update manpages for new math library. 1994-02-25 19:32:18 +00:00
pk 938f8ffda8 Set __progname; update to current <link.h> 1994-02-25 15:02:58 +00:00
phil d5e9c48073 Changing the ns32k stuff. 1994-02-25 07:42:01 +00:00
phil 0fc8133c23 Adding ns32k support. 1994-02-25 07:41:35 +00:00
phil dde7045e0d Changing PSR_T to PSL_T. 1994-02-25 07:41:18 +00:00
phil 94303d1113 SYS.h: adding EX()
Makefile.inc: adding a cflag for a compiler that doesn't define ns32k
1994-02-25 07:40:47 +00:00
cgd 25766cfbcb fix unclear man page; better is coming (later) 1994-02-25 03:42:51 +00:00
mycroft 11f187b6a3 Clean up deleted files. 1994-02-25 03:40:12 +00:00
cgd ce7f89ddc0 we have cgetent() 1994-02-25 03:13:45 +00:00
mycroft 275855a18f Clean up deleted files. 1994-02-25 02:53:07 +00:00
cgd 50c0885ee0 new libtelnet from ftp.cray.com. Encryption support ripped out, pending
figuring out what to do about it...
1994-02-25 02:52:45 +00:00
cgd a2f41483b7 repeat after me: realloc, THEN assign pointer... 1994-02-24 09:03:39 +00:00
cgd d8cb3599a2 don't do the (very) wrong thing in sigvec() if sv is NULL.
I found it, mycroft fixed it.
1994-02-24 06:10:57 +00:00
mycroft 93a691920e Clean up deleted files. 1994-02-23 21:20:45 +00:00
jtc 3ed83140b4 Upgrade regex routines to alpha3.3. 1994-02-23 21:17:36 +00:00
cgd bc3e04db85 DTRT when recno db's are extended beyond current end of db 1994-02-21 08:39:53 +00:00
jtc 0dff3c6f48 Optimize the common case (theta < 2^63). 1994-02-18 17:38:59 +00:00
jtc b365a34dd9 i387 specific ilogb() 1994-02-18 02:50:11 +00:00
jtc af4a36425d Add RCS ID's. 1994-02-18 02:27:42 +00:00
jtc bc3f7bf6db Add RCS ID's. 1994-02-18 02:24:43 +00:00
pk 53fa5af0d5 Remove potential spoilsport. 1994-02-17 21:13:26 +00:00
jtc c709120244 i387-specific math functions. 1994-02-16 19:21:10 +00:00
jtc 44adfd9d70 Compiled shared too. 1994-02-15 01:00:46 +00:00
jtc 03898350df Functions brought over from the old math library. 1994-02-14 21:55:12 +00:00
mycroft 90ff28fef4 Style police. Use `je' and `jne' only on the result of an equality test;
use `jz' and `jnz' in all other cases.
1994-02-14 20:05:52 +00:00
jtc 7f582f99d4 Fix spelling mistake: cashe -> cache. 1994-02-14 17:45:16 +00:00
jtc 01284ad877 Performance improvement from Bruce Evans.
Removes one test instruction for each character.
1994-02-14 17:44:39 +00:00
jtc f28455f783 Use "ror $8,%ax" instead of "xchg %al,%ah": equal on a i386, 1 cycle faster
on a i486, and 2 cycles faster on a iPentium.
1994-02-14 17:43:19 +00:00
jtc 39b2c53536 Comment out all functions that are also provided by our C library: fabs(),
frexp(), isnan(), ldexp(), and modf().
1994-02-14 17:32:56 +00:00
jtc c6776a9449 isnan() was provided by both C and Math libraries. 1994-02-14 17:07:07 +00:00
pk 7b1fbb1ca1 Sparc specific memory translations.
Some reorganization of the kernel nlist array.
1994-02-14 13:46:01 +00:00
chopps 3ed937bcf0 temporary additional lookup of cpu040 for amiga's until new kvm stuff or new
amiga 040 VM stuff.
1994-02-14 04:34:42 +00:00
jtc 101f9521b3 More i387 math support, too bad we can't enable it 1994-02-12 01:31:52 +00:00
mycroft 899fe71cbd Clean up deleted files. 1994-02-11 18:35:37 +00:00
jtc c283017b5f Changes for fdlibm based math library 1994-02-11 18:35:35 +00:00
jtc 1e7d35f8a1 Beginning of changes needed for fdlibm 1994-02-11 18:34:05 +00:00
mycroft 14664faf49 Clean up deleted files. 1994-02-11 18:24:40 +00:00
jtc c632d011dd FPU specific math code. 1994-02-11 18:20:17 +00:00
mycroft 43969d1349 Clean up deleted files. 1994-02-11 18:16:42 +00:00
jtc b0122e807d Include <math.h> instead of "fdlibm.h"
Byteorder fix for s_frexp.c.
1994-02-11 18:08:08 +00:00
mycroft 6712a2b42b Clean up deleted files. 1994-02-11 17:56:43 +00:00
jtc 13618394b2 Fdlibm 5.1 1994-02-11 17:52:17 +00:00
cgd f70e42e2ee hopefully last one; more corner cases. Thanks to Mark Weaver for
inspiration, for demanding that i put one of these fixes in, and
for double-checking.
1994-02-11 05:55:45 +00:00
hpeyerl 44cb54cbb3 I should be able to install with NOPROFILE set.
(Herb's in user-land. Be afraid.)
1994-02-11 04:24:34 +00:00
cgd e5b8be437f fix -[ugo] and =[ugo] 1994-02-10 23:42:09 +00:00
cgd 29270058b2 clean up, reorganize, etc. 1994-02-10 23:36:59 +00:00
pk e0bf9676e9 Insert some Position Independent Code. 1994-02-10 20:15:28 +00:00
cgd c882b54db3 kill bogus install -d's. the one for /usr/include/rpcsvc is still here. 1994-02-10 01:10:01 +00:00
chopps 4abc3ff245 handle __STDC__ preprocessor. 1994-02-08 02:31:55 +00:00
proven b1fc22f93a Add one complete thread safe stdio. 1994-02-07 22:05:21 +00:00
proven 1c3caff3ff RCS ids added.
pthread_once() moved to separate file.
pthread_detach(), and pthread_join() routines added,
and sleep now sleeps only the running thread not the process.
1994-02-07 22:04:13 +00:00
proven 0ddc616639 RCS ids added.
pthread_once() defines moved to separate header file.
1994-02-07 22:02:26 +00:00
proven 21f4b3b04c More wrapper functions, and some hacks for machine independent sleep
mechanisms.
1994-02-07 22:00:44 +00:00
proven 772f07b4a8 The latest pthread library. 1994-02-07 21:59:27 +00:00
jtc 5cffad2151 Use movzbl, not movsbl, to zero extend for unsigned comparison.
Fix from Bruce Evans.
1994-02-07 20:57:05 +00:00
jtc bbcdac1400 Don't install manpage links to regexp(3), they overwrite the links
to regex(3).
1994-02-07 18:29:53 +00:00
proven 628d7fa69f 0 is not a valid signal, in the current scheme. The header signal.h does
#define sigmask(m)      (1 << ((m)-1))

Also sigismember is supposed to return 1 if the signal is a member of the
mask, and 0 is it isn't.
1994-02-07 04:47:49 +00:00
chopps 6e9b4b15e0 moved struct out of param lists. 1994-02-06 18:48:28 +00:00
chopps 2595681cf2 fixed warns and compile errors (under newer gcc's) 1994-02-06 18:48:00 +00:00
cgd d38898b89f don't use DESTDIR for this 1994-02-06 06:28:12 +00:00
jtc 4b3d0dc4c6 add libl 1994-02-04 19:11:02 +00:00
jtc 84cb799d27 Build lex library in ~/lib/libl, but put the sources from ~/usr.bin/lex,
so that we can start "importing" future flex releases without losing our
local changes.
1994-02-04 19:10:17 +00:00
jtc ec22bca1e7 Since V8 regex routines have been moved to libcompat(), the BSD regex
routines must again be defined as wrappers around them.
1994-02-01 17:45:53 +00:00
mycroft 22eaa1f29e Always read CLBYTES chunks, and cache the last one read. Don't allocate two
large arrays statically.
1994-02-01 02:17:21 +00:00
jtc df8e9f0bbd More spelling errors 1994-01-31 18:36:17 +00:00
jtc a5ee0f03c4 ENOPSUPP -> EOPNOPSUPP 1994-01-31 18:33:21 +00:00
ws 07181c7ca6 Don't try to change user's variables.
They might be static or even readonly.
1994-01-31 17:37:05 +00:00
mycroft 48ae66e2eb Use machine/asm.h for ENTRY() macros. 1994-01-30 21:55:52 +00:00
mycroft f5fbffc1f4 Just use definitions from machine/asm.h. 1994-01-29 09:56:54 +00:00
mycroft baa1c94cb8 Change silly cast to avoid a compiler warning. 1994-01-29 02:34:21 +00:00
mycroft 868e255f15 Sync with i386 code. 1994-01-29 02:20:16 +00:00
jtc fc1d8f3bac Fix spelling error in Copyright notice 1994-01-29 01:54:01 +00:00
jtc 62345776d3 Fix spelling error in Copyright notice 1994-01-28 22:48:31 +00:00
pk db1f5577e7 dl*() stubs 1994-01-28 21:51:52 +00:00
jtc b9db1b67a7 Fix spelling error in Copyright notice 1994-01-28 20:40:54 +00:00
jtc c56a353509 Fix printf formatting directive %02.2d -> %02d 1994-01-28 20:40:07 +00:00
jtc e2c220f94b Fix spelling error in Copyright notice 1994-01-28 20:34:33 +00:00
jtc 5150659b0c More spelling errors 1994-01-28 20:14:54 +00:00
cgd e69f2c20c7 add libkvm 1994-01-28 05:55:29 +00:00
cgd 9d0477578c get rid of bogus comment 1994-01-28 05:43:35 +00:00
cgd f770281201 better way to get the load average 1994-01-28 04:49:23 +00:00
deraadt 7b729d55a0 support for lookup keyword in resolv.conf 1994-01-28 03:10:35 +00:00
deraadt cac819eb3b support for lookup keyword in resolv.conf 1994-01-28 03:00:25 +00:00
cgd 22d6d0d419 patch from sms@WLV.IIPO.GTEGSC.COM (Steven M. Schultz) to kill mem leak 1994-01-28 01:19:11 +00:00
cgd 919f4adecb note requirement of linking with -lkvm if you use this routine. 1994-01-28 00:19:40 +00:00
cgd 227ad953f9 add two man pages 1994-01-27 23:58:34 +00:00
cgd 73eee0505b stuff moved into libc 1994-01-27 23:51:33 +00:00
cgd 9692bffa3e bump major, for changes theo and i are making. 1994-01-27 23:45:26 +00:00
mycroft 025a03852f Clean up deleted files. 1994-01-27 23:31:23 +00:00
cgd 7999e08c50 get rid of stuff that doesn't belong here 1994-01-27 23:31:19 +00:00
cgd 86b9f0e123 create this in preparation for later. 1994-01-27 23:31:08 +00:00
mycroft f0e6f8605f Clean up deleted files. 1994-01-27 19:22:54 +00:00
pk dd26876b99 Remove dlopen() et. al., they don't work from libc. 1994-01-27 19:21:55 +00:00
mycroft 1fe07f186d Separate curbrk and mincrk. 1994-01-27 15:08:03 +00:00
mycroft 3463cb4eef Trivial speedup inspired by SPARC code. 1994-01-27 15:00:49 +00:00
mycroft c25c219087 Random cleanup. 1994-01-27 14:45:52 +00:00
mycroft ef980f76fe One last tweak. 1994-01-27 06:53:25 +00:00
mycroft c48a79fee8 Stylistic change. 1994-01-27 06:50:06 +00:00
mycroft 22e614ce10 Random cleanup. 1994-01-27 06:34:59 +00:00
mycroft 9c8862a970 Pedanticism. 1994-01-27 06:34:02 +00:00
mycroft 3cf1bd9939 SYS_brk --> SYS_break. Where's my axe? 1994-01-27 04:30:34 +00:00
mycroft 17b2a501cd Stylistic changes. 1994-01-27 04:16:50 +00:00
mycroft 0496df7164 More stylistic changes. 1994-01-27 04:14:50 +00:00
mycroft e84d8b28f3 Stylistic changes. 1994-01-27 04:10:20 +00:00
mycroft b6b0ec3424 Fix bug jtc introduced. 1994-01-27 04:07:13 +00:00
deraadt e49d599168 note resolver(5) -> resolv.conf(5) move
(any more of these needed?)
1994-01-26 10:59:58 +00:00
cgd b7a2e44720 kill force. 1994-01-25 21:03:26 +00:00
cgd 985686cfed kill the 'prog' arg to getbsize(); it's unneeded. minor rev bump. 1994-01-25 20:06:03 +00:00
cgd fe80c33c9c clean up; use standard headers and functions, rather than local def'ns. 1994-01-24 23:40:10 +00:00
jtc 7835a85a78 Optimization tweaks:
Use testl %reg,%reg instead of cmpl $0,%reg
Use xorl  %reg,%reg instead of movl $0,%reg
1994-01-24 19:24:36 +00:00
cgd f2149bfd60 changes from branch 1994-01-24 08:36:38 +00:00
cgd f7b4cb000f update to 1.73 from UCB. I didn't even notice this was out! 1994-01-24 03:59:39 +00:00
mycroft 2c00baa34c Clean up deleted files. 1994-01-24 03:44:49 +00:00
mycroft 044908faa7 Clean up deleted files. 1994-01-24 02:48:36 +00:00
deraadt 6fcc6b7f39 ## and /**/ 1994-01-23 07:26:16 +00:00
mycroft 381c79c430 Clean up deleted files. 1994-01-20 23:04:15 +00:00
jtc 9b343db615 Rpcgen fix allows us to simplify building of rpcsvc library. 1994-01-20 23:04:13 +00:00
jtc e304028c04 Fix off by one bug in pwcashe routine group_from_gid(). 1994-01-19 21:15:46 +00:00
pk 939f7033c5 Make it work with old-style (/usr/bin) cpp 1994-01-15 20:19:43 +00:00
mycroft a4d10d0ab2 Clean up deleted files. 1994-01-15 19:31:44 +00:00
cgd 73da6e26ee actually commit the changes i made the other day to the Makefile 1994-01-15 19:31:32 +00:00
jtc 02ae14d50f Fix obscure bug where the working directory would not be restored to its
proper place (occurs if one of fts_open()'s arguments is a relative path
to a empty directory).
1994-01-14 01:53:57 +00:00
cgd 98a60eb83a fix sall memory leak. from Christopher Jon Kane <kane@kidd.vet.purdue.edu> 1994-01-13 22:55:55 +00:00
glass 8cdd7bfe4f warnings about incompatible declarations fixed.
fix from <thomas@mathematik.uni-Bremen.de>
1994-01-13 22:24:06 +00:00
mycroft ab823015e9 Clean up deleted files. 1994-01-12 23:11:41 +00:00
cgd a839e5389d moved to libcompat, where they belong. 1994-01-12 23:11:24 +00:00
jtc a072679039 Fix spelling errors. 1994-01-11 00:46:50 +00:00
jtc 719a8083f0 Fix spelling errors. 1994-01-11 00:05:54 +00:00
jtc 62c2139aff Fix spelling errors. 1994-01-10 23:58:48 +00:00
jtc 12d5be7f56 Fix spelling errors. 1994-01-10 23:54:08 +00:00
jtc 584ac8448e Fix spelling errors. 1994-01-10 23:32:20 +00:00
jtc 38bdf5186b Fix typos & formatting. 1994-01-10 23:09:09 +00:00
jtc aa0356b56a Set errno to EINVAL and return -1 if the argument to sigaddset(), sigdelset(),
or sigismember() is out of range.  POSIX.1 allowed the old behavior, but
detecting the errors is a more reasonable course of action.
1994-01-10 23:02:09 +00:00
deraadt fefdca9988 c++ not g++ 1994-01-10 14:09:16 +00:00
mycroft 6d4a19bff5 Clean up deleted files. 1994-01-07 19:15:52 +00:00
pk 36328be690 Rename lib/csu/g++ to lib/csu/c++ 1994-01-07 19:15:31 +00:00
cgd 3a44018403 get rid of the awful RSS hack 1994-01-07 19:10:06 +00:00
mycroft abeb62670e Delete special rules for syscall.S; they are not needed, and one of them
is wrong anyway.
1994-01-07 16:36:45 +00:00
pk 39c0326588 PIC_*() macros moved to <machine/asm.h> 1994-01-07 00:48:22 +00:00
pk e2c9704c72 Simplify code and add copyright. 1994-01-06 23:39:25 +00:00
deraadt 2d1eff419c glob_t not GLOB_t. pointed out by <lm@rmit.edu.au> 1994-01-06 13:24:09 +00:00
mycroft d6718d4665 Put back ld -x -r. 1994-01-06 04:35:39 +00:00
mycroft 22f50fc547 Remove ld -x -r until it actually works. 1994-01-05 23:47:35 +00:00
mycroft 8381eeac4d Use -fpic. 1994-01-05 23:32:09 +00:00
pk e5ea148320 Subdirectory g++ contains C++ shared library helper routines. 1994-01-05 21:05:11 +00:00
mycroft 2ac9b46bdd Allow ld.so to be QMAGIC. 1994-01-04 23:40:31 +00:00
mycroft 34dbfc64b6 Fix two compiler warnings. 1994-01-04 21:40:23 +00:00
jtc 672f7a6292 Use _PATH_TTY constant instead of "/dev/tty". 1994-01-04 18:27:08 +00:00
cgd f45b975fa5 rename fgetline() 1994-01-04 05:36:22 +00:00
cgd 02254e0c37 rename fgetline() and sharpen axe for bostic... 1994-01-04 05:16:44 +00:00
cgd 7cf02fbc34 bump shlib version so people don't get screwed again by fgetline() 1994-01-04 05:15:30 +00:00
mycroft 4fdb06a4f5 Clean up deleted files. 1994-01-04 05:13:19 +00:00
cgd a18790e65d rename fgetline() and sharpen axe for bostic... 1994-01-04 05:13:16 +00:00
cgd fdacf1c630 DTRT if op is = 1994-01-04 05:05:36 +00:00
jtc bfc2593ae5 Integrate strtoq() and strtouq() from bsd-sources on uunet. 1994-01-03 22:58:35 +00:00
jtc 58f143a599 Add explicit return types to function definitions. 1993-12-31 19:13:47 +00:00
jtc 8ec96af59d Changed return value from int to pid_t. 1993-12-30 19:16:46 +00:00
deraadt 1a361f13ba "struct ether_addr" is in netinet/if_ether.h (as in SunOS) 1993-12-30 04:21:05 +00:00
jtc a5313a04b3 #include <stdlib.h> & <string.h> to bring function prototypes into scope. 1993-12-28 19:51:37 +00:00
jtc b64dadb1ac #include <string.h> to bring function prototypes into scope. 1993-12-28 19:45:46 +00:00
jtc 991b130549 #include <ctype.h> to use the isspace() macro. 1993-12-28 19:42:49 +00:00
jtc 3f5672d010 Explicitly declare function return types to silence "gcc -Wall". 1993-12-23 23:14:43 +00:00
cgd fc5a16e0c4 add file eaten by crash 1993-12-23 14:00:07 +00:00
jtc d486fccc08 Add explicit "int" return types to silence gcc -Wall. 1993-12-22 18:59:39 +00:00
jtc 892c4f7549 #include <string.h> to bring prototypes into scope. 1993-12-22 18:52:58 +00:00
cgd a686a9cf52 make empty static 1993-12-22 09:38:20 +00:00
cgd 6039a60bb3 don't squish newline at end of fgetline()... from bostic 1993-12-22 07:10:58 +00:00
cgd 13a95c06c9 don't squish newline at end of fgetline()... from bostic 1993-12-22 07:09:11 +00:00
jtc bd1ff5e87a Fix bug #12, strtod() now uses localeconv() to get locale specific
decimal point character.
1993-12-21 19:24:09 +00:00
jtc 31b9353995 Use isspace() instead of a switch statement with explicit values when
skipping leading spaces.  This is needed for compliant behavior once
localization support is integrated.
1993-12-21 18:59:11 +00:00
proven 881ae40055 Copyrights added to each file. 1993-12-20 19:31:06 +00:00
mycroft add5cd71dc Clean up deleted files. 1993-12-20 19:30:59 +00:00
proven abe1bf3801 Copyrights added to each file. 1993-12-20 19:30:07 +00:00
pk 47b4886a7f Return a well-known constant after becoming a daemon. 1993-12-19 08:44:42 +00:00
jtc eeb1800b0e Fix bug #24 by renaming _logname_valid to __logname_valid. 1993-12-18 01:16:18 +00:00
jtc 0e09f939b2 Fix bug #24 by renaming _logname_valid to __logname_valid. 1993-12-18 01:02:47 +00:00
deraadt 46c1a166d2 small bug fixed 1993-12-16 19:19:14 +00:00
deraadt e1d7e3c22c ethers(3) man page by Roland McGrath <roland@frob.com> 1993-12-16 15:50:20 +00:00
deraadt 6a3865505c ethers(3) sunos-like support from Roland McGrath <roland@frob.com>
YP code fixed by myself (looked in wrong maps, didn't free things :-)
used by rarpd & friends.
1993-12-16 05:17:35 +00:00
jtc 412e7d5328 More manpage tweaks. 1993-12-15 20:32:47 +00:00
jtc 7f6c106f52 Add explicit return type in SYNOPSIS section. 1993-12-15 18:10:20 +00:00
jtc 448b825466 Remove unwanted comma from NAME section. 1993-12-15 18:09:42 +00:00
jtc 348a090081 Add explicit return types and needed header files to SYNOPSIS section. 1993-12-15 18:08:12 +00:00
jtc 8ee12398cc Must #include <sys/types.h> to use these functions. 1993-12-15 17:40:20 +00:00
jtc 0477eb4598 Tell user to #include <fcntl.h>, not <sys/fcntl.h> or <sys/file.h>. 1993-12-15 17:36:56 +00:00
jtc 1b7c71cc45 Tell user to #include <fcntl.h>. 1993-12-15 17:36:23 +00:00
pk ada9ac5f49 Cleanup 1993-12-15 09:46:28 +00:00
mycroft cbe3d33b6d P[GD]_SHIFT --> P[GD]SHIFT 1993-12-15 00:50:45 +00:00
jtc b30024a6da Change from Chris Torek (via comp.std.c) to make fread() ANSI compliant. 1993-12-14 23:17:09 +00:00
jtc bd3bf0fe0d RPCSRC 4.0, which our RPC implementation is derrived from, erroneously
sets a default timeout of 25 seconds in clnt_create().  This bug causes
timeouts specified as the last argument to clnt_call to be ignored.
With this fix, timeouts will be taken from clnt_call() unless the
program sets its own default timeout with clnt_control().
1993-12-10 20:01:45 +00:00
deraadt 6401f7c13a speed up getpwnam/getpwuid for standard cases 1993-12-10 12:46:29 +00:00
mycroft 7af32d8c3c memcpy.S and memmove.S on i386 are now separate. 1993-12-10 10:55:12 +00:00
mycroft cc81da7447 Shorten setup for longword operations a little. 1993-12-10 10:51:11 +00:00
mycroft dca61f6f90 Share code. 1993-12-10 10:45:18 +00:00
jtc a9e5cc4f83 No reason these can't share code... 1993-12-08 22:10:14 +00:00
mycroft ed306b5df9 Add strchr.S and strrchr.S for m68k. 1993-12-08 21:03:05 +00:00
mycroft cd8e1bd162 No reason these can't share code... 1993-12-08 21:01:56 +00:00
pk 230b816542 Use %hi operator when fiddling a bit high... 1993-12-08 18:33:43 +00:00
pk 49d5ac06cc Added some Sparc sources. 1993-12-08 13:31:01 +00:00
pk ca6c5f72ae Fix location of sources -> arch/sparc 1993-12-08 13:30:16 +00:00
pk d1639c316e Use sigstack() in stead of sigaltstack() until we have a sigaltstack()
in the kernel.
1993-12-08 11:25:12 +00:00
jtc 865516f9d5 Restore 4 lines of code that UCB added that got lost when I upgraded to
the latest version of this code.  This bug was responsible for printf
formatting errors when values were rounded to 0.
1993-12-07 18:54:32 +00:00
mycroft 1f063d60c0 Fix a bug, and speed up by a few cycles. 1993-12-07 06:58:35 +00:00
mycroft 2c216884a8 Fix typo. 1993-12-07 03:28:53 +00:00
mycroft 6103136f3b Fix typo. 1993-12-07 02:05:27 +00:00
mycroft b06640f168 Also a memcpy.S for m68k. 1993-12-07 01:00:06 +00:00
mycroft e3b5d6cf18 Remove -p flags from .so builds. 1993-12-07 00:54:09 +00:00
mycroft ca4372787c Fix a couple of nits. 1993-12-06 23:45:48 +00:00
mycroft 91ae666ad3 Add memmove.S to m68k assembler stuff. 1993-12-06 23:39:42 +00:00
pk f3f7594fc9 Use PIC_PLT for error returns.
Correct operand order in accessing `minbrk' and `curbrk'.
1993-12-06 23:28:08 +00:00
pk 417e7a6fff Remove spurious PIC_EPILOGUE and PIC_GOTOFF macros. 1993-12-06 23:27:04 +00:00
pk 3581f42619 Use PIC_PLT() macro for error returns 1993-12-06 23:26:04 +00:00
mycroft 5897de064c Use assembler versions of m68k stuff. 1993-12-06 23:22:15 +00:00
mycroft 50ee78b26f Assembler version. 1993-12-06 23:16:05 +00:00
mycroft 8449f5103c More assembler code. 1993-12-06 23:08:46 +00:00
mycroft a0f51b3da9 Fudged an addressing mode. 1993-12-06 22:51:41 +00:00
mycroft ff88d330ae Initially cloned from bcmp.S. 1993-12-06 22:37:15 +00:00
mycroft b5c51ee600 #define the appropriate symbol and #include bcopy.S. 1993-12-06 22:13:08 +00:00
mycroft 87a251f506 Add code for memcpy() and memmove(). 1993-12-06 22:12:04 +00:00
mycroft 565cec3fcc Add a `const' to shut up gcc. 1993-12-06 21:47:38 +00:00
mycroft 4bc3889433 Clean up deleted files. 1993-12-06 12:12:05 +00:00
cgd 29c9f7be20 use .S not .s 1993-12-06 12:11:42 +00:00
cgd 4db8a8637b fix things so that memmove.so, et al., are built correctly on
machines w/o architecture-specific sources.
1993-12-06 03:10:35 +00:00
briggs bdb4a3a91a Changed occurance of MACHINE_ARCH == "hp300" to MACHINE_ARCH == "m68k" 1993-12-05 15:45:52 +00:00
cgd d69671a6d5 Add dummy install target for machines which don't have this 1993-12-05 14:51:56 +00:00
deraadt f92ccee2e2 should bzero automatic sockaddr's before use 1993-12-05 14:36:48 +00:00
cgd f00e1cfe6a get pc532 moved into ns32k; that's is MACHINE_ARCH 1993-12-05 02:20:58 +00:00
mycroft 04f8c8eac7 Clean up deleted files. 1993-12-05 02:20:10 +00:00
cgd 08ee36190d get pc532 moved into ns32k; that's is MACHINE_ARCH 1993-12-05 02:20:00 +00:00
cgd 70182749fb specify which files to copy into libkern 1993-12-05 01:46:02 +00:00
mycroft 364df3ec6d Clean up deleted files. 1993-12-05 01:37:01 +00:00
cgd 30dc89704d split up the {ntoh,hton}[ls] functions 1993-12-05 01:36:46 +00:00
cgd 65b0c9812e update for MACHINE_ARCH 1993-12-05 01:10:14 +00:00
cgd f7c20a904e look for m68k, rather than hp300 or amiga 1993-12-05 00:33:30 +00:00
cgd dbc90f4ea4 minor rev 1993-12-04 23:12:04 +00:00
cgd 71f16f1033 update from branch 1993-12-04 23:03:43 +00:00
mycroft e5941784b3 Clean up deleted files. 1993-12-04 22:40:26 +00:00
cgd 318d90d37f use MACHINE_ARCH to pick which crt0 to use. 1993-12-04 22:39:21 +00:00
briggs 0db5dab189 Ovfork doesn't get .even any other way, so we must explicitly give it
one.
1993-12-04 18:59:42 +00:00
cgd 734f29e669 copy quad.h, too... 1993-12-04 05:15:26 +00:00
cgd 0ada107897 update for .S and MACHINE_ARCH 1993-12-04 02:33:35 +00:00
mycroft e3b636c256 Clean up deleted files. 1993-12-04 02:32:10 +00:00
cgd 6388bec37e update for .S and MACHINE_ARCH 1993-12-04 02:31:56 +00:00
mycroft 448e711c78 Clean up deleted files. 1993-12-04 01:28:42 +00:00
mycroft 577b1f1315 Clean up deleted files. 1993-12-04 01:27:46 +00:00
cgd 39496a6bca get rid of extra RCS Id in header 1993-12-03 23:02:05 +00:00
cgd ee05a8a802 bump major number; empirically, there *were* incompatible changes... 1993-12-03 22:21:56 +00:00
jtc c2a2e6a126 Add common definition of errno back to the C library. One notable program
uses its own crt0.c, so it can't pick it up from there.
1993-12-03 19:40:23 +00:00
deraadt 66cf56ad97 sunos compatible /var/yp/binding/ files.
fix const warning
1993-12-03 10:10:21 +00:00
briggs 8d26954ec2 Add mc68000 to the list for IEEE_MC68k.
Checks for hp300 and amiga should prob. be removed at some point,
but they do no harm being there.
1993-12-03 03:30:16 +00:00
jtc cf1ab4a553 Add SPRAYOVERHEAD constant. 1993-12-03 00:32:30 +00:00
mycroft ded6c495f2 Remove hack for errlst.o. 1993-12-02 19:48:08 +00:00
mycroft 504c62c073 Add `const's to sys_siglist and sys_signame decls. 1993-12-02 09:50:34 +00:00