3867 Commits

Author SHA1 Message Date
kleink
6348b7d5b5 * On architectures using ELF, and conditionally on those in transition, rename
_ASM_LABEL(cerror) and _ASM_LABEL(curbrk) to _C_LABEL(__cerror) and
_C_LABEL(__curbrk) (or their respective architecture-specific equivalents) to
avoid possible name clashes with identifiers used in user applications.
* Do the same for minbrk on all architectures to avoid a GCC-specific (and
on ELF architectures effectively useless) symbol reference renaming in MI code.
1999-01-14 22:48:18 +00:00
kleink
3b7ac44e6c * Add const keywords to function arguments as appropriate.
* Clarify the description of the initial position of the stream (some confusion
  due to the way fdopen() was merged into a former ANSI-only document).
1999-01-12 15:27:28 +00:00
kleink
95478cea62 strtok() -> strtok_r() to avoid side-effects. 1999-01-11 23:31:50 +00:00
kleink
66208204f2 In userland, pull in <errno.h> instead of <sys/errno.h> for the declaration
of errno.
1999-01-11 23:20:35 +00:00
kleink
920280ae17 2 -> STDERR_FILENO 1999-01-11 23:10:26 +00:00
kleink
3ed4fcf61e In userland, pull in <errno.h> instead of <sys/errno.h> for the declaration
of errno.
1999-01-11 22:39:59 +00:00
christos
5042017dd3 Remove debugging code and unused variable. 1999-01-11 09:34:17 +00:00
christos
e748cbf6b0 Don't use %eax 1999-01-10 18:20:13 +00:00
christos
c77a99ad05 First pass at csu stuff for i386/elf. 1999-01-10 17:16:06 +00:00
simonb
c93135c35a s/vm_offset_t/vaddr_t/ 1999-01-10 08:24:42 +00:00
kleink
2125814fb5 1003.2-92 specifies the string "--" to be recognized as the option list
delimiter as opposed to any string merely beginning with '-''-'; change to
match the standard.  From Simon J. Gerraty <sjg@quick.com.au> in PR lib/6762.
1999-01-09 20:31:07 +00:00
kleink
cb697ba0d0 When reopening in append mode, seek to the end of file in order to have the
internally kept offset pointer reflect this; ftell(3) would report an
incorrect current offset otherwise.  From Geoff C. Wing in lib/6381.
1999-01-06 13:57:14 +00:00
lukem
ddfeeeebfd fix history() prototype. (d@openbsd.org) 1999-01-05 22:46:22 +00:00
tron
441c7a826d On suggestion by Brian C. Grayson explain more detailed when [ENOENT]
will be returned.
1999-01-04 00:31:52 +00:00
cjs
adfa683d2a Always descend on `make obj', too, to allow developers to switch between
defined and undefined EXPORTABLE_SYSTEM without rerunning `make obj'.
1999-01-03 21:52:26 +00:00
eeh
ff34887c45 More fixes to signal handling code... 1999-01-03 16:22:04 +00:00
tron
593de752d4 Mention that symlinks don't need to point to an existing file or
directory as suggested by Brian Grayson in PR misc/6711.
1999-01-02 16:05:26 +00:00
kristerw
14e0e5307d The scalb* functions left data on the floting point register stack.
Remove it before leaving the function.

The solution is taken from OpenBSD.
1999-01-02 05:15:40 +00:00
kristerw
0a31df6329 Fix a typo. 1999-01-02 01:11:55 +00:00
kleink
37709da758 Change multiple inclusion protection symbol name to NetBSD convention which
doesn't violate namespace rules.
1998-12-20 17:52:01 +00:00
drochner
b6581ead5f Minor size_t!=int related cleanup, only effective on the alpha.
btw: the maximum length of an RE is limited by the "int" range, also
on the alpha. "sopno" is "int", and "int"s are used as counters within
the code, so it would need some work to change this. I only don't know
how one could test it...
1998-12-13 12:21:46 +00:00
christos
a6d4afba22 delint 1998-12-12 20:08:21 +00:00
christos
a0be074d8b many problems; variables hidden by others, size_t <-> confusion 1998-12-12 19:54:16 +00:00
christos
61df62e6a8 - missing error message from array could cause core dump
- delint
1998-12-12 19:52:51 +00:00
is
1ab8cc2ed4 mention poll(2). 1998-12-11 22:38:44 +00:00
is
4ea0892d30 mention poll(2) 1998-12-11 22:35:32 +00:00
christos
e2695fedf7 Not -1, (uid_t)-1 and (gid_t)-1 1998-12-09 15:02:12 +00:00
christos
983a6b1f22 Delint 1998-12-09 14:35:02 +00:00
christos
61238e7179 delint 1998-12-09 12:42:46 +00:00
drochner
7cd4c14e82 regoff_t is used like size_t within the code, it should be defined
so instead of off_t. This makes some casts unnecessary.
We can't change the definition now due to binary compatibility, so
prepare for the next libc major version.
1998-12-08 14:00:24 +00:00
drochner
64a8986fc2 Change some function arguments to appropriate types. This makes lint
happy without casts.
1998-12-08 13:52:48 +00:00
drochner
25804e11c9 remove another unneeded cast 1998-12-08 13:49:46 +00:00
drochner
285638718a correct a comment, minor formatting 1998-12-08 13:48:06 +00:00
drochner
c300f8f462 Back out part of the last change. This broke on the alpha (or wherever
sizeof(u_int32_t) != sizeof(*)), at least in cases with re->re_g->nstates
between 32 and 64.
Primary reason for the breakage was that the "states1" definition didn't
work as expected. (It didn't work before either, but this was not noticed
due to sizeof(long)==sizeof(*).)
The alpha can handle larger problems with the "small" state machine model
if a "long" is used as state variable, so it is better to keep the old
definition here. (u_int32_t is left for the "operator" variables.)
Use "int" as "sopno" - this is used as index into the states field, there
is no point in using a fized-size type.
1998-12-08 13:41:42 +00:00
abs
6381de4c64 Add links to getmntinfo(3) and getfsstat(2) 1998-12-07 05:17:53 +00:00
jonathan
bf3db28f12 Move warnings about sys_errlist[], sys_nerr, __sys_errlist, _sys_nerr
to _sys_siglist.c, so the warning is shown once at link time, not three times
(once for errlist.c itself,  once each for the two includes in _sys_siglist.c).
1998-12-06 07:12:18 +00:00
jonathan
56f21e4806 Move warnings about sys_siglist[] and __sys_siglist to _sys_siglist.c,
so that the warning is shown once at link time, not three times.
1998-12-06 07:05:48 +00:00
pk
d92652f4ae Check the results of argument decomposition in octets to prevent
garbage being sent to name servers.
1998-12-05 13:17:55 +00:00
mycroft
317ff12487 Slight cleanup. 1998-12-04 09:52:43 +00:00
cgd
244d803bb3 per e-mail with christos: history_next_event() should return -1, not NULL,
in case of error, just like history_prev_event() does.
1998-12-03 17:51:16 +00:00
thorpej
58e61001ec Warn about references to the compatibility stat(), fstat(), and lstat(),
and direct the user to include <sys/stat.h> to generate the correct
reference.
1998-12-02 19:47:45 +00:00
thorpej
6f91c82be7 Warn about references to the compatibility msync(), and direct the user to
include <sys/mman.h> to generate the correct reference.
1998-12-02 19:37:50 +00:00
thorpej
0c5cf7b38a Warn about references to the compatibility unvis(), and direct the user to
include <vis.h> to generate the correct reference.
1998-12-02 19:33:28 +00:00
thorpej
efd37a7da8 Warn about references to the compatibility vfork() (i.e. the vfork() with
the 4.4BSD non-shared-address-space semantics), and direct the user to
include <unistd.h> to generate the correct reference.

This warning isn't about an ABI compatibility issue, but the new vfork() is
considerably faster.
1998-12-02 19:29:56 +00:00
christos
d72de1a548 PR/6251: ``TheMan'': Delint. 1998-12-02 09:47:20 +00:00
thorpej
e644246e6a Warn about references to the compatibility() sigaction(), sigpending(),
sigprocmask(), sigreturn(), and sigsuspend(), and direct the user to
include <signal.h> to generate the correct reference.
1998-12-02 01:01:03 +00:00
thorpej
6dc438b3ac Warn about references to the compatibility sigaddset(), sigdelset(),
sigemptyset(), sigfillset(), and sigismember(), and direct the user
to include <signal.h> to generate the correct references.
1998-12-01 22:05:21 +00:00
thorpej
126eb1160e Warn about references to the compatibility sys_errlist[] or sys_nerr, and
direct the user to include <errno.h> to generate the correct reference.

Warn about references to the deprecated __sys_signame[] or __sys_nerr, and
direct the user to include <errno.h> and use sys_errlist or sys_nerr instead.
1998-12-01 20:38:02 +00:00
thorpej
7c8e3ebefb Warn about references to the compatibility sys_signame[], and direct
the user to include <signal.h> to generate the correct reference.

Suggestion from Christoph Badura.
1998-12-01 20:31:41 +00:00
thorpej
6d0722603d Warn about references to the compatibility sys_siglist[], and direct the
user to include <signal.h> or <unistd.h> to generate the correct reference.

Warn about references to the deprecated __sys_siglist[], and direct the
user to include <signal.h> or <unistd.h> and use sys_siglist instead.
1998-12-01 20:31:00 +00:00