Commit Graph

1194 Commits

Author SHA1 Message Date
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