peter
8864908b30
Fix nasty bracketing/precedence bug. Every time something read (and
...
refilled) a file that was either line- or un-buffered, all files were
flushed. According to the code comment, the flush (according to ANSI)
is supposed to happen on write + line buffered output files, not _all_
files.
Obtained from: OpenBSD / Theo de Raadt, possibly from proven@cygnus.com
1996-08-13 17:49:45 +00:00
ache
3582282621
Back out fallback approximation changes, they are not so right to live
1996-08-13 17:03:18 +00:00
ache
e57e1386da
Add collate_range_cmp
1996-08-13 14:55:09 +00:00
ache
985cc27c6e
Back out minor bumping per Peter suggestion
1996-08-13 14:37:53 +00:00
ache
23869d1bec
simplify/speedup/extend
1996-08-13 13:38:35 +00:00
ache
0b0b4007a5
Bump minor number - new function added
1996-08-13 10:00:35 +00:00
ache
37b883e483
Remove old version hooks
1996-08-12 19:18:47 +00:00
ache
e16ff27bc9
Convert to newly aded collate compare function
1996-08-12 18:56:38 +00:00
ache
9ed39675f3
Convert to newly aded collate compare function
1996-08-12 18:49:54 +00:00
ache
a1ee197cd8
There is so many places where range comparation (using collate)
...
needed (much more than I think initially), so I forced to add
new user-visible non-standard function to libc.
1996-08-12 18:38:49 +00:00
peter
2d89633b49
clear sockaddr_in's on stack before use
...
set sin_len
close one ftp port bounce attack
have rresvport() use bindresvport() rather than duplicate the code,
rresvport() is a superset of bindresvport().
Obtained from: OpenBSD / Jason Downs / Theo de Raadt, minor tweaks by me.
1996-08-12 14:14:09 +00:00
peter
26016a2945
Use the more robust and more efficient reserved port allocation mechanism
...
now built into bind(2).
Obtained from: OpenBSD / Jason Downs / Theo de Raadt
1996-08-12 14:09:46 +00:00
peter
9251f2fa6d
clear various struct sockaddr_in's on stack, set sin_len.
...
(Noticed when comparing to OpenBSD source)
1996-08-12 14:00:26 +00:00
ache
045882bc73
Use collate info for alpha character ranges
...
8bit cleanup
1996-08-12 12:13:16 +00:00
ache
fda5493376
Use collate for alpha character ranges
1996-08-12 04:03:50 +00:00
ache
01ab307656
Remove static collcmp, use new internal function now
1996-08-12 03:51:16 +00:00
ache
34c45fbcd2
Remove static collcmp, ise new internal function now
1996-08-12 03:45:53 +00:00
ache
fe15588093
Add internal function __collcmp once instead of adding it statically
...
to many places in the libc
1996-08-12 03:40:37 +00:00
ache
9b7a3d641b
Use collate for alpha character ranges
1996-08-12 02:00:56 +00:00
ache
700d7fa2cf
8bit cleaness (ctype) fixes
1996-08-11 19:20:30 +00:00
ache
c5d1240658
Use collate data for national alpha character ranges like [a-z]
1996-08-11 16:08:17 +00:00
ache
0a233b14ad
Short value is better for hash due to easy overflow in 8bit characters
1996-08-11 11:49:23 +00:00
ache
4fd7b57b44
Use locale for character classes instead of hardcoded values
...
Misc 8bit cleanup
1996-08-11 11:42:03 +00:00
jkh
c17991c39f
Yeesh! I shouldn't have looked. Fix a whole bunch more. Pray
...
for ncurses to replace this soon.
1996-08-10 13:37:02 +00:00
jkh
3713fb73db
Fix an exceedingly confusing typo.
1996-08-10 13:30:11 +00:00
mpp
59f4464fdf
Remove some hardcode *roff font change escape codes from
...
this man page to prevent half of it from coming out with underlines.
This man page needs to be gone over to fully convert it to mdoc format.
This closes PR#1440.
Submitted by: Jens Schweikhardt <schweikhardt@rus.uni-stuttgart.de>
1996-08-06 22:42:23 +00:00
mpp
cec5f6b6fc
Correct the paramter type of the second argument to fgets.
...
Obtained from: NetBSD-bugs mailing list
1996-08-06 22:34:44 +00:00
jkh
18566fcf8c
1. Add verbose flag to ftp_login()
...
2. Remove pkg_* support - tcl7.5's channel interface has rendered this
almost entirely unsupportable (at least in the way it currently stands).
Submitted-By: jmz & jkh
1996-08-03 11:58:54 +00:00
bde
fc5a0ca820
Document that the relevant clock ticks are for the statistics clock
...
and that the statistics clock has a frequency of sysconf(_SC_CLK_TCK).
1996-07-30 17:32:49 +00:00
bde
7c61a24ee0
Document that clock ticks are for the profiling clock and that the
...
clock frequency is stored in the gmon header.
1996-07-30 17:26:34 +00:00
bde
7dd6216987
Fixed description of _SC_CLK_TCK. Both the clock and the units
...
were wrong.
1996-07-30 17:15:09 +00:00
bde
f1ad4ec65c
Fixed comment about ru_maxrss. This field isn't an integral.
1996-07-30 17:06:44 +00:00
peter
e7b3c55b35
Fix some of the problems that bde pointed out to me some time ago.
...
- buffer expansions were not working right due to a return code botch.
- signed types instead of size_t's meant somebody else went and put
casts in, I've changed the types to what they should have been.
1996-07-28 16:16:11 +00:00
wollman
5e3cc6713a
Refer to the ASCII character 000 by its proper name, `NUL', and not
...
`NULL' (which should only be used in reference to null pointers). Also
fix a cross-reference.
1996-07-25 18:31:08 +00:00
wollman
17f756aa92
Finish rename of KERN_DOMAINNAME to KERN_NISDOMAINNAME.
...
Suggested by: Keith Bostic
1996-07-25 18:03:53 +00:00
phk
9cd4b14f36
Fix a memory leak in MD[245]End()
...
Submitted by: Ikuo Nakagawa <ikuo@isl.intec.co.jp>
PR: misc/1424
1996-07-24 20:55:38 +00:00
pst
6045d6e6c4
Bring in fixes to db 1.85 from NetBSD. These fixes have been documented as
...
being sent back to Bostic by the NetBSD crew.
Obtained from: NetBSD-current
1996-07-21 02:23:13 +00:00
dyson
3a719a8e80
Document madvise(2) as it is in FreeBSD.
1996-07-20 04:37:26 +00:00
mpp
4bffdff251
The previous change to alarm.3 to improve the wording
...
was still somewhat confusing and poorly worded. So I took
the alarm.3 man page from NetBSD, which looked much
better all around.
Obtained from: NetBSD
1996-07-19 22:19:08 +00:00
wollman
64a37df463
Revert to old version of strftime.c; the new one doesn't work right.
1996-07-19 15:17:44 +00:00
adam
bf14e2db16
the previous text was absurd, and wrong
1996-07-19 13:07:42 +00:00
wollman
cef449d33e
Merge the recently-imported tzcode96h distribution (libc portion). The
...
part that does zic(8)/zdump(8) is still yet to be imported (but the old
zic and zdump will work just fine with these header files and the
data format has not changed).
1996-07-18 18:53:15 +00:00
wpaul
5e0e1f9d4b
In _yp_dobind(), if we find ourselves required to contact the local ypbind
...
directly in order to obtain binding information, check that the local
ypbind is using a reserved port and return YPERR_YPBIND if it isn't.
We should not trust any ypbind running on a port >= IPPORT_RESERVED;
it may have been started by a malicious user hoping to trick us into
talking to a bogus ypserv.
Note that we do not check the ypserv port returned to us from ypbind.
It is assumed that ypbind has already done a reserved port test (or not,
depending on whether or not it was started with -s); if we trust the
authenticity of the local ypbind, we should also trust its judgement.
Obtained from: OpenBSD
1996-07-13 20:23:13 +00:00
wollman
98cc10dc12
Include the proper header file (<unistd.h>) and declare [gs]etdomainname()
...
with the correct return type. This does not include the renaming
of KERN_DOMAINNAME to KERN_NISDOMAINNAME.
Pointed-out-by: Keith Bostic
1996-07-12 19:55:20 +00:00
jkh
a3b50e31fd
General -Wall warning cleanup, part I.
...
Submitted-By: Kent Vander Velden <graphix@iastate.edu>
1996-07-12 18:57:58 +00:00
jkh
a0dc234108
Cast lseek arguments appropriately.
...
Submitted-By: "Frank ten Wolde" <franky@pinewood.nl>
1996-07-09 12:17:46 +00:00
wosch
d2d569ce0c
add references lstat(2), readlink(2), symlink(7) in section SEE ALSO
1996-07-07 12:52:51 +00:00
jkh
4639ec0587
Implement an ftpVerbose() hook.
...
Submitted by: jmz
1996-07-04 00:55:21 +00:00
phk
e59fd230ba
Isolated all the crap for thread-safe so I can see what goes on again...
1996-07-03 05:03:07 +00:00
mpp
e9900710c2
Describe the "file pointer" in lseeks' man page a bit better
...
so that it is less likely someone will confuse it with a
"FILE *" type pointer.
Submitted by: Based on James Raynard's patch
1996-07-03 02:55:10 +00:00