Commit Graph

3166 Commits

Author SHA1 Message Date
brian
77904396f8 sys/errno.h -> errno.h 1999-09-21 01:26:49 +00:00
wes
fc37cb4477 Fixed the description of when and why aio_suspend returns.
Also spelled out the return values and conditions a little
better.

Noticed by:	John Polstra <jdp@polstra.com>
1999-09-20 18:30:55 +00:00
markm
9bc938e5c5 Big code cleanup. (Inspired by Brandon Gillespie). Also move as
much as possible away from secure/ to make extending easier.
1999-09-20 12:45:49 +00:00
phantom
353c1a6746 Correct spelling : ascii -> ASCII
PR:		docs/13702
Submitted by:	Stephen J. Roznowski <sjr@home.com>
Reviewed by:	mpp
1999-09-20 09:15:23 +00:00
markm
68941a839a Common Error libraries are needed here. 1999-09-20 06:23:16 +00:00
phantom
33cff55651 Fix typo
PR:		docs/13814
Submitted by:	Alex Vasylenko <lxv@mix.nest.org>
1999-09-19 17:57:35 +00:00
phk
d879133e0b Add a version number field to the jail(2) argument so that future changes
can be handled intelligently.
1999-09-19 08:36:03 +00:00
obrien
986212ba0d The existing libxpg4.so.2.0 didn't support zh_TW.Big5 locale.
PR:		13623
Submitted by:	jtjang@gcn.net.tw
1999-09-14 08:41:09 +00:00
dt
b96c3bcd66 __collate_substitute() do something non-trivial only for German. For everyone
else, it is equivalent to strdup(). So, we will check if  the substitution
tables are trivial at the load time, and possibly save 2 calls to
__collate_substitute() in strcoll().

Still, __collate_substitute() should not exist.
1999-09-12 21:15:28 +00:00
dt
78e49a27cc Reduce time of __collate_substitute() from O(strlen(s)^2) to O(strlen(s)).
Other minor optimizations. I got ~30% speedup in strcoll() for 50 char strings,
~40% speedup for 100 char strings, and unmeasurable speedup for 1M strings.

Collates are still terribly slow. To make them reasonable fast,
__collate_substitute() should be killed.
1999-09-12 19:42:38 +00:00
ken
d9de85e5aa Fix a file descriptor leak in cam_open_btl(). The xpt device was opened,
but never closed.

Submitted by:	amobbs@allstor-sw.co.uk
1999-09-12 19:40:20 +00:00
dt
563a7a9ae1 Implement new format specifier for strftime: %OB, alternative national
representation of the full month name. In the Russian locale, this alternative
will be "nominative case", useful when the date designate month as a whole.
E.g. month heading in a calendar. I hope it can be useful for some other
locales too.

Discussed with:	wollman, ache
1999-09-11 21:35:21 +00:00
alfred
61e17cfe0e Add FreeBSD history in 'HISTORY'
Pointed out by: obrien
1999-09-11 21:07:14 +00:00
dfr
d9e5c7d5f2 Change toupper/tolower so that they don't give a bogus answer if the
argument is already upper/lower.
1999-09-11 17:54:37 +00:00
bde
8466686260 Fixed disordering in previous commit. 1999-09-11 14:20:18 +00:00
alfred
44374643d1 Document fhopen, fhstat, and fhstatfs syscalls.
Obtained from:	NetBSD
1999-09-11 00:49:10 +00:00
ru
25ec57cdd2 - Optimization to the previous (rev 1.15) commit.
Requested by:	eivind
Discussed with:	eivind
Reviewed by:	brian, eivind
1999-09-10 15:27:34 +00:00
alfred
3e3c6eb3dd sync with src/sys/sys/mount.h 1999-09-10 09:12:24 +00:00
billf
d475da4456 Add aio_{cancel,error,return,suspend,write} into the mix.
Submitted by:	Dan Nelson <dnelson@emsphone.com>
Forgotten by:	mpp
1999-09-09 19:06:57 +00:00
ru
55c2ca09dd Handle TCP reset sequence properly.
In the words of originator:
:If an incoming connection is initiated through natd and deny_incoming is
:not set, then a new alias_link structure is created to handle the link.
:If there is nothing listening for the incoming connection, then the kernel
:responds with a RST for the connection. However, this is not processed
:correctly in libalias/alias.c:TcpMonitor{In,Out} and
:libalias/alias_db.c:SetState{In,Out} as it thinks a connection
:has been established and therefore applies a timeout of 86400 seconds
:to the link.
:
:If many of these half-connections are initiated (during, for example, a
:port scan of the host), then many thousands of unnecessary links are
:created and the resident size of natd balloons to 20MB or more.

PR:		13639
Reviewed by:	brian
1999-09-09 13:42:51 +00:00
ru
0546c618c1 Fix typo. 1999-09-08 16:37:14 +00:00
ru
2a9e7395d5 - add reference to siginterrupt(3)
- mdoc(7) fixes
1999-09-06 15:15:51 +00:00
des
389c23d617 Don't forget to reset _pw_stepping_yp to 0 before returning. Fixes a bug
where getpwent() would ignore wildcard entries that followed a netgroup
entry.

