| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | clarify return values, prompted by moritz; ok moritz jmc | 2007-04-01 | 1 | -4/+8 | ||
| | | ||||||
| * | Remove and simplify an impossible case (if *p = memchr(cp, 0, prec), | 2007-01-30 | 1 | -9/+7 | ||
| | | | | | | | | | | | | p - cp cannot be greater than prec). Prevent an integer overflow when printing a string with length greater than INT_MAX. Initial diff from millert@. OK millert@, beck@, and otto@. | |||||
| * | add an ENVIRONMENT section for TMPDIR; | 2007-01-29 | 1 | -1/+15 | ||
| | | | | | | | from freebsd pr# 108346, from Anton Yuzhaninov much tweaked by otto and myself; | |||||
| * | Fix potential int overflow for printf(3) when passing in very large | 2007-01-16 | 1 | -13/+50 | ||
| | | | | | values for the field width. Adapted from a diff by Christian Biere. | |||||
| * | try first mmap() allocation at pagesize, no need to re-mmap at every power | 2006-11-26 | 1 | -1/+4 | ||
| | | | | | of 2 from 16 to pagesize(); ok otto | |||||
| * | suceed -> succeed; from chad dougherty | 2006-10-30 | 1 | -2/+2 | ||
| | | ||||||
| * | make __dtoa & strtod() thread-safe useing the same method as newer gdtoa | 2006-10-29 | 1 | -4/+11 | ||
| | | | | | | codebase. tested mostly by ckuethe and myself. __dtoa() use now requires a call to __freedtoa() | |||||
| * | mark up `>'; | 2006-10-15 | 1 | -3/+3 | ||
| | | ||||||
| * | Add a CAVEAT section that describes how to properly trim a newline from | 2006-10-14 | 1 | -10/+41 | ||
| | | | | | | a string, being careful to deal with 0-length strings. Help and input from jmc, ok deraadt | |||||
| * | Make fgets description much clearer with respect to its exact behavior. | 2006-10-14 | 1 | -7/+9 | ||
| | | | | | OK and input from deraadt, jmc, millert. | |||||
| * | check mmap for failure. the helper functions using it return -1, but | 2006-04-29 | 1 | -36/+43 | ||
| | | | | | | | | callers do not yet check since printf() for example is not documented to return an error. some formatting cleanups. mostly ok deraadt millert | |||||
| * | Remove extraneous cast to malloc call in fgetln example. | 2006-03-19 | 1 | -2/+2 | ||
| | | | | | OK otto@ | |||||
| * | Pull in inttypes.h, not stdint.h so we get the prototypes for | 2006-01-13 | 1 | -4/+4 | ||
| | | | | | strtoimax/strtoumax. | |||||
| * | Use long long and intmax_t instead of quad_t throughout. Adapted in | 2006-01-13 | 4 | -269/+268 | ||
| | | | | | part from FreeBSD. | |||||
| * | Fix the handling of negative hexadecimal numbers in integer formats. | 2006-01-08 | 1 | -10/+16 | ||
| | | | | | From NetBSD. | |||||
| * | improve the RETURN VALUES section; | 2006-01-07 | 1 | -8/+12 | ||
| | | | | | | | | for such a small diff, this one was hard work... based on a diff from ray lai; blood, sweat, and tears (and ok) kettenis | |||||
| * | Adapt things to use __type_t instead of _BSD_TYPE_T_ | 2006-01-06 | 8 | -16/+16 | ||
| | | | | | | Add new sys/_types.h header Include machine/_types.h or sys/_types.h where applicable | |||||
| * | fix the mkstemps .Fn; | 2006-01-06 | 1 | -2/+2 | ||
| | | ||||||
| * | in code fragment: | 2006-01-06 | 1 | -14/+14 | ||
| | | | | | | | | | | | | - allocate enough space for sfn. - remove variable initializations that get overwritten anyway. - change spaces to tabs. - change "sizeof sfn" to "sizeof(sfn)". - change fprintf(stderr) to warn(). from ray lai; ok millert | |||||
| * | Do not overlap flags; problem introduced when new escapes were added. | 2006-01-03 | 1 | -7/+7 | ||
| | | ||||||
| * | Remove useless if() introduced by accident in rev 1.3. Checking the | 2005-12-28 | 1 | -5/+3 | ||
| | | | | | | flag for sprintf-ness is not useful in a code path that is not called for sprintf and friends. | |||||
| * | Missing piece from previous commit | 2005-12-19 | 1 | -1/+2 | ||
| | | ||||||
| * | Add %hhd to *printf and *scanf as well as %z to *scanf. This was | 2005-12-19 | 2 | -12/+39 | ||
| | | | | | | sent out and approved about 6 months ago and has been rotting in my tree ever since. | |||||
| * | clarify the description of append mode; | 2005-11-14 | 1 | -2/+7 | ||
| | | | | | | this comes originally from a mail from mpech@; ok otto@, and no one else objected; | |||||
| * | fix a few warnings, keep the crypt stuff for later. | 2005-10-10 | 2 | -3/+4 | ||
| | | | | | okay otto@ | |||||
| * | Remove a few warnings. Those were not apparent thanks to a bug in gcc 2.95. | 2005-10-10 | 7 | -7/+14 | ||
| | | | | | | Patch by Leonardo Chiquitto Filho <leonardo@iken.com.br> Thanks. | |||||
| * | support %jd from c99, although intmax_t may not be available. | 2005-09-23 | 2 | -2/+20 | ||
| | | | | | ok deraadt espie kettenis | |||||
| * | zap remaining rcsid. | 2005-08-08 | 69 | -285/+69 | ||
| | | | | | | | Kill old files that are no longer compiled. okay theo | |||||
| * | zap getdtablesize() external ref (removes a bit of compat from instbin). | 2005-08-02 | 1 | -1/+3 | ||
| | | | | | okay millert@ | |||||
| * | - typos, punctuation, spacing, macro, layout, etc. fixes | 2005-07-26 | 13 | -64/+81 | ||
| | | | | | | | - avoid first person ok jmc | |||||
| * | clarify description of 'c' conversion; ok millert, jmc | 2005-07-26 | 1 | -4/+3 | ||
| | | ||||||
| * | no need to typecast NULL; ok millert, jmc | 2005-07-26 | 1 | -4/+4 | ||
| | | ||||||
| * | remove note about long double not being supported by vax. | 2005-07-26 | 1 | -5/+2 | ||
| | | | | | | | this should have been in CAVEATS anyway. ok millert, jmc | |||||
| * | note error return of mkstemps; ok millert, jmc | 2005-07-26 | 1 | -3/+5 | ||
| | | ||||||
| * | - simplify descriptions of stream positioning in various open modes | 2005-07-26 | 1 | -8/+15 | ||
| | | | | | | | | | | - mention that append mode always forces the stream position to EOF on writes from NetBSD -r 1.9 ok millert, jmc | |||||
| * | - remove .Sh LIBRARY | 2005-06-17 | 6 | -17/+17 | ||
| | | | | | | - add $OpenBSD$ tag - a couple minor tweaks | |||||
| * | next citrus step. | 2005-06-17 | 34 | -26/+1389 | ||
| | | | | | | reviewed by millert, otto, kevlo, naddy, kettenis... libc+libstdc++ bump | |||||
| * | Fix rearranging of parameters for quad types. | 2005-06-08 | 1 | -11/+24 | ||
| | | | | | | | | Use stateful functions for mbtowc. Use the same loop for scanning and for rescanning the format. okay millert@ | |||||
| * | Use '\0' not 0 when storing as a char, part from Andrey Matveev. | 2005-05-28 | 5 | -14/+14 | ||
| | | ||||||
| * | Move the va_start()/va_end() pair such that it directly backets the call | 2005-05-28 | 2 | -8/+7 | ||
| | | | | | | to vfprintf() like the rest of the *printf functions. This is clearer and makes the error case in asprintf() simpler. From Andrey Matveev. | |||||
| * | mktemp(3) et al. go in stdlib.h, not unistd.h. While there be more | 2005-05-27 | 1 | -11/+27 | ||
| | | | | | explicit about mktemp(3) in the man page. | |||||
| * | let vfscanf be a real function. Use a weak_alias on systems where this | 2005-05-11 | 7 | -12/+42 | ||
| | | | | | | | | | is feasible. Okay millert@ There's a major libc bump coming that is going to cover this as well... | |||||
| * | Change internals of FILE: reuse the unget buffer field to access an | 2005-04-30 | 14 | -41/+128 | ||
| | | | | | | | | | | | | | | | | | extended attribute data structure (pimpl idiom). Idea taken from citrus. Much discussion with deraadt@, otto@, millert@... This is the least disruptive way to extend FILE, since its size can't really change without this being a flag day. So the size doesn't change. Actual additions to the structure will come in separate steps, since this change is nasty enough on its own. Tests by otto@ and others, careful reading of code by otto@ and millert@. This is definitely a major bump, and has been checked to not impact a full ports build. | |||||
| * | move return values to a seperate section, and split them out so that it | 2005-04-14 | 1 | -37/+49 | ||
| | | | | | is more clear which variants return which values; ok jmc otto | |||||
| * | Explain what happens when len equals 0 for snprintf(). | 2005-04-14 | 1 | -1/+9 | ||
| | | | | | ok jmc@ millert@ | |||||
| * | make sure the implementation matches the prototype.. | 2005-03-31 | 12 | -25/+25 | ||
| | | | | | | | char const * -> const char * ok otto@ deraadt@ | |||||
| * | ansi | 2005-03-30 | 2 | -6/+4 | ||
| | | | | | ok otto moritz deraadt | |||||
| * | ansi + de-register | 2005-03-30 | 1 | -2/+2 | ||
| | | | | | ok otto deraadt | |||||
| * | Document that perror() treats an empty string like NULL. | 2005-03-24 | 1 | -8/+6 | ||
| | | ||||||
| * | fix typo in comment. | 2005-03-08 | 1 | -2/+2 | ||
| | | ||||||
