Commit Graph

3042 Commits

Author SHA1 Message Date
thorpej fbb903995d Change an exit() to _exit(), so that it's safe for vfork(). 1997-12-31 05:47:15 +00:00
mikel 2165959350 make sure result of % operator is identical for quad_t, int and long;
fix provided by Chris Torek <torek@BSDI.COM> in a message to tech-kern.
1997-12-30 07:58:36 +00:00
mikel 290139e9fe pointers are NULL, NUL is a char; deraadt@openbsd.org 1997-12-30 06:05:59 +00:00
pk 49c810b2c8 Avoid spurious calls to foreign constructors/destructors in case the
shared library we link with does not have any of its own.
Note: this only works for a.out(5).
1997-12-29 15:36:50 +00:00
lukem 99f9342863 note that $HOME is used in ~/ globs 1997-12-28 04:37:14 +00:00
hubertf 56b5c3db8d sys/stat.h needed for S_IFBLK/S_IFCHR. 1997-12-23 22:46:27 +00:00
kleink 6e2ca95213 Update: the setuid and setgid bits will be cleared only if the caller is
not the super-user.
1997-12-21 17:58:27 +00:00
christos 24f2924d70 inet_addr -> inet_aton 1997-12-21 17:14:24 +00:00
christos efbb6e62ff use ${SOELIM} instead of soelim 1997-12-21 16:16:14 +00:00
christos a31755413f Make this use object directories. 1997-12-21 14:43:31 +00:00
kleink 8abd2d52ce Bump libc minor to 23, because of lockf() addition. 1997-12-20 20:24:31 +00:00
kleink 916831ec4e Add lockf(), an alternate interface to perform advisory record locking;
per XPG4.2.
1997-12-20 20:23:15 +00:00
christos c49189ae41 Small optimization. Don't call isatty() on every invocation of el_gets, but
remember if the tty setup failed... Also trim the input line of trailing \r's.
1997-12-20 19:15:50 +00:00
kleink f47d490f87 Change several functions to return -1 instead of EOF, which was semantically
wrong.
1997-12-19 14:08:41 +00:00
mikel f5098db92a sync struct statfs with <sys/mount.h> 1997-12-18 07:22:58 +00:00
mikel 007afd6dda fix pasto (s/getpwent/getrpcent/); from Tobias Weingartner 1997-12-16 07:48:49 +00:00
mrg c1ae52841a use MAP_COPY|MAP_FILE. 1997-12-15 05:43:50 +00:00
mrg 701bf906ba note that MAP_SHARED or MAP_PRIVATE must be specified. 1997-12-15 04:00:08 +00:00
thorpej e9fb88d6e1 Document net.inet.tcp.init_win. 1997-12-11 23:30:47 +00:00
matthias 5822b3639f add lint stubs for files that are implemented in assembler on the pc532. 1997-12-07 00:24:50 +00:00
matthias 8c90828457 Introduce ASSRCS. This is set to all the ns32k md assembler source files.
arch/ns32k/Makefile sets SRCS, LSRCS and DPSRCS from this.
1997-12-07 00:19:16 +00:00
matthias 1469ba0767 No longer in use. 1997-12-07 00:17:53 +00:00
mikel 583fb06375 fix typo (s/A/An/) 1997-12-06 08:47:05 +00:00
thorpej f22bd47b81 Use __sigaltstack14(), not sigaltstack(). 1997-12-05 02:09:49 +00:00
thorpej 6efbfe5247 Make setjmp() work again after the changes to sigaltstack(). 1997-12-05 02:06:27 +00:00
tv eb96023de7 Quick fix to repair runtime link problem with libc - "SYS_sigaltstack
undefined".  The sigaltstack structure layout didn't actually change on
the sparc, so just change the syscall name.  A better fix would probably
be to replace the direct system call with a function call to the libc
sigaltstack().
1997-12-04 21:00:18 +00:00
mikel c75f102623 s/void/int/, from Ty Sarna in PR lib/4627
use .Xr when referring to login and getty instead of .Nm
1997-12-04 06:00:19 +00:00
lukem 40d4d52cce * add extra arg to fparseln() - int flags - which is a bitmask.
current flags allow the `un-escaping' of escaped arguments (i.e,
  don't prefix an escaped argument with the escape char)
* other minor cleanups
1997-12-01 02:58:40 +00:00
kleink 5d7a8f4a16 Modify the recent sigaltstack() interface change to use the __RENAME() scheme;
add __sigaltstack14().
1997-11-29 18:38:20 +00:00
mikel ae21562ab9 fix typos, use -mdoc macros where useful, replace blank lines with .Pp 1997-11-27 10:24:44 +00:00
mikel 335c5b7630 s/EACCESS/EACCES/, from Brian Evans via OpenBSD 1997-11-27 07:36:24 +00:00
tv b6573fcec0 Add xrefs to new hosts.equiv(5)/rhosts(5) man page. 1997-11-26 18:06:51 +00:00
kleink 5abc2c37ce Update sigaltstack() to use stack_t parameters. 1997-11-26 16:51:12 +00:00
tv b934dcf21f Typo fix: the umount call is no longer called umount, it is now called
unmount.
1997-11-26 14:46:44 +00:00
kleink f8cb8b4c14 Per XPG4.2, use useconds_t as argument and return type. 1997-11-25 18:03:45 +00:00
kleink 53d8f2fbbe Per XPG4.2, use useconds_t as argument and return type; eliminate use of the
`register' keyword.
1997-11-25 18:02:36 +00:00
kleink a57dd5b211 Per XPG4.2:
* Change argument to type useconds_t, return an int.
* If an interval of 1,000,000 or more microseconds was requested, fail with
  -1/EINVAL.
