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
kleink
aea3dece2d
Drop a VAX/Tahoe reference (the VAX case wasn't true with the current compiler
...
either).
2001-10-17 13:27:15 +00:00
kleink
481b132673
Remove inclusion of <sys/types.h> from synopsis; it is no longer needed.
2001-10-16 20:09:59 +00:00
wiz
bc1b53873f
Boring whitespace or punctuation fixes.
2001-10-16 16:08:55 +00:00
kleink
4d9619365d
Clean up synopsis somewhat:
...
* only associate S/G interfaces with <sys/uio.h> (and only that header);
* drop <sys/types.h> entirely, as it is no longer needed.
2001-10-16 16:03:35 +00:00
yamt
7368604c8e
- mblen and mbtowc shouldn't return -2.
...
- non-restartable functions shouldn't be restartable.
2001-10-09 10:21:48 +00:00
bjh21
b12979794e
Put back AF_LINK support. This time, all the new code passes lint(1), modulo
...
bin/14175. It should pass lint on a native i386 build, but I can't test that.
2001-10-06 13:59:41 +00:00
bjh21
5a7a518e05
Remove AF_LINK support. It generates lint warnings, and hence won't compile
...
on i386. I'll re-commit once I've understood and fixed the problems.
2001-10-05 20:51:19 +00:00
itojun
84bfe490e4
make it at least compile (there's no /usr/include/net/if_ieee1394.h exist).
...
avoid overrun with snprintf. be careful about snprintf return value.
2001-10-05 01:39:38 +00:00
bjh21
5b533f601d
Extend getnameinfo() to support AF_LINK sockaddrs. The intention is that
...
anything that wants to print a link-layer address should go through here,
rather than re-inventing the wheel.
2001-10-04 23:09:04 +00:00
wiz
cb19ecf339
Actually, we don't have libhesiod -- the functions are in libc.
...
Noted by Gregory McGarry.
2001-10-04 11:27:19 +00:00