Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix the NetBSD RCS id's on these files; somehow they were initially | tjr | 2002-10-23 | 2 | -2/+2 |
| | | | | committed with the tags unexpanded. | ||||
* | Reimplement more efficiently, using a single forward scan (like strrchr(3)) | tjr | 2002-10-23 | 1 | -22/+12 |
| | | | | | instead of scanning forwards to find the end of the string then scanning backwards to find the character. | ||||
* | Reimplement, handling the case where c == L'\0' correctly and fixing | tjr | 2002-10-23 | 1 | -21/+7 |
| | | | | some style(9) bugs. | ||||
* | query ip6.arpa then ip6.int for IPv6 reverse lookup. follows RFC3152. | ume | 2002-10-23 | 1 | -51/+77 |
| | | | | | Obtained from: KAME MFC after: 1 week | ||||
* | Add a Standards section, claiming conformance to IEEE Std. 1003.1-2001. | tjr | 2002-10-23 | 1 | -1/+17 |
| | | | | | Also add a note to the Bugs section pointing out that strerror() and perror() share the same static buffer. | ||||
* | Translate to English. | des | 2002-10-23 | 1 | -13/+18 |
| | |||||
* | Replace this wcsncpy() implementation with one based on strncpy.c to fix | tjr | 2002-10-23 | 1 | -26/+32 |
| | | | | | | | two major bugs: - off-by-one overflow when the length of the source string exceeds or equals the destination buffer size. - old version was not padding the destination buffer with null wide chars | ||||
* | Explain to users that they may want to kldload aio. | alfred | 2002-10-22 | 7 | -22/+175 |
| | | | | | | Move Xref sections. Submitted by: Craig Rodrigues <rodrigc@attbi.com> | ||||
* | Rename the libc signal trampoline to __sigtramp to match netbsd. This | jake | 2002-10-22 | 2 | -4/+4 |
| | | | | should allow gdb to detect when we're executing in a signal trampoline. | ||||
* | Reflect MAC kernel/user API changes into the libc MAC implementation. | rwatson | 2002-10-22 | 7 | -247/+398 |
| | | | | | | | | | | | | This removes a lot of complexity, since we basically just reserve space on a retrieval of a label, and pass around strings. Two new elements: (1) consumers of the API must now declare what label elements they are interested in retrieving, or (2) rely on the default provided in a new configuration file, mac.conf. Approved by: re Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories | ||||
* | .Xr mac.3 and posix1e.3 to mac.9. Point at sys/mac.h in posix1e.3. | rwatson | 2002-10-22 | 2 | -3/+5 |
| | | | | | Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories | ||||
* | Unhook the per-policy parsing/printing MAC modules in libc to prepare | rwatson | 2002-10-21 | 7 | -815/+5 |
| | | | | | | | | | to bring in the new MAC label management API. With the new API revision, we have only policy-agnostic code in libc and the base kernel. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories | ||||
* | track gratuitous change to sys/i386/include/reg.h | sam | 2002-10-21 | 2 | -4/+4 |
| | |||||
* | Cross-reference fmtcheck(3). | tjr | 2002-10-20 | 1 | -0/+1 |
| | |||||
* | Give in on the __sF stuff. I have a better fix in mind that is future | peter | 2002-10-19 | 1 | -1/+1 |
| | | | | proof, but this should buy me some time for now. | ||||
* | Indent code example with one tab, not two, for consistency with the rest. | tjr | 2002-10-19 | 1 | -8/+8 |
| | |||||
* | C89 does not specifiy strsep(), so our strsep() implementation cannot | tjr | 2002-10-19 | 1 | -1/+0 |
| | | | | | | conform to it. Obtained from: OpenBSD | ||||
* | The ftok() function has not been in libcompat for quite a while. | tjr | 2002-10-19 | 1 | -3/+0 |
| | |||||
* | Oops. Also provide a lint-compatible unused argument warning killer. | markm | 2002-10-18 | 1 | -0/+4 |
| | |||||
* | ISOfy functions, sort headers and mark unused arguments. | markm | 2002-10-18 | 1 | -13/+6 |
| | |||||
* | Correct the headers needed to use dbopen(3) and friends. | markm | 2002-10-18 | 1 | -1/+2 |
| | |||||
* | Fix off-by-one error when pushing back a multibyte sequence in | tjr | 2002-10-17 | 1 | -2/+6 |
| | | | | wide character class (%l[) and wide string (%ls) conversions. | ||||
* | Make part of the previous change clearer; check flags for SUPPRESS directly | tjr | 2002-10-17 | 1 | -7/+7 |
| | | | | instead of checking whether we're using a temporary buffer. | ||||
* | The field width for single-byte string conversions (%c, %s, %[) is the | tjr | 2002-10-17 | 1 | -33/+88 |
| | | | | | | maximum number of bytes that may be stored in the array, not the maximum number of wide characters to read. The wording of the standard unfortunately does not make this clear. | ||||
* | de-__P() | alfred | 2002-10-16 | 1 | -3/+3 |
| | |||||
* | - Remove the lsearch() and lfind() functions and their manpage from | robert | 2002-10-16 | 3 | -2/+165 |
| | | | | | | | | | the compatibility library libcompat. - Add new implementations of lsearch() and lfind() which conform to IEEE Std 1003.1-2001 to libc. Add a new manual page for them and add them to the makefile. - Add function prototypes for lsearch() and lfind() to the search.h header. | ||||
* | Count field width correctly for suppressed multibyte fields (%*lc, | tjr | 2002-10-16 | 1 | -60/+84 |
| | | | | %*ls, %*l[). | ||||
* | Remove unneeded $FreeBSD$ tags. | robert | 2002-10-16 | 2 | -4/+0 |
| | |||||
* | - Remove the old insque() and remque() functions and their manual | robert | 2002-10-16 | 4 | -5/+144 |
| | | | | | | | | | page from the compatibility library. - Add new implementations of insque() and remque() which conform to IEEE Std 1003.1-2001 to libc. Add a new manual page for them and connect them to the build. - Add the prototypes of insque() and remque() to the search.h header. | ||||
* | Set the error bit on the stream if an encoding error occurs. Improve | tjr | 2002-10-16 | 6 | -15/+52 |
| | | | | handling of multibyte sequences representing null wide characters. | ||||
* | Avoid truncating invalid wide characters that are outside the range of | tjr | 2002-10-16 | 1 | -1/+8 |
| | | | | 'unsigned char'; signal an error instead. | ||||
* | Add a Bugs section and note that fmtcheck() is out of sync with printf(); | tjr | 2002-10-16 | 1 | -1/+7 |
| | | | | it does not recognise any of the conversions or modifiers added in C99. | ||||
* | Add support for the XSI %C and %S formats, which are the same as %lc | tjr | 2002-10-16 | 2 | -0/+24 |
| | | | | and %ls. | ||||
* | Use kqueue(2) instead of poll(2) to wait for replies and timeouts | iedowse | 2002-10-15 | 1 | -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. | ||||
* | Add cross-references to the wide character counterparts of these functions. | tjr | 2002-10-15 | 4 | -4/+8 |
| | |||||
* | Eliminate superfluous memory access in memcpy(3)/memmove(3). | sobomax | 2002-10-15 | 1 | -13/+8 |
| | | | | | Obtained from: NetBSD MFC after: 1 week | ||||
* | Remove stray comma at the end of the See Also list. | tjr | 2002-10-15 | 1 | -1/+1 |
| | |||||
* | Use a weak reference instead of a macro to make vfscanf an alias | tjr | 2002-10-14 | 2 | -0/+4 |
| | | | | for __vfscanf. | ||||
* | FA, FB and FC are lead bytes according to recent Microsoft documentation. | tjr | 2002-10-14 | 1 | -1/+1 |
| | |||||
* | Style changes. Mainly removing excessive whitespace and parens. | tjr | 2002-10-14 | 1 | -24/+29 |
| | |||||
* | Ignore TMPDIR if the application is setugid. | kris | 2002-10-13 | 1 | -1/+2 |
| | | | | MFC after: 2 weeks | ||||
* | Add restrict type-qualifier. | mike | 2002-10-12 | 18 | -31/+33 |
| | |||||
* | Cosmetic: use LCMONETARY_SIZE_{FULL,MIN} defines like in other places | ache | 2002-10-12 | 1 | -4/+5 |
| | |||||
* | Describe the restrictions on seeking on wide character streams, and also | tjr | 2002-10-12 | 1 | -3/+15 |
| | | | | point out that fseek() clears the ungetwc() buffer. | ||||
* | Fix a typo causing incorrect formatting for negative values in some locales | tjr | 2002-10-12 | 1 | -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. | ||||
* | Save errno around calls to free(); at least some code paths clobber it | tjr | 2002-10-11 | 1 | -0/+3 |
| | | | | and we are not interested in any errors it may report. | ||||
* | Document the kind of format string strfmon() expects. Sync the Errors | tjr | 2002-10-11 | 1 | -5/+74 |
| | | | | section with reality. | ||||
* | Use the new struct lconv members to determine how to format international | tjr | 2002-10-11 | 1 | -1/+12 |
| | | | | monetary values. | ||||
* | Non-negative amounts should not have an extra space in front of them | tjr | 2002-10-11 | 1 | -6/+2 |
| | | | | when the `(' flag is used. | ||||
* | "Left precision" and "right precision" are not flags, but separate parts | tjr | 2002-10-11 | 1 | -13/+15 |
| | | | | of the format string that appear after the field width. |