1997-11-24 19:56:30 +00:00
lukem 253f2b2928 * return on empty lines (with len = 0, and a pointer to an empty string),
rather than parsing until non-blank lines. some callers may want to
  know when a blank line occurs. fix confirmed with christos.
* enhance test code (which is commented out by default) to use len and
  lineno parameters
1997-11-24 13:05:38 +00:00
lukem 0e3b290810 fix .Nx usage (use 1.0 instead of 0.9a, etc), and other minor cleanups 1997-11-24 06:28:50 +00:00
enami 760bb2c1ce Un-capitalize function names at the beginning of line. 1997-11-23 04:23:48 +00:00
enami 5e60b1695a In the SEE ALSO list,
- remove duplicated `environ(7)'.
- remove unexistent system call `trace(2)'.
- delete a period at the end.
1997-11-23 04:18:30 +00:00
lukem 191d34513d better describe delim[], use ".Nx 1.3a" instead of "1.3A", other minor stuff 1997-11-23 04:07:32 +00:00
enami 3b0a9ac90d Allocate one more element for arg vector, like execl.c rev 1.5. 1997-11-23 01:16:46 +00:00
mark 0053558a70 Fix a glaring bug in the assembly stubs for memcpy() and memmove() that
meant the src address was being returned rather than the dst address.
Spotted by Chris Demetriou.
1997-11-22 03:27:12 +00:00
kleink ffd48267c2 Update for nfds_t. 1997-11-21 18:30:49 +00:00
mjacob eb498a6ab2 argv alloca'd is too short. Alloc an extra member. 1997-11-20 01:26:45 +00:00
enami 2b952b2261 Remove an extra comma at the end of SEE ALSO list. 1997-11-18 07:00:48 +00:00
enami dafe39d6fe Use .Sh RETURN VALUES instead of .Pp, as malloc.3 or free.3 does. 1997-11-18 06:58:46 +00:00
enami 6940412e60 Fix typo; update `buf' by return value from realloc(3). 1997-11-18 06:44:51 +00:00
christos fd7ea84f27 Increase minor number for fparseln 1997-11-16 22:20:14 +00:00