Commit Graph

609 Commits

Author SHA1 Message Date
tv f4de506a31 PR 3673: possible to close the wrong fds 1998-03-19 18:21:25 +00:00
fair e3652383f9 remove getsubopt.3 - there is another man page for this in ../stdlib that came from the Lite2 merge. This closes PR4600 1998-03-19 08:22:53 +00:00
tv 902d175a04 PR 5170: don't fclose twice, or call ferror after fclose.
required removing fcloses and/or moving them, nulling the pointers
like they should have been, and adding a terminating null byte and break
in one case (perhaps we never ran into those problems before).
cgetclose() already does a fclose and null of the pointer, so don't
duplicate it when we don't need to.
1998-03-18 20:29:27 +00:00
lukem 2b0e1bd9bd backout parts of the lite2 merge; it causes undesirable lossage:
* $PWD was used if it appeared ``correct''. this `enhancment' was
  not documented in getcwd(3), and caused problems for pwd(1) (which
  uses getcwd(3)), and in turn <bsd.obj.mk> (which uses pwd) when $PWD
  is set to the logical path instead of the real path (e.g, symlink
  /usr/src -> /z/NetBSD-current/src).
  [$PWD is set to the logical path by tcsh(1) with set symlinks=expand]
* as getcwd() without the $PWD code is just a wrapper to getcwd_physical(),
  rename the latter to the latter. hack realpath() to use the getcwd().

yet another case of `it was a good idea, but...'
1998-03-14 03:27:59 +00:00
mycroft 79654a9459 Back out the changes that broke old executables referring to sys_errlist[]. 1998-03-03 00:34:38 +00:00
thorpej 669c5bea18 Fix type size lossage on the Alpha. 1998-03-02 23:39:49 +00:00
enami 01e1d15a0e Just nuke cast to the argument of free() rather than changing it
from (caddr_t) to (void *).  Lint doesn't complains about it.
1998-02-28 12:57:28 +00:00
enami 137b066143 Just nuke the cast rather than changing (char *) to (void *). Even lint
doesn't complain about it.
1998-02-28 12:54:39 +00:00
perry c4ab44f1dd trivial changes to quiet lint. 1998-02-27 20:11:34 +00:00
perry 52e17564a0 changes to quiet lint. 1998-02-27 19:01:03 +00:00
perry 16073c51c4 trivial changes to quiet lint. 1998-02-27 18:55:46 +00:00
perry 8205792218 trivial changes to quiet lint. 1998-02-27 18:34:06 +00:00
perry 5f05b863b4 trivial changes to quiet lint. 1998-02-27 18:21:19 +00:00
perry 853e41b336 trivial changes to quiet lint. 1998-02-27 18:05:09 +00:00
perry 301e5f4bfe trivial changes to reduce lint complaints 1998-02-26 03:13:18 +00:00
perry 1f95191dfb trivial changes to reduce lint complaints 1998-02-26 03:01:12 +00:00
perry 1ea84adf39 trivial changes to reduce lint complaints 1998-02-26 02:40:11 +00:00
perry 597e2701ac trivial changes to reduce lint complaints 1998-02-26 02:26:12 +00:00
kleink 05debce7f3 Sync SYNOPSIS with reality, and add RETURN VALUE and ERRORS sections. 1998-02-16 15:47:40 +00:00
kleink 80a22b46d4 Sync prototype with <unistd.h> (which DTRT all the time). 1998-02-12 20:18:23 +00:00
mrg c135ae8203 allow root to use pwd.db. 1998-02-10 03:56:33 +00:00
kleink 7cf291e0dd Add ENOMSG. 1998-02-08 19:04:31 +00:00
mikel fff4d1182d add EAUTH, ENEEDAUTH, EIDRM 1998-02-06 08:44:21 +00:00
perry 312aca536f add LIBRARY section to man page 1998-02-05 18:45:17 +00:00
perry dc1e66a8e4 remove illegal quotes from .Dd directives 1998-02-05 07:28:01 +00:00
gwr 84a618151f Do not try to use PS_STRINGS unless USRSTACK is defined.
(On m68k it is defined only for kernel compilation.)
1998-02-05 04:15:28 +00:00
tron 3a57b77a87 Fix a severe bug in popen() which only showed up with NetBSD's true
vfork() implementation and close a possible file descriptor leak.
1998-02-04 00:03:54 +00:00
perry a16d9e868b .Bx'ize 1998-02-03 21:42:54 +00:00
perry 4146d58604 remove obsolete register declarations 1998-02-03 18:23:37 +00:00
perry 677ae55ec2 force twoway and type out of registers in order to shut up a gcc
warning. What a crock!
1998-02-03 01:16:03 +00:00
perry 5769bb1db8 add some fixes to realpath() that were in the old realpath.c 1998-02-02 23:33:44 +00:00
perry 1698d73479 add realpath.3, getsubopt.[c3] 1998-02-02 23:24:03 +00:00
perry f41c5d7661 it turns out we don't want getvfsbyname after all. 1998-02-02 22:52:15 +00:00
perry 90320e4c2a fix typo from lite-2 commit 1998-02-02 02:54:28 +00:00
perry 08b0946f73 merge/update to lite-2 1998-02-02 02:41:17 +00:00
perry 2f7fe0fea0 import lite-2 1998-02-02 00:12:06 +00:00
perry 4e067afcb1 RCS Id Police. 1998-01-09 03:15:09 +00:00
lukem 028802f851 document net.inet.ip.anonport{min,max} 1998-01-05 09:59:03 +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 916831ec4e Add lockf(), an alternate interface to perform advisory record locking;
per XPG4.2.
1997-12-20 20:23:15 +00:00
mrg c1ae52841a use MAP_COPY|MAP_FILE. 1997-12-15 05:43:50 +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
mikel 335c5b7630 s/EACCESS/EACCES/, from Brian Evans via OpenBSD 1997-11-27 07:36:24 +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 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