Commit Graph

5998 Commits

Author SHA1 Message Date
kleink 346219c95f Sprinkle some restrict qualifiers. 2001-03-22 07:37:04 +00:00
cgd 1da7909939 clean up a bit, xref exit(3), and suggest use of EXIT_FAILURE. 2001-03-22 01:47:17 +00:00
cgd e8c9c330a8 document EXIT_SUCCESS and EXIT_FAILURE, since they've been around
since ANSI and (for portability, since ANSI) in some circles they're
the preferred exit status codes.
2001-03-22 01:37:46 +00:00
kleink 77fbd9fe1c Sprinkle some restrict qualifiers. 2001-03-21 22:42:28 +00:00
mycroft 6da9b09f70 Use `rpcgen -C'. 2001-03-21 20:14:10 +00:00
augustss 7358f05060 Make this file lint. 2001-03-20 11:47:44 +00:00
christos e125f8f194 chmod the history file to 600 so that only the owner can read it.
[inspired by the openbsd fix to readline]
2001-03-20 00:08:31 +00:00
atatat 432509762f Bump minor version to 73: MD2 was added. 2001-03-19 05:00:41 +00:00
atatat 3ddb3899a3 Add md2 routines to libc. 2001-03-19 04:13:16 +00:00
simonb 7512af6e5b Don't use a u_char array for a workspace that will be cast then accessed
as int's, as the array is not guaranteed to be int-aligned on the stack.
Use a CHAR64LONG16 type instead for the workspace, since the workspace
is accessed through that type anyway.

Fixes PR pkg/12417 from Andrew Brown.
2001-03-19 03:14:00 +00:00
christos 317bb0ea2f set gl_pathv to NULL after we free it. 2001-03-18 22:40:20 +00:00
pooka b8116b5540 make prototypes match reality found in <sys/ktrace.h> 2001-03-18 21:51:11 +00:00
christos 93b3db97f3 limit the amount of memory used, not the number of arguments used. 2001-03-16 21:09:05 +00:00
christos f913546a2e Implement GLOB_LIMIT that limits number of matches to ARG_MAX. 2001-03-16 20:34:08 +00:00
fair fdd13acbc4 Correct typo in ERRORS, and document that getdents(2) can return
directory entries that refer to deleted files, all per PR 10567.
2001-03-16 07:58:24 +00:00
fair 0b6f011535 Add documentation of nmemb parameter, per PR 10567 2001-03-16 07:47:29 +00:00
fair bee514872a Added the following text to answer PR 7249:
The manual page for each system call will list some of the
	common errno codes that system call can return, but that
	should not be considered an exhaustive list, i.e.  a properly
	written program should be able to gracefully recover from
	any error that a system call might return.  Documenting
	all the error codes that a system call can return in a more
	specification-like manner would take more resources than
	this project has available.
2001-03-16 06:56:48 +00:00
lukem c9cccc1354 reference <stdarg.h> not <varargs.h>, and separate out the synopsis
for vsyslog(3) from the rest after <stdarg.h>, as per printf(3)/vsprintf(3)
2001-03-14 06:12:35 +00:00
bjh21 d1fdb92ff8 Remove arm32-specific files from libc. NetBSD/arm32 now uses the generic
ARM sources in lib/libc/arch/arm.
2001-03-13 19:31:36 +00:00
ross 64846612a5 fix WARNS triggered by reachover makefile under regress 2001-03-13 08:15:14 +00:00
fair 4ca39aa709 Add a description of the special kernel thread "ioflush" to the "special
processes" section, per PR 10912. While we're here, clean up nroff nits,
like spaces at the ends of lines.
2001-03-13 03:24:13 +00:00
simonb 61bb060b34 Include <string.h> for memcpy() prototype. 2001-03-12 03:20:10 +00:00
mjl 8e859a9e3f Revert minor to 0 since there is no abi change on request of thorpej. 2001-03-12 00:45:25 +00:00
mjl b822e3e5a8 Fix incorrect SHA1 calculation on big endian machines reported
in PR/12045 by John Valdes, who also provided the problem's
solution and a patch.

XXX This problem could have been caught about a year ago if we
XXX just ran the regression tests on every build!
2001-03-11 13:57:45 +00:00
cgd b42009b570 actually, don't define SHQUOTE_USE_MULTIBYTE 2001-03-10 22:37:54 +00:00
christos fc701562b4 make these lint properly.
1. don't use MB_CUR_MAX, but MB_LEN_MAX because MB_CUR_MAX is a variable.
2. return a size_t type.
3. added const cond on do while macros.
4. remove unused variables and code,
2001-03-10 20:54:53 +00:00
wiz 3da563eb15 Fix typo reported by Geoff C. Wing in pkg/12369. 2001-03-10 12:57:02 +00:00
cgd 7aeb4f4018 minor=72, for shquote()/shquotev(). 2001-03-10 01:53:14 +00:00
cgd 360514740c Add shquote() and shquotev(). From the manual page:
The shquote() and shquotev() functions copy strings and transform the
     copies by adding shell escape and quoting characters.  They are used to
     encapsulate arguments to be included in command strings passed to the
     system() and popen() functions, so that the arguments will have the cor-
     rect values after being evaluated by the shell.
2001-03-10 01:51:49 +00:00
bjh21 6964bdfcad Re-instate __fixunssfsi() and __fixunsdfsi(), but only for arm32 with a.out
binaries, because libc's provided them there forever.
2001-03-08 18:56:19 +00:00
bjh21 328780b294 Leave selection of APCS mode to the compiler -- future versions of cpp will
get it right.

Always include new softfloat code -- it seems OK on arm32.
2001-03-07 00:49:48 +00:00
assar 7243e32f7d remove libkadm5 - it is not being used for anything useful 2001-03-04 02:33:09 +00:00
cgd bc035adad9 update the date; pointed out by mycroft 2001-03-02 06:06:08 +00:00
cgd 21e6278642 don't forget the LIBRARY section 2001-03-02 04:52:08 +00:00
wiz ddb7e7aa53 Four casts for lint. 2001-03-01 14:37:35 +00:00
itojun dea3f7103b it seems that gethostent(3) is no longer supplied in libc.
couple of wording corrections.
From: Hubert Feyrer <hubert.feyrer@informatik.fh-regensburg.de>
2001-02-28 02:30:31 +00:00
cgd 2eb1943575 make these more amenable to being copied into libkern. (Gee, why wasn't
this done before?  it's not like it was hard...)
2001-02-27 19:44:54 +00:00
cgd 82f3142780 fix NetBSD RCS id tags 2001-02-27 19:04:39 +00:00
cgd 181fee6ea8 pull up <machine/endian.h> and use BYTE_ORDER to decide endianness,
rather than MIPSEL and MIPSEB definitions.
2001-02-27 18:59:16 +00:00
itojun d65f44a1a5 correct typecast mistake.
http://www.openbsd.org/errata.html#libwrap
2001-02-27 04:13:13 +00:00
blymn 7bedd38e80 Fixed include file naming should be menu.h not menus.h. 2001-02-26 01:26:05 +00:00
blymn 5aa18180e9 Add current field error code. 2001-02-26 01:21:06 +00:00
msaitoh 581638d47c check __LEADING_UNDERSCORE 2001-02-25 15:51:24 +00:00
bjh21 fe6fa58436 Add support for ARM VFP-format doubles, conditional on __VFP_FP__. 2001-02-21 18:09:25 +00:00
lukem 2e118c9dce fix _DIAGASSERT usage in hsearch() 2001-02-21 16:31:01 +00:00
eeh 6a9224a06d Remove old compatibility hack. Should no longer be needed. 2001-02-21 00:47:21 +00:00
jdolecek 26426e6fac Note this conforms to ANSI C as well. Fixes standards/12157. 2001-02-20 11:36:01 +00:00
cgd 6ec85a49fd nuke a last-minute addition in the getprogname() cleanup that didn't work. 2001-02-20 01:17:37 +00:00
cgd 65a1026492 convert to use getprogname() 2001-02-19 22:43:42 +00:00
cgd 0fd3d5e599 nuke a ref to __progname that somehow crept in 2001-02-19 22:43:21 +00:00