kris
78372d114d
Use buffer-safe string functions for paranoia.
2002-10-12 22:03:22 +00:00
kris
ab2f5d80c1
Zero memory after malloc. This stops sysinstall from dumping core
...
during disk probing with malloc debugging enabled.
MFC after: 1 week
2002-10-12 22:01:57 +00:00
mike
4d6bf1c3fb
Add restrict type-qualifier.
2002-10-12 16:13:41 +00:00
ache
6ee6cab0af
Cosmetic: use LCMONETARY_SIZE_{FULL,MIN} defines like in other places
2002-10-12 11:31:07 +00:00
tjr
aaa87a36c4
Describe the restrictions on seeking on wide character streams, and also
...
point out that fseek() clears the ungetwc() buffer.
2002-10-12 09:22:25 +00:00
tjr
cf318b70e5
Fix a typo causing incorrect formatting for negative values in some locales
...
(at least the French ones), a memory leak upon successful termination, a
pointer arithmetic error causing heap corruption, and an off-by-one bug
causing incorrect amounts of padding at the right of the value.
2002-10-12 04:38:35 +00:00
tjr
ce2f2cf1be
Save errno around calls to free(); at least some code paths clobber it
...
and we are not interested in any errors it may report.
2002-10-11 23:31:50 +00:00
tjr
0e791b1f7b
Document the kind of format string strfmon() expects. Sync the Errors
...
section with reality.
2002-10-11 23:17:17 +00:00
tjr
91e28cff5e
Use the new struct lconv members to determine how to format international
...
monetary values.
2002-10-11 23:08:03 +00:00
tjr
27cfe623e7
Non-negative amounts should not have an extra space in front of them
...
when the `(' flag is used.
2002-10-11 23:04:59 +00:00
tjr
5bbd2d0ed6
"Left precision" and "right precision" are not flags, but separate parts
...
of the format string that appear after the field width.
2002-10-11 22:59:22 +00:00
peter
9d7b7c1465
Zap the early-adopter transition aid before we get into serious
...
5.0-R territory, as threatened. This only affects antique 5.0
systems that have not had a 'make world' done for well over a year.
2002-10-11 22:38:17 +00:00
ru
b3c0f70717
Build kerberized versions of the PAM library, and install them
...
into corresponding distributions during "make release". (This
also cleans the "slib" distribution up from the .o files.)
PR: misc/43825 (inspired by)
2002-10-11 14:17:09 +00:00
maxim
7d25fb4f0a
Do not allow empty GIDs for non-NIS entries.
...
MFC after: 2 weeks
2002-10-11 11:35:30 +00:00
tjr
d62abf19a3
Add a UTF-8 encoding method, which will eventually replace the antique
...
"UTF2" method. Although UTF-8 and the old UTF2 encoding are compatible
for 16-bit characters, the new UTF-8 implementation is much more strict
about rejecting malformed input and also handles the full 31 bit range
of characters.
2002-10-10 22:56:18 +00:00
schweikh
c554f3f243
Document that write(2) et al can return EROFS for attempts to write the
...
disk label area.
PR: 43891
Submitted by: Diomidis D. Spinellis <dds@istlab.dmst.aueb.gr>
MFC after: 3 days
2002-10-10 19:16:10 +00:00
robert
b1e943b5c6
Fix another spelling mistake.
2002-10-10 14:16:08 +00:00
robert
32fcba3d7e
Correct a spelling mistake.
2002-10-10 14:14:44 +00:00
tjr
cd46183101
Add cross-references to wide character versions of these functions.
2002-10-10 04:31:57 +00:00
tjr
867a23440c
Cross-reference between byte and wide-character stdio functions. Remove
...
references to fputwc() and fgetwc() being macros while I'm at it.
2002-10-10 04:12:40 +00:00
alfred
4c4e655234
de-__P()
2002-10-09 23:22:11 +00:00
rwatson
ce8274a36c
Add brief mention of the extattr_*_link() system call variants.
...
Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories
2002-10-09 22:26:48 +00:00
tjr
c112e4d2cb
Add support for the 6 new C99 struct lconv members dealing with formatting
...
international monetary values: int_p_cs_precedes, int_n_cs_precedes,
int_p_sep_by_space, int_n_sep_by_space, int_p_sign_posn, int_n_sign_posn.
This should not break existing binaries or LC_MONETARY data files.
Reviewed by: ache
MFC after: 1 month
2002-10-09 09:19:28 +00:00
peter
08cbf20fd9
Drop almost 3k from /bin/sync by moving errno to a seperate file
...
to avoid all syscalls pulling in sys_errlst[].
Noted by: bde
2002-10-09 08:04:24 +00:00
archie
bdbdd1a6d4
Add note that there is a kernel-imposed limit on the number of threads
...
in a KSE group that may be simultaneously blocked in the kernel.
2002-10-08 22:42:42 +00:00
archie
503c2bfc5f
Add MLINKS to kse.2.
2002-10-08 17:43:40 +00:00
nyan
4c34626aa8
Fix to support pc98.
2002-10-08 12:13:19 +00:00
tjr
b5f0d0d8f2
Add a note to the Compatiblity section suggesting that these functions
...
only be used for byte values. Add cross-references to the wide-char
counterparts.
2002-10-06 10:15:38 +00:00
ume
7e81d9c889
Put giant locks due to make getaddrinfo(), getnameinfo()
...
and getipnodeby*() thread-safe.
Our res_*() is not thread-safe. So, we share lock between
getaddrinfo() and getipnodeby*(). Still, we cannot use
getaddrinfo() and getipnodeby*() in conjunction with other
functions which call res_*().
Requested by: many people
2002-10-06 08:43:35 +00:00
tjr
9e7f867aa7
Remove rants/whines about the rune interface being superior to the
...
ISO C interface.
2002-10-06 06:03:23 +00:00
tjr
b3e1209c7a
Remove a completely incorrect statement from the Return Values section.
...
Add cross-references to the restartable mulitybte functions (mbrlen(3) etc.)
2002-10-06 05:58:24 +00:00
deischen
742f14e507
Once again, remove the i386-specific hacks to save and restore
...
the FPU state on receiving and returning from a signal.
The FPU save and restore macros are no longer needed, but
remain defined in case we need to use them again (something
else breaks). They'll be removed permanently once new
syscalls are added to handle the new i386 ucontext size.
2002-10-05 02:22:26 +00:00
mike
cf479e3516
Add restrict type-qualifier to sem_getvalue().
2002-10-04 21:32:00 +00:00
phk
789741b5dc
White-space change only. Move closer to style(9).
2002-10-04 18:10:39 +00:00
ru
6c1c40796f
Minor tweaks to make this manpage readable.
2002-10-04 15:07:39 +00:00
ru
c065224eef
Style.
...
Approved by: phk
2002-10-04 15:06:44 +00:00
phk
cfc2d358d8
Connect libbsdxml (nee libexpat) to the build.
2002-10-04 13:40:39 +00:00
robert
947e91552f
Correct the regressive part of my last commit to these files:
...
use the .Fn macro instead of the .Fo ... .Fc combination to
format function prototypes.
Reminded by: bde
2002-10-04 11:31:00 +00:00
phk
68c8dc8ee7
Ok, concensus was to install libexpat under a "private brandname", and after
...
some deliberation the name "libbsdxml" was chosen since it conveys the two
most important attributes: "Private to FreeBSD" and "XML".
Add a skeleton man-page to give the credit and point for further
documentation. (If somebody wants to write a true mdoc manpage for
this I am sure both the eXpat people and I will be grateful).
(Still not connected to the build)
2002-10-04 11:20:18 +00:00
tjr
f213f77cc2
Add a placeholder implementation of wcscoll() and wcsxfrm() which gives
...
locale-sensitive collation only in single-byte locales, and just does
binary comparison for the others with extended character sets.
2002-10-04 03:18:26 +00:00
peter
ddac698eac
Drop login.c and logwtmp.c from the library build. None of the apps
...
that we build use it, and any that do should be using the official
login()/logwtmp() in libutil.
2002-10-04 00:24:31 +00:00
obrien
ae09b5969d
Add stpcpy(3).
2002-10-03 19:39:20 +00:00
johan
b8f13ad643
Actually implement gzip's -c option. minigzip now also doubles
...
as zcat properly.
PR: 13043
Submitted by: Toshihiko ARAI <toshi@jp.freebsd.org>
Jonathan Towne <jontow@twcny.rr.com>
Approved by: peter, sheldonh (mentor)
MFC After: 2 weeks
2002-10-03 19:30:22 +00:00
ume
6448ec6d62
Allocate 64K recieve buffer for DNS responses.
...
Though res_query.c also defines and refers MAXPACKET, it is not
related to ansbuf. So, I didn't touch res_query.c.
2002-10-03 17:25:33 +00:00
tjr
064f96637b
Improve three instances of questionable or confusing grammar.
2002-10-03 14:09:06 +00:00
tjr
89d813cf15
Add an example.
2002-10-03 14:07:26 +00:00
tjr
e3f15214bf
Document towlower() and towupper() in separate manual pages instead of
...
trying to confusingly document both on the same page. The new manual pages
are based on tolower(3) and toupper(3) instead of the old towlower(3).
2002-10-03 11:23:06 +00:00
tjr
b9c5c09473
Point out that although toupper() and tolower() really accept rune_t's
...
and not just unsigned char's, callers should use towupper() and towlower()
instead when working with wide characters if portability is a concern.
2002-10-03 11:14:00 +00:00
ru
48afd8f904
HTTP authentication got broken in rev. 1.49.
2002-10-03 10:42:19 +00:00
tjr
915a8cf342
towlower() appeared twice in the synopsis; one of the occurrences should
...
have been towupper(). Add towupper() to the Name section while I'm at it.
Obtained from: NetBSD (junyoung)
2002-10-03 10:40:01 +00:00