Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Minor typo fix: uquad_t -> u_quad_t. | yar | 2002-01-20 | 1 | -1/+1 |
| | |||||
* | mdoc(7) police: add missing markup bits for ``errno''. | ru | 2002-01-09 | 3 | -3/+9 |
| | |||||
* | Back out errno preserving | ache | 2001-12-30 | 7 | -47/+12 |
| | |||||
* | Add "except the handling of errors" into "equivalent to" paragraph. | ache | 2001-12-25 | 3 | -0/+8 |
| | | | | | Pointed by: bde Inspired by: POSIX | ||||
* | Preserve errno. | ache | 2001-12-25 | 5 | -9/+44 |
| | | | | | | | | According to C99: "The functions atof, atoi, atol, and atoll need not affect the value of the integer expression errno on an error. If the value of the result cannot be represented, the behavior is undefined." | ||||
* | * cleanup comments and defines | phantom | 2001-12-14 | 1 | -8/+1 |
| | | | | Reviewed by: bde | ||||
* | mdoc(7) police: fix markup, bump document date. | ru | 2001-12-12 | 2 | -30/+38 |
| | |||||
* | mdoc(7) police: kill HSBs, add missing comma. | ru | 2001-12-12 | 1 | -8/+13 |
| | |||||
* | mdoc(7) police: fix markup. | ru | 2001-12-12 | 1 | -13/+17 |
| | |||||
* | Add my e-mail to copyrights | phantom | 2001-12-11 | 1 | -1/+1 |
| | |||||
* | Get rid of unused anymore file! Alpha works fine with our strtod() now. | phantom | 2001-12-07 | 1 | -2496/+0 |
| | |||||
* | Return 'c' back to signed due to potential comparison problems | ache | 2001-12-07 | 6 | -60/+72 |
| | | | | | | Use simpler test for valid ranges Submitted by: bde | ||||
* | Use the merged strtod.c everywhere. This has been tested on alpha and | peter | 2001-12-02 | 1 | -10/+1 |
| | | | | ia64. | ||||
* | Make it works for non ASCII compatible encodings too. | ache | 2001-12-02 | 6 | -42/+42 |
| | | | | The only assumption left is that 'A'..'Z' 'a'..'z' both are contiguous | ||||
* | Merge NetBSD's changes from netbsd_strtod.c in preparation of | phantom | 2001-11-30 | 1 | -47/+54 |
| | | | | | | | | | removing it from our source tree in order to have one version of strtod() for all arches. netbsd_strtod.c still left in source tree until alpha folks make sure that our native strtod() works as well as NetBSD's one. Reviewed by: peter, bde (some time ago) | ||||
* | Back out national digits support, POSIX explicetely disallows it: | ache | 2001-11-29 | 7 | -30/+30 |
| | | | | | | | | | | | The definition of character class digit requires that only ten characters -the ones defining digits- can be specified; alternate digits (for example, Hindi or Kanji) cannot be specified here. However, the encoding may vary if an implementation supports more than one encoding. The definition of character class xdigit requires that the characters included in character class digit are included here also and allows for different symbols for the hexadecimal digits 10 through 15. | ||||
* | Don't ever assume that isdigit() is always subset of isxdigit() | ache | 2001-11-28 | 6 | -6/+6 |
| | |||||
* | Fix typo | ache | 2001-11-28 | 1 | -1/+1 |
| | |||||
* | Use stricter tests to disallow national digits > 9 | ache | 2001-11-28 | 1 | -14/+14 |
| | | | | Optimize national digits code a bit | ||||
* | Allow national (non-ASCII) digits | ache | 2001-11-28 | 1 | -23/+23 |
| | |||||
* | Implement strtoimax() and strtoumax() | fenner | 2001-11-28 | 5 | -42/+337 |
| | |||||
* | Also mention "long long" in synopsis. | fenner | 2001-11-28 | 1 | -1/+1 |
| | |||||
* | Base 36 is allowed. | fenner | 2001-11-28 | 4 | -4/+4 |
| | |||||
* | Put back base > 35 check. If someone dislike it, plese discuss it with | ache | 2001-11-28 | 4 | -4/+4 |
| | | | | standards group first. | ||||
* | Add atoll(3) to conform POSIX and C99 | ache | 2001-11-28 | 3 | -2/+69 |
| | |||||
* | Understand national (non-ASCII) digits now | ache | 2001-11-28 | 6 | -56/+42 |
| | | | | | Allow bases >=36 again Misc cleanup | ||||
* | Be more explicit about the fact that realloc() might return a | keramida | 2001-11-24 | 1 | -0/+4 |
| | | | | | | | different pointer than the one passed to it. PR: docs/31925 Submitted by: Andrew <andrew@ugh.net.au> | ||||
* | mdoc(7) police: fixed typos and minor markup nits. | ru | 2001-11-21 | 4 | -17/+21 |
| | |||||
* | If 'VX' is given, realloc(foo,0) will bail, it shouldn't. | phk | 2001-11-17 | 1 | -2/+5 |
| | | | | | PR: 29376 Submitted by: Farooq Mela <fmela0@sm.socccd.cc.ca.us> | ||||
* | Correctly call THREAD_UNLOCK() if the recursive call trap is sprung. | phk | 2001-11-16 | 1 | -0/+2 |
| | | | | Pointed out by: knu | ||||
* | o Implement imaxabs(), imaxdiv(), llabs(), lldiv(). | mike | 2001-11-15 | 13 | -12/+450 |
| | | | | | | | o Update abs(3), div(3), labs(3), ldiv(3) to reflect standards conformance and add additional references. Reviewed by: bde, wollman | ||||
* | malloc and calloc do not free memory. | dd | 2001-11-05 | 1 | -2/+3 |
| | | | | | PR: 31365 Submitted by: SUZUKI Koichi <koich@cac.co.jp> | ||||
* | Make strtod.c work on Alpha as well. strtod.c has got locale support, | peter | 2001-11-04 | 1 | -11/+8 |
| | | | | | | the netbsd_strtod.c file we have does not. More still should be done here, but this works happily on my Alpha. I have not (yet?) changed the Makefile.inc to use this. | ||||
* | Slightly closer to netbsd_strtod.c: | peter | 2001-11-04 | 1 | -11/+12 |
| | | | | | s/IEEE_8087/IEEE_LITTLE_ENDIAN/ s/IEEE_MC68k/IEEE_BIG_ENDIAN/ | ||||
* | phkmalloc->evilchecks++; | phk | 2001-11-02 | 1 | -3/+13 |
| | | | | | | | | If zero bytes are allocated, return pointer to the middle of page-zero (which is protected) so that the program will crash if it dereferences this illgotten pointer. Inspired & Urged by: Theo de Raadt <deraadt@cvs.openbsd.org> | ||||
* | Add a long-overdue nail to the deprecated /dev/urandom interface | markm | 2001-10-30 | 2 | -2/+2 |
| | | | | | by asking some things that need unpredictable numbers to read /dev/random instead. | ||||
* | Make this work on ia64. I have no idea why it works on alpha - it | dfr | 2001-10-06 | 1 | -1/+7 |
| | | | | shouldn't. | ||||
* | Avoid getting stuck in system(3) when the internal call to wait4() | alfred | 2001-10-03 | 1 | -2/+3 |
| | | | | | | | | | | is interrupted by saving the pid. The old code would assign the return value to pid which would trash it, to fix the problem save a copy of the pid to be used as the paramter to wait4(). Submitted by: Toshihiko ARAI <toshi@jp.FreeBSD.org> | ||||
* | mdoc(7) police: don't split author names in the AUTHORS section. | ru | 2001-10-01 | 1 | -0/+1 |
| | |||||
* | mdoc(7) police: s/atof/atoi/ | ru | 2001-10-01 | 1 | -1/+1 |
| | |||||
* | Add ERRORS section. | asmodai | 2001-09-26 | 1 | -1/+18 |
| | | | | | | | | Mention thread safety and async-cancel safety status [not]. Add standards compliancy references. Note strtol() is preferred over atoi(). MFC after: 2 weeks | ||||
* | Be explicit about the POSIX version it conforms to [in this case 1990]. | asmodai | 2001-09-26 | 1 | -5/+5 |
| | | | | Put the error comment under the more appropriate ERRORS section. | ||||
* | Change standards compliancy order so that C and POSIX are grouped. | asmodai | 2001-09-26 | 1 | -1/+1 |
| | |||||
* | style(9) | mike | 2001-09-17 | 1 | -62/+56 |
| | | | | Silence from: phantom | ||||
* | mdoc(7) police: changed pure POSIX text; added missing markup bits. | ru | 2001-09-11 | 2 | -8/+12 |
| | |||||
* | Add more standards which we conform to. | asmodai | 2001-09-09 | 1 | -1/+18 |
| | | | | | | Note our implementation is not thread nor async-cancel safe. Explicitely note atof() does not check nor report errors. Note that strtod() should be used instead. | ||||
* | Detail thread-safe and async-cancel-safe status. | asmodai | 2001-09-09 | 1 | -0/+10 |
| | | | | | | Also add C99 conformity status plus clarification that C99 leaves the flushing of unwritten data, closure of open streams, and removal of temporary files to the implementation. | ||||
* | Move to using .In instead of .Fd #include <> for include mark-up. | asmodai | 2001-09-07 | 27 | -39/+39 |
| | | | | Inspired by comment from: dd | ||||
* | reconnect strfmon.c to build list | phantom | 2001-09-07 | 1 | -1/+1 |
| | |||||
* | Fix some mdoc nits caused by my knowledge not being too up-to-date on | asmodai | 2001-09-07 | 1 | -9/+12 |
| | | | | | | mdocNG. Submitted by: dd |