PR:		misc/12999
Submitted by:	David Hedley <david@inty.net>
1999-09-06 08:04:43 +00:00
peter
500e1007e7 Zap $Source$ 1999-09-06 07:41:34 +00:00
peter
a9495c7697 Zap $Locker$ 1999-09-06 07:40:41 +00:00
peter
93f9277c83 Tidy up $Log$ debris. 1999-09-05 17:42:45 +00:00
peter
4210b0b43e Connect libform/libpanel/libmenu. 1999-09-05 07:55:37 +00:00
phantom
3253dfed5c Some style and "look" fixes
Reviewed by:	mpp
1999-09-05 07:02:22 +00:00
phantom
189bace3d7 Name Description (.Nd macro) added.
Style and punctuation errors fixes.
ERRORS section included to RETURN VALUES because it's
describing return values instead of errors and their handling.

Reviewed by:	mpp
1999-09-05 06:59:34 +00:00
phantom
8ee1c94698 mdoc(7) style fix.
Correct RB_* values list bounds.

Reviewed by:	mpp
1999-09-05 06:50:49 +00:00
phantom
f02290dd56 mdoc(7) style fix: FreeBSD -> .Fx
Reviewed by:	mpp
1999-09-05 06:47:01 +00:00
phantom
de4332c719 Remove useless .Fn macro suffix
Reviewed by:	mpp
1999-09-05 06:41:49 +00:00
phantom
68a54f2ec3 mdoc style fix.
Reviewed by:	mpp
1999-09-05 06:39:22 +00:00
phantom
89a80b07ca mdoc(7) style fixes
Reviewed by:	mpp
1999-09-05 06:37:01 +00:00
peter
8fbd2adcbb Add bmake glue for libform (the SVSV-style ETI curses form driver from
ncurses)
1999-09-05 05:37:49 +00:00
peter
e59b1e9158 Add bmake glue for libpanel (the SVSV-style ETI curses panel (overlapping
layers) driver from ncurses)
1999-09-05 05:36:12 +00:00
peter
2472abbaf2 Add bmake glue for libmenu (the SVSV-style ETI curses menu driver from
ncurses)
1999-09-05 05:32:46 +00:00
phantom
5e3e53cfb3 Spelling and grammar error fix.
mdoc(7)'fy.

PR:		docs/13406
Submitted by:	Garret Woolman <woolman@khavrinen.lcs.mit.edu>
Reviewed by:	mpp
1999-09-04 15:56:51 +00:00
bde
01b1ff17a9 Fixed disorder in comments.
Build libncurses early again (it had drifted into set of libraries that
have no ordering requirements, but it must be built before libedit here
and before some gnu libraries in ../Makefile.inc1).
1999-09-04 13:08:35 +00:00
markm
3f27ca1140 Build this from contrib/ now. 1999-09-04 09:52:36 +00:00
luoqi
4c5411b984 Use definitions provided in sysarch.h for args structures.
Reviewed by:	marcel
1999-09-02 21:03:32 +00:00
imp
c137e13b4e Fix the root cause of the fts buffer overflow. This is a temporary
patch to stop the core dumps while others come up with a better
reviewed patch which may also fix other problems.  We do illegal
pointer arithmetic, but it should be OK since FreeBSD only supports
machines with flat address spaces.

Submitted by: bde
1999-09-02 07:45:07 +00:00
markm
0fd2997590 Make the libcrypt's build in the correct order. 1999-09-01 09:12:16 +00:00
peter
3dd8d23249 Update a comment regarding dependencies on libtermcap and curses etc. 1999-09-01 06:21:52 +00:00
peter
61eef2dc35 Add a missing dependency for make_hash which could make various forms of
make -jN fail.  This fixes the present problem only, not the larger one
of when those internal tools are built and the cross-compiling etc.

Submitted by:	luoqi
1999-09-01 05:14:57 +00:00
sheldonh
cf4c04192a Back out previous commit. I mistook passing commentary from bde for
review.

Requested by:	bde
1999-08-31 13:11:39 +00:00
dt
67ba4fb168 Make SYMLINKS relative. SYMLINKS are supposed to be relative, and for this
reason ${DESTDIR} isn't added to the symlink source.
1999-08-30 23:15:40 +00:00
dt
0c0843ee5c Fix a memory leak: free the thread-specific poll_data, used in the select()
implementation.

PR:		13368
Submitted by:	Steve Bernacki, Jr. <steve@copacetic.net>
1999-08-30 15:45:42 +00:00
sheldonh
addfa1409d Only issue a warning for the first occurrence of a UID > USHRT_MAX and
the first occurrence of a GID > USHRT_MAX.

PR:	13344
Reviewed by:	bde
1999-08-30 09:55:42 +00:00
peter
e0e032b103 Don't build libtermcap, libcurses, libmytinfo, just libncurses. 1999-08-30 08:15:02 +00:00