Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add a manual page for wcswidth(). | tjr | 2002-08-20 | 2 | -1/+62 |
| | |||||
* | Move just committed version of wcswidth.c here (from "locale"), | ache | 2002-08-20 | 2 | -25/+31 |
| | | | | a bit optimized now. | ||||
* | Remove wcswidth.c from here (and move it to "string") | ache | 2002-08-20 | 2 | -65/+1 |
| | |||||
* | Remove space at the end of continuation line in prev. commit | ache | 2002-08-20 | 1 | -1/+1 |
| | |||||
* | xdr.3 is added to MAN in ../xdr/Makefile.inc where it belongs, so don't | bde | 2002-08-19 | 1 | -1/+1 |
| | | | | add it here. | ||||
* | Implement wcswidth() | ache | 2002-08-19 | 2 | -2/+66 |
| | |||||
* | Use modern-style arguments declaration | ache | 2002-08-19 | 1 | -2/+1 |
| | |||||
* | Write null wide-character as L'\0' like in other places | ache | 2002-08-19 | 1 | -1/+1 |
| | |||||
* | According to SUSv2, always return 0 for null wide-character code | ache | 2002-08-19 | 1 | -1/+6 |
| | |||||
* | s/trailing NULL/trailing NUL/ | jmallett | 2002-08-19 | 2 | -2/+2 |
| | |||||
* | Move internal defines from ctype.h here | ache | 2002-08-19 | 1 | -0/+4 |
| | |||||
* | Leave room for a trailing NUL not a NULL, that's not an ASCII character. | jmallett | 2002-08-19 | 2 | -2/+2 |
| | |||||
* | Implement the ISO C90 Amd.1 restartable wide and multibyte character | tjr | 2002-08-18 | 13 | -4/+1020 |
| | | | | | manipulation functions mbrlen(), mbrtowc(), mbsinit(), mbsrtowcs(), wcrtomb(), wcsrtombs(). | ||||
* | Move wcwidth() to separate file, it doesn't belong to iswctype.c at all | ache | 2002-08-17 | 3 | -11/+58 |
| | |||||
* | According to SUSv2, wcwidth() should return -1 for non-printing characters | ache | 2002-08-17 | 1 | -1/+1 |
| | |||||
* | Cosmetic - remove unneded brackets and #undef | ache | 2002-08-17 | 2 | -41/+40 |
| | |||||
* | wcwidth: fix espression to work correctly with SWIDTH0 | ache | 2002-08-17 | 1 | -2/+4 |
| | |||||
* | Fix libc build breakage by defining FSTYPENAMES before including | bmilekic | 2002-08-16 | 1 | -0/+1 |
| | | | | | | | disklabel.h; broken originally by 1.87 of sys/disklabel.h, which made the split between DKTYPENAMES and FSTYPENAMES. Someone who knows disklabel.c: do we still need DKTYPENAMES to be defined here now? | ||||
* | Add iswctype wcwidth function code | keichii | 2002-08-16 | 1 | -0/+10 |
| | | | | | | | Submitted by: clkao@clkao.org Reviewed by: keichii Obtained from: NetBSD MFC after: 1 month | ||||
* | Hide 'struct ucred' behind '#ifdef _KERNEL', this should stop userland | alfred | 2002-08-16 | 1 | -0/+3 |
| | | | | | | | from attempting to use it for good. There is a catch, kvm_proc.c needs to '#define _KERNEL' to get at the ucred. Requested by: rwatson | ||||
* | Add LOGIN_SETMAC, which will indicate to the user context management code | rwatson | 2002-08-16 | 1 | -1/+2 |
| | | | | | | | | that it should also set the user's default MAC label, if available and permitted. Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs | ||||
* | - Fix a bug that wrote one char behind the end of the | robert | 2002-08-15 | 1 | -6/+3 |
| | | | | | | | | | | | | | | supplied buffer in case the size of it was equal to the number of characters the converted address consumed. The bug occurred when converting an AF_INET address. - Remove the SPRINTF macro and use sprintf instead. - Do not do string formatting using sprintf(3) and a temporary buffer which is copied when the supplied buffer provides enough space. Instead, use snprintf(3) and the real destination buffer, thus avoid the copy. Reported by: Stefan Farfeleder <e0026813@stud3.tuwien.ac.at> (1) PR: misc/41289 | ||||
* | Put each function argument on its own line to keep lines shorter | robert | 2002-08-15 | 1 | -1/+6 |
| | | | | than 80 columns. | ||||
* | Use one line for each function argument to keep the line | robert | 2002-08-15 | 2 | -2/+11 |
| | | | | | | | width smaller than 80 columns. Thanks to Ruslan for an explanation of multiple ways to achieve this. | ||||
* | Removed duplicated MLINKS which make(1) recently started warning about. | bde | 2002-08-15 | 1 | -2/+0 |
| | |||||
* | Include <stdlib.h> to have abort() and exit() declared. | robert | 2002-08-15 | 1 | -0/+1 |
| | |||||
* | - For compliance with IEEE Std 1003.1-2001, add the 'restrict' | robert | 2002-08-15 | 5 | -17/+11 |
| | | | | | | qualifier to function prototypes and definitions where appropriate using the '__restrict' macro. - Update the manual page. | ||||
* | - Introduce the 'restrict' qualifier to function prototypes and | robert | 2002-08-15 | 5 | -8/+8 |
| | | | | | definitions to comply with IEEE Std 1003.1-2001. - Update the manual pages. | ||||
* | - Add the 'restrict' qualifier to the function prototypes and | robert | 2002-08-15 | 12 | -41/+17 |
| | | | | | | | | definitions of the functions that convert strings to numbers and are defined by IEEE Std 1003-1.2001. - Use ANSI-C function definitions for all of the functions mentioned above plus strtouq and strtoq. - Update the prototypes in the manual pages. | ||||
* | - Add the 'restrict' qualifier to the function definitions and | robert | 2002-08-14 | 3 | -10/+4 |
| | | | | | | | | public prototypes of setbuf(3) and setvbuf(3) using the '__restrict' macro from <sys/cdefs.h> to be compliant with IEEE Std 1003.1-2001. - Replace the K&R with ANSI-C function definitions. - Bring the manual page up-to-date. | ||||
* | - Add the 'restrict' qualifier to the function definition of | robert | 2002-08-14 | 2 | -7/+5 |
| | | | | | | | | | strftime(3) for IEEE Std 1003.1-2001 compliance and remove excessive usage of the 'const' qualifier that was neither present in the prototype in the publice header, nor in the local prototype just above the function definition. - Replace the K&R function definition with a ANSI-C one. - Update the prototype of strftime(3) in its manual page. | ||||
* | - Add the 'restrict' qualifier to the definitions of the string | robert | 2002-08-14 | 6 | -18/+8 |
| | | | | | | | concatenation and copy functions using the '__restrict' macro. This is to satisfy IEEE Std 1003-1.2001. - Use ANSI-C function definitions. - Add the 'restrict' keyword to the manual pages, too. | ||||
* | - Add the C99 'restrict' qualifier using the '__restrict' macro to | robert | 2002-08-14 | 2 | -2/+3 |
| | | | | | function prototype and definition of strptime(3). - Update the manual page. | ||||
* | Use "ugidfw.h" rather than <ugidfw.h> so that mkdep can find it. | rwatson | 2002-08-14 | 1 | -1/+1 |
| | | | | Suggested by: mike | ||||
* | - Add the 'restrict' qualifier to match the IEEE Std 1003.1-2001 | robert | 2002-08-14 | 2 | -7/+11 |
| | | | | | | | prototype of the tdelete(3) function. - Remove duplicated space. - Use an ANSI-C function definition for tdelete(3). - Update the manual page. | ||||
* | - Add the 'restrict' qualifier required by IEEE Std 1003.1-2001 | robert | 2002-08-14 | 2 | -5/+2 |
| | | | | | | | to the function definition of strxfrm(3) in form of our '__restrict' macro. - Use an ANSI-C function definition for strxfrm(3). - Change the manual page accordingly. | ||||
* | -Add the restrict required by IEEE Std 1003.1-2001 in form | robert | 2002-08-14 | 3 | -25/+9 |
| | | | | | | | of our __restrict macro to the prototypes and function definitions of inet_pton and inet_ntop. - Use ANSI-C function argument lists. - Adjust the prototypes in the manual page. | ||||
* | Unbreak one of the most confusing breaks of the tree I've seen. | phk | 2002-08-13 | 1 | -1/+2 |
| | | | | The last commit cannot possibly have been tested. | ||||
* | Reduce BSS size for programs which not load collate by eliminating | ache | 2002-08-13 | 2 | -10/+13 |
| | | | | static buffer. | ||||
* | Use a union to access the words of a double as this is less likely | dwmalone | 2002-08-13 | 1 | -4/+8 |
| | | | | | | | | | | | | to cause bugs when gcc is more aggressively optimising things. There are still problems with dtoa mentioned in the PR - maybe Dan could suggest a patch. PR: 40209 Submitted by: Dan Lukes <dan@obluda.cz> Approved by: bde MFC after: 2 weeks | ||||
* | can not -> cannot. | ru | 2002-08-13 | 2 | -2/+2 |
| | |||||
* | Tidy up SRCS and MAN assignments. | tjr | 2002-08-13 | 1 | -20/+13 |
| | |||||
* | Remove the Bugs section, which is not relevant to FreeBSD: there is no | tjr | 2002-08-13 | 1 | -2/+0 |
| | | | | one-character ungetwc(3) buffer limit. | ||||
* | FreeBSD-ify: use In macro for header files in Synopsis, St C-99 instead of | tjr | 2002-08-13 | 4 | -12/+12 |
| | | | | St C99 in Standards section. | ||||
* | Basic support for wide character I/O: getwc(), fgetwc(), getwchar(), | tjr | 2002-08-13 | 39 | -12/+846 |
| | | | | putwc(), fputwc(), putwchar(), ungetwc(), fwide(). | ||||
* | Handle the escaped colon \: in a capability. | ru | 2002-08-12 | 2 | -0/+2 |
| | | | | | | PR: bin/30778 Reviewed by: ache, peter MFC after: 3 days | ||||
* | Now malloc() is fixed, remove errno hardcoding to ENOMEM | ache | 2002-08-12 | 1 | -3/+6 |
| | |||||
* | Manual pages for fwide(), getwc(), fgetwc(), getwchar(), putwc(), fputwc(), | tjr | 2002-08-12 | 4 | -0/+417 |
| | | | | | | | putwchar(), ungetwc() from NetBSD and Citrus Project, unmodified except for the addition of $FreeBSD$. Obtained from: NetBSD, Citrus Project | ||||
* | Now, malloc is fixed, remove ENOMEM hardcode | ache | 2002-08-12 | 1 | -12/+11 |
| | |||||
* | Add a missing copyright for Doug. There are other files missing this | dwmalone | 2002-08-11 | 1 | -0/+28 |
| | | | | | | | copyright in -stable. PR: 41397 Submitted by: dfr |