4183 Commits

Author SHA1 Message Date
lukem
a8743ef778 change getpwent() backends so that a flag (per source) is set once the
source has been exhausted. this allows getpwent() across multiple
sources (e.g, ``passwd: files nis'') to work correctly. the flags are
reset in setpassent()/endpwent().

this fixes a bug noted in [lib/7449] by thorpej, and tracked down to
getpwent() as being the culprit by simonb.
1999-04-25 07:54:01 +00:00
mycroft
d0c8706cd2 Initialization of the backing store pointers in __set_subwin() was just
totally wrong.  It needs to offset by the origin of the parent window.
1999-04-22 22:39:09 +00:00
mycroft
77b2201463 Do a lame hack to reduce the size of the lexer state buffer, which reduces
memory consumption substantially.  The buffer is only used to print line
numbers...
1999-04-22 00:37:42 +00:00
kleink
94281e536b Declare more local items static. 1999-04-19 21:56:01 +00:00
ad
08168561e3 Correct omission made during last fix of HISTORY section. 1999-04-18 22:36:46 +00:00
ad
5083f44876 Fix HISTORY section (somebody hacked the end off it). 1999-04-18 22:35:19 +00:00
lukem
257ec2e899 specifically include stdarg/varargs.h 1999-04-18 02:27:53 +00:00
lukem
73e9ef01be specifically include stdarg/varargs.h 1999-04-18 02:04:04 +00:00
ws
5423093850 Modify syncicache on PowerPC from an inline to a real function.
Support different cache line sizes with the same object code in userland.
While here, move the function to implementation name space.
1999-04-17 21:16:45 +00:00
ragge
765d11306b Set infinity to the highest D-float possible.
XXX - infinity does not exist on vax...
1999-04-17 14:53:32 +00:00
drochner
7e87965b8a Use TCP to register RPC services with the portmapper.
This has the advantage that we get an immediate error in case of
network problems (loopback, actually) instead of a nasty timeout.
1999-04-17 13:16:39 +00:00
kleink
28904498f5 Fix incorrect reference in ERRORS section; from Paul Wain in PR misc/7405. 1999-04-17 10:15:34 +00:00
augustss
54b9d07367 Make copyrights conform. 1999-04-13 20:45:25 +00:00
kleink
a7c547df3f Remove blank lines (causing uglified nroff output), and fix a typo. 1999-04-13 16:54:26 +00:00
mrg
586d4ce109 Upgrades the standard NetBSD curses library to provide some
of the SYSV curses facilities.  The added features are the collapsing
of arrow and function keysequences (as defined by termcap for the
terminal) into symbolic code returns thus relieving the application of
recognising multi-character key sequences.  Other features are the
capability to perform a timed wait for a key (good for when you are
not sure if there is a keypress ready or not) and the capability for
turning off the inter-key timeout when assembling multi-character
function keys.

this work was done by Julian Coleman <J.D.Coleman@newcastle.ac.uk>
and blymn@baea.com.au (Brett Lymn).  i'm just integrating it.  thanks
HEAPS guys!
1999-04-13 14:08:17 +00:00
kleink
6896db3b93 Remove duplicate section header; from NAKAJIMA Yoshihiro <nakayosh@kcn.ne.jp>
in PR lib/7320.
1999-04-09 14:11:57 +00:00
drochner
2c6db68a95 remove unused label 1999-04-08 17:07:02 +00:00
pk
1cd395375d 1, 2, 3 and.. 4! 1999-04-06 20:24:37 +00:00
tron
beee4cf82e Fix typo noted by NAKAJIMA Yoshihiro in PR lib/7328. 1999-04-06 19:44:42 +00:00
cgd
b22750720f change:
.Sh "SEE ALSO"
to:
	.Sh SEE ALSO
The doc macros check for the latter (actually just for 'SEE' as the first
argument to .Sh) to set the section header SEE ALSO flag, which modifies
some behaviour (e.g. references done with .Rs/.Re).
1999-04-06 04:54:19 +00:00
mycroft
71ebbb8000 Return the full group count when it exceeds the maximum. Also DTRT if the
maximum is 0 (possibly used to size the list for memory allocation, rather
than core dumping).
1999-04-05 18:52:28 +00:00
eeh
713a1d89ff Add _dtoul() which gcc generates a lot. Maybe it should go in another file. 1999-04-04 21:01:39 +00:00
simonb
45c86b888b Instead of rolling our own "install" target, use FILES/FILESDIR and
LINKS to that things like "make install UPDATE=" work properly.
1999-04-03 16:39:31 +00:00
simonb
38ca0e64c8 s;/usr/lib;${LIBDIR}; 1999-04-03 16:28:49 +00:00
tsubai
5f1a262044 Fix typo. (COPT --> COPTS) 1999-04-02 12:09:44 +00:00
veego
d28a19df1b Nuke swap_pager.h. 1999-04-01 09:57:00 +00:00
mycroft
5412e6f2c7 Nuke swap_pager.h. 1999-04-01 09:53:09 +00:00
simonb
40d7b63c49 Slight cleanup - no functional change. 1999-04-01 00:27:49 +00:00
kleink
dccf2a15e4 While in transition, conditionally rename _ASM_LABEL(cerror) and
_ASM_LABEL(curbrk) to _C_LABEL(__cerror) and _C_LABEL(__curbrk), respectively,
depending on the object format chosen, to avoid user namespace clashes.
1999-03-31 18:14:27 +00:00
lukem
3ebdcecd65 don't use warn() in initgroups(); it's not documented to do that, and
if stderr isn't valid the caller may dump core.
from Giles Lean <giles@nemeton.com.au> in [lib/7273]
1999-03-31 12:19:32 +00:00
kleink
5af7e7a902 Change references to end' to _end' as not to invade (or being invaded by)
the user's name space.
1999-03-31 11:53:07 +00:00
abs
ac83f64eca Cast argument to isspace to (unsigned char) to pass zoularis. 1999-03-29 09:27:29 +00:00
sommerfe
d70c7c2004 Document new chroot-related restrictions on fchdir, chroot, and ptrace
made possible by the kernel getcwd infrastructure
1999-03-26 23:37:27 +00:00
sommerfe
bb8c6c869a move __getcwd prototypes to libc-private header file.
XXX duplicate the prototype in getcwd regression test (which needs to
call the syscall directly for reasonably complete testing).
1999-03-26 22:23:57 +00:00
kristerw
8dab0300c3 Corrected an off-by-one error (lib/6314 Torbjorn Granlund) 1999-03-26 21:04:24 +00:00
sommerfe
27a01cc18e Use __getcwd() system call in getcwd() unless OLD_GETCWD is defined 1999-03-26 04:04:13 +00:00
perry
d4076f1ce9 argument is void *, not char * (at least, to the extent that it is a pointer. 1999-03-25 18:48:16 +00:00
perry
3601ed9448 fix to note that arg is void * but is used by some commands as an int 1999-03-25 18:37:06 +00:00
lukem
15896e79fe * don't close the socket unless it was opened by the function
* note (in the comments) that the client is responsible for closing
  the socket if they opened it, or they didn't use CLNT_DESTROY()

fixes a couple of unnecessary closing of already-closed sockets.
noted by: Matthias Drochner <M.Drochner@fz-juelich.de>
1999-03-25 01:16:10 +00:00
mycroft
1b0b50098d Fix a few things that were out of date or just plain wrong, and clean up some
formatting glitches.
1999-03-24 16:36:10 +00:00
hubertf
eb5057aab5 Better explain possible EBADF causes.
Patches submitted by Greg A. Woods <woods@planix.com> in PR lib/7206.
1999-03-24 13:40:51 +00:00
mycroft
68d6f4bf44 Remove spurious .ne's. 1999-03-24 06:27:49 +00:00
mycroft
66902a3cfd Remove blank lines. 1999-03-24 06:14:18 +00:00
mrg
d2397ac5f7 completely remove Mach VM support. all that is left is the all the
header files as UVM still uses (most of) these.
1999-03-24 05:50:49 +00:00
lukem
0a10e5dd4b document new bind() restrictions 1999-03-23 10:59:11 +00:00
mycroft
508d292759 .Bl/.El cleanup. 1999-03-23 09:40:53 +00:00
abs
5e69f8317f Fix 'suggest parentheses' warning noted by Erik E. Fair <fair@clock.org> 1999-03-23 02:58:50 +00:00
garbled
38c96853cf Last of the .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages.  Wheee!
1999-03-22 19:44:33 +00:00
kleink
61c3516908 Introduce _PC_FILESIZEBITS. 1999-03-22 19:14:22 +00:00
kleink
29fc254df0 Bump the date. 1999-03-22 19:11:16 +00:00