summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Set the error bit on the stream if an encoding error occurs. ImproveTim J. Robbins2002-10-166-15/+52
| | | | | | | handling of multibyte sequences representing null wide characters. Notes: svn path=/head/; revision=105234
* Avoid truncating invalid wide characters that are outside the range ofTim J. Robbins2002-10-161-1/+8
| | | | | | | 'unsigned char'; signal an error instead. Notes: svn path=/head/; revision=105233
* Add a Bugs section and note that fmtcheck() is out of sync with printf();Tim J. Robbins2002-10-161-1/+7
| | | | | | | it does not recognise any of the conversions or modifiers added in C99. Notes: svn path=/head/; revision=105205
* Add support for the XSI %C and %S formats, which are the same as %lcTim J. Robbins2002-10-162-0/+24
| | | | | | | and %ls. Notes: svn path=/head/; revision=105204
* Use kqueue(2) instead of poll(2) to wait for replies and timeoutsIan Dowse2002-10-151-158/+90
| | | | | | | | | | in the UDP RPC client code. As a side-effect, this fixes some bugs that might prevent the RPC call from ever timing out for example if the server keeps responding with the wrong xid. This could probably be simplified further by using the EVFILT_TIMER filter. Notes: svn path=/head/; revision=105189
* fix typo in comments (in preparation for MFC)Max Khon2002-10-151-1/+1
| | | | | | | Approved by: deischen Notes: svn path=/head/; revision=105158
* Add cross-references to the wide character counterparts of these functions.Tim J. Robbins2002-10-154-4/+8
| | | | Notes: svn path=/head/; revision=105150
* Eliminate superfluous memory access in memcpy(3)/memmove(3).Maxim Sobolev2002-10-151-13/+8
| | | | | | | | Obtained from: NetBSD MFC after: 1 week Notes: svn path=/head/; revision=105149
* Remove stray comma at the end of the See Also list.Tim J. Robbins2002-10-151-1/+1
| | | | Notes: svn path=/head/; revision=105148
* Fix to check disk geometry.Yoshihiro Takahashi2002-10-141-1/+18
| | | | | | | Submitted by: kawanobe@st.rim.or.jp (Kawanobe Koh) Notes: svn path=/head/; revision=105105
* Use a weak reference instead of a macro to make vfscanf an aliasTim J. Robbins2002-10-142-0/+4
| | | | | | | for __vfscanf. Notes: svn path=/head/; revision=105098
* Write the strvis()'d string out to the history file in history_save(),Tim J. Robbins2002-10-141-1/+1
| | | | | | | | not the original string. Fixes the bug where every second line of a history file was empty. Notes: svn path=/head/; revision=105095
* FA, FB and FC are lead bytes according to recent Microsoft documentation.Tim J. Robbins2002-10-141-1/+1
| | | | Notes: svn path=/head/; revision=105075
* Style changes. Mainly removing excessive whitespace and parens.Tim J. Robbins2002-10-141-24/+29
| | | | Notes: svn path=/head/; revision=105074
* Dump in $TMPDIR if !setugid, and use mode 0644 instead of 0666.Kris Kennaway2002-10-131-7/+11
| | | | | | | MFC after: 2 weeks Notes: svn path=/head/; revision=105038
* Ignore TMPDIR if the application is setugid.Kris Kennaway2002-10-131-1/+2
| | | | | | | MFC after: 2 weeks Notes: svn path=/head/; revision=105037
* FreeBSD's libedit does not include NetBSD's readline emulation code.Tim J. Robbins2002-10-131-4/+3
| | | | | | | Remove references to it from the Authors and History sections. Notes: svn path=/head/; revision=105032
* Use buffer-safe string functions for paranoia.Kris Kennaway2002-10-121-11/+12
| | | | Notes: svn path=/head/; revision=105007
* Zero memory after malloc. This stops sysinstall from dumping coreKris Kennaway2002-10-121-0/+1
| | | | | | | | | during disk probing with malloc debugging enabled. MFC after: 1 week Notes: svn path=/head/; revision=105005
* Add restrict type-qualifier.Mike Barcroft2002-10-1218-31/+33
| | | | Notes: svn path=/head/; revision=104989
* Cosmetic: use LCMONETARY_SIZE_{FULL,MIN} defines like in other placesAndrey A. Chernov2002-10-121-4/+5
| | | | Notes: svn path=/head/; revision=104982
* Describe the restrictions on seeking on wide character streams, and alsoTim J. Robbins2002-10-121-3/+15
| | | | | | | point out that fseek() clears the ungetwc() buffer. Notes: svn path=/head/; revision=104976
* Fix a typo causing incorrect formatting for negative values in some localesTim J. Robbins2002-10-121-3/+5
| | | | | | | | | (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. Notes: svn path=/head/; revision=104963
* Save errno around calls to free(); at least some code paths clobber itTim J. Robbins2002-10-111-0/+3
| | | | | | | and we are not interested in any errors it may report. Notes: svn path=/head/; revision=104946
* Document the kind of format string strfmon() expects. Sync the ErrorsTim J. Robbins2002-10-111-5/+74
| | | | | | | section with reality. Notes: svn path=/head/; revision=104945
* Use the new struct lconv members to determine how to format internationalTim J. Robbins2002-10-111-1/+12
| | | | | | | monetary values. Notes: svn path=/head/; revision=104944
* Non-negative amounts should not have an extra space in front of themTim J. Robbins2002-10-111-6/+2
| | | | | | | when the `(' flag is used. Notes: svn path=/head/; revision=104943
* "Left precision" and "right precision" are not flags, but separate partsTim J. Robbins2002-10-111-13/+15
| | | | | | | of the format string that appear after the field width. Notes: svn path=/head/; revision=104942
* Zap the early-adopter transition aid before we get into seriousPeter Wemm2002-10-112-5/+1
| | | | | | | | 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. Notes: svn path=/head/; revision=104941
* Build kerberized versions of the PAM library, and install themRuslan Ermilov2002-10-111-0/+8
| | | | | | | | | | into corresponding distributions during "make release". (This also cleans the "slib" distribution up from the .o files.) PR: misc/43825 (inspired by) Notes: svn path=/head/; revision=104902
* Do not allow empty GIDs for non-NIS entries.Maxim Konovalov2002-10-111-0/+7
| | | | | | | MFC after: 2 weeks Notes: svn path=/head/; revision=104891
* Add a UTF-8 encoding method, which will eventually replace the antiqueTim J. Robbins2002-10-1010-9/+349
| | | | | | | | | | "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. Notes: svn path=/head/; revision=104828
* Document that write(2) et al can return EROFS for attempts to write theJens Schweikhardt2002-10-101-0/+7
| | | | | | | | | | | disk label area. PR: 43891 Submitted by: Diomidis D. Spinellis <dds@istlab.dmst.aueb.gr> MFC after: 3 days Notes: svn path=/head/; revision=104813
* Fix another spelling mistake.Robert Drehmel2002-10-101-1/+1
| | | | Notes: svn path=/head/; revision=104780
* Correct a spelling mistake.Robert Drehmel2002-10-101-1/+1
| | | | Notes: svn path=/head/; revision=104779
* Add cross-references to wide character versions of these functions.Tim J. Robbins2002-10-103-3/+6
| | | | Notes: svn path=/head/; revision=104751
* Cross-reference between byte and wide-character stdio functions. RemoveTim J. Robbins2002-10-107-13/+13
| | | | | | | references to fputwc() and fgetwc() being macros while I'm at it. Notes: svn path=/head/; revision=104750
* de-__P()Alfred Perlstein2002-10-091-2/+1
| | | | Notes: svn path=/head/; revision=104742
* Add brief mention of the extattr_*_link() system call variants.Robert Watson2002-10-091-0/+16
| | | | | | | | Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories Notes: svn path=/head/; revision=104737
* Add support for the 6 new C99 struct lconv members dealing with formattingTim J. Robbins2002-10-094-4/+76
| | | | | | | | | | | | 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 Notes: svn path=/head/; revision=104711
* Drop almost 3k from /bin/sync by moving errno to a seperate filePeter Wemm2002-10-093-2/+31
| | | | | | | | | to avoid all syscalls pulling in sys_errlst[]. Noted by: bde Notes: svn path=/head/; revision=104704
* Add note that there is a kernel-imposed limit on the number of threadsArchie Cobbs2002-10-081-0/+7
| | | | | | | in a KSE group that may be simultaneously blocked in the kernel. Notes: svn path=/head/; revision=104690
* Add MLINKS to kse.2.Archie Cobbs2002-10-081-0/+2
| | | | Notes: svn path=/head/; revision=104682
* Fix to support pc98.Yoshihiro Takahashi2002-10-083-0/+12
| | | | Notes: svn path=/head/; revision=104674
* Add a note to the Compatiblity section suggesting that these functionsTim J. Robbins2002-10-0613-13/+162
| | | | | | | | only be used for byte values. Add cross-references to the wide-char counterparts. Notes: svn path=/head/; revision=104562
* Put giant locks due to make getaddrinfo(), getnameinfo()Hajimu UMEMOTO2002-10-062-1/+41
| | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=104558
* Remove rants/whines about the rune interface being superior to theTim J. Robbins2002-10-061-16/+2
| | | | | | | ISO C interface. Notes: svn path=/head/; revision=104553
* Remove a completely incorrect statement from the Return Values section.Tim J. Robbins2002-10-061-5/+6
| | | | | | | Add cross-references to the restartable mulitybte functions (mbrlen(3) etc.) Notes: svn path=/head/; revision=104552
* Once again, remove the i386-specific hacks to save and restoreDaniel Eischen2002-10-051-9/+0
| | | | | | | | | | | 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. Notes: svn path=/head/; revision=104497
* Add restrict type-qualifier to sem_getvalue().Mike Barcroft2002-10-044-4/+4
| | | | Notes: svn path=/head/; revision=104492