Commit Graph

4290 Commits

Author SHA1 Message Date
tron 3428499c33 Use ANSI signature for signal handler function. 2001-11-22 12:04:41 +00:00
wiz 1fd7eeefcd "than" instead of "then". 2001-11-21 19:14:19 +00:00
enami bc2805c808 Cosmetic changse. 2001-11-21 00:48:28 +00:00
enami 1ffafc030e Extend an array before allocating an element. This makes cleanup code a bit
simpler since we no longer need to worry about an element not in an array yet.
2001-11-21 00:47:56 +00:00
itojun 4a980893af sync with latest openbsd one. this one describes corner case of strlcat better 2001-11-16 04:21:57 +00:00
itojun 26d3d87635 sync comment with latest openbsd code 2001-11-16 04:17:25 +00:00
itojun 3c0303a158 sync with reality; scope identifier comes with the result even without
NI_WITHSCOPEID.
2001-11-15 06:46:33 +00:00
itojun 6c9440f374 make NI_WITHSCOPEID a default (always on), to synchronize with recent 2553bis.
sync with kame.
2001-11-15 04:49:01 +00:00
itojun 72a8eddd96 synchronize with kame better. get rid of #defines for ENI_xx. 2001-11-15 04:38:32 +00:00
christos 66a8284d66 mention that we ignore negative fds. 2001-11-14 18:48:11 +00:00
chris aadbf924e6 Update asm files to use sp instead of r13. Also tweak a couple of bits in the longjmp code to save an instruction. 2001-11-13 20:04:52 +00:00
chris d4ffdc1db0 Update arm libc files for 8 byte aligned stack. 2001-11-13 20:03:38 +00:00
tv 7df9c95b77 Only put LintSys*.c in DPSRCS; the others are static files. 2001-11-13 19:16:41 +00:00
tv c750bb2e19 Clean up a little more (DPSRCS already goes in CLEANFILES; reduce
redundancy of DPSRCS).
2001-11-13 18:57:47 +00:00
tv 75b1d2a008 No need for the .for in this case (holdover from earlier noncommitted
version of the simplification).
2001-11-13 18:46:17 +00:00
tv 68e6fca807 Make this match the new .S extension of syscalls. 2001-11-13 18:39:10 +00:00
tv f4381c7fc4 Make previous a bit cleaner, too: just refer to all these files by the
.S extension; no need to do all the :.o=.S transforms.
2001-11-13 16:03:53 +00:00
tv c22bb3e6fb Fix backslash typo in previous. 2001-11-13 15:20:34 +00:00
tv 2eb12ec596 Make the generation of syscall stubs a lot more reliable by generating real
`.S' files and letting <bsd.sys.mk> and <bsd.lib.mk> compile them like every
other .S file.  The compilation options passed to ${CC} are still correct.

Also make sure LintSysPseudoNoerr.c gets removed on "make clean".
2001-11-13 15:12:01 +00:00
bjh21 49ddb29842 Fix .type directive to use the right name for L_ffs_table (pointed out by
Ian Fry).

Also, add RCSID and fix some comments.
2001-11-13 13:07:52 +00:00
chris 6829afaed3 Update the libc version of ffs to make use of an optimsed asm version. 2001-11-11 22:05:18 +00:00
bjh21 4da598993d Rename a parameter to fix build problem with new toolchain. 2001-11-08 22:45:45 +00:00
tron b1d32d0e07 Rename a parameter to fix build problem with new toolchain. 2001-11-08 11:24:07 +00:00
enami 6023422f9d Fix -Wshadow warnings. 2001-11-08 06:51:05 +00:00
drochner f0f40184c9 -Wshadow fix 2001-11-07 17:56:32 +00:00
drochner dacd4ae4c5 cpoy from the 040 version: -Wshadow warning fix 2001-11-07 17:55:42 +00:00
mjl d1960d6679 fix for -Wshadow 2001-11-07 17:46:21 +00:00
chs 5f13639b8f fix for -Wshadow 2001-11-07 15:45:12 +00:00
drochner f3b5b119ec fix -Wshadow warnings 2001-11-07 13:44:58 +00:00
lukem 4da6558c5a Close socket correctly in three places.
Fixes various problems such as inetd not reloading correctly.
Fix provided by Michael van Elst in [lib/14454] - thanks!
Should also fix [bin/12651] and [bin/13657]
2001-11-04 14:43:55 +00:00
lukem 50f5afd52e fix WARNS=2 (-Wshadow) warnings 2001-11-04 13:57:29 +00:00
kleink e8befb717e Inspired by Stevens' APUE and the implementation example in XSH:
* Don't return if wait()ing for the child is interrupted.
* Fix a race condition for the parent's SIG{INT,QUIT} disposition.
* While we're here, convert from using signal(3) to sigaction(2).
2001-10-31 13:31:26 +00:00
kml 1d2a82ea66 Added descriptions of the new sysctls for controlling the disposition
of IPv4 routes added via redirects, rediraccept and redirtimeout.
2001-10-30 06:43:21 +00:00
bjh21 ffbd94556b Change isnan() and isinf() to use a union to convert from double to
struct ieee_double, rather than a pointer cast.  This seems to enable
GCC 2.95.3 to get the instruction dependencies right (the old one fell
foul of ANSI aliasing rules), and it also generates more sensible code in
general.

If this is the correct solution, it should be applied to the other ports.
If it's not, someone should come up with one that _is_ correct.
2001-10-29 20:16:55 +00:00
bjh21 6a56d71ffa Handle machines using VFP-format doubles (as we do in ARM ELF) and big-endian
systems correctly.
2001-10-28 12:40:56 +00:00
yamt 9de0432262 remove #if define(lint).
we don't need it anymore since lint has been fixed.
2001-10-28 12:08:43 +00:00
kleink 98a839573a Partially back out previous: don't apply restrict qualifier to pointer
to function.
2001-10-28 05:12:31 +00:00
kleink e281efeeaa Sprinkle some __restrict into <glob.h>. 2001-10-27 15:35:19 +00:00
yamt 1d81d04484 avoid leaks in the case of error. 2001-10-25 02:02:02 +00:00
kleink ed4867ab7e Reduce the ties to `inode'. 2001-10-23 09:26:59 +00:00
mycroft 78cb33d965 Should have done this years ago...
Add a warning about the separability of the PROT_* flags.
2001-10-23 02:10:23 +00:00
wiz 2a5b4efdf5 sort sections 2001-10-22 23:47:01 +00:00
kleink bec52f0825 Add a reference to recv(2) as well. 2001-10-22 22:29:39 +00:00
kleink 38c46d1f11 Sprinkle some __restrict into <sys/socket.h>. 2001-10-22 20:59:02 +00:00
kleink 603265f3fd Bump to 12.80: added sockatmark(3). 2001-10-22 17:54:52 +00:00
kleink d4c0d0f2a2 Add a sockatmark(3), the 1003.1g wrapper around SIOCATMARK. 2001-10-22 17:53:43 +00:00
jmc 5e189cb036 Convert to using standard headers/types for values within here.
Wrap the RuneState struct so it only gets visibity to the library compiles
(userland tools such as mklocale don't need to set/get states)
2001-10-20 06:01:13 +00:00
jmc 1919be32df Change the magic -3 for the invalid rune to
#define _DEFAULT_INVALID_RUNE -3

and use it accordingly. Also provides a representation programs such as
mklocale can reference when filling out a new locale from a definition.
2001-10-20 05:59:35 +00:00
tv fbc7a97b48 Remove files beginning with ":", which is invalid on other host OS's
(particularly those made by Microsoft).  These ex/vi-macro files are not
actually needed at this point, anyway....
2001-10-19 02:43:26 +00:00
itojun 28ba4f6ef7 bring in new net.inet6.icmp6.nodeinfo description. 2001-10-18 09:14:29 +00:00