summaryrefslogtreecommitdiff
path: root/lib/libc/stdio
AgeCommit message (Collapse)Author
2005-11-14clarify the description of append mode;Jason McIntyre
this comes originally from a mail from mpech@; ok otto@, and no one else objected;
2005-10-10fix a few warnings, keep the crypt stuff for later.Marc Espie
okay otto@
2005-10-10Remove a few warnings. Those were not apparent thanks to a bug in gcc 2.95.Marc Espie
Patch by Leonardo Chiquitto Filho <leonardo@iken.com.br> Thanks.
2005-09-23support %jd from c99, although intmax_t may not be available.Ted Unangst
ok deraadt espie kettenis
2005-08-08zap remaining rcsid.Marc Espie
Kill old files that are no longer compiled. okay theo
2005-08-02zap getdtablesize() external ref (removes a bit of compat from instbin).Marc Espie
okay millert@
2005-07-26- typos, punctuation, spacing, macro, layout, etc. fixesJared Yanovich
- avoid first person ok jmc
2005-07-26clarify description of 'c' conversion; ok millert, jmcJared Yanovich
2005-07-26no need to typecast NULL; ok millert, jmcJared Yanovich
2005-07-26remove note about long double not being supported by vax.Jared Yanovich
this should have been in CAVEATS anyway. ok millert, jmc
2005-07-26note error return of mkstemps; ok millert, jmcJared Yanovich
2005-07-26- simplify descriptions of stream positioning in various open modesJared Yanovich
- mention that append mode always forces the stream position to EOF on writes from NetBSD -r 1.9 ok millert, jmc
2005-06-17- remove .Sh LIBRARYJason McIntyre
- add $OpenBSD$ tag - a couple minor tweaks
2005-06-17next citrus step.Marc Espie
reviewed by millert, otto, kevlo, naddy, kettenis... libc+libstdc++ bump
2005-06-08Fix rearranging of parameters for quad types.Marc Espie
Use stateful functions for mbtowc. Use the same loop for scanning and for rescanning the format. okay millert@
2005-05-28Use '\0' not 0 when storing as a char, part from Andrey Matveev.Todd C. Miller
2005-05-28Move the va_start()/va_end() pair such that it directly backets the callTodd C. Miller
to vfprintf() like the rest of the *printf functions. This is clearer and makes the error case in asprintf() simpler. From Andrey Matveev.
2005-05-27mktemp(3) et al. go in stdlib.h, not unistd.h. While there be moreTodd C. Miller
explicit about mktemp(3) in the man page.
2005-05-11let vfscanf be a real function. Use a weak_alias on systems where thisMarc Espie
is feasible. Okay millert@ There's a major libc bump coming that is going to cover this as well...
2005-04-30Change internals of FILE: reuse the unget buffer field to access anMarc Espie
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.
2005-04-14move return values to a seperate section, and split them out so that itTheo de Raadt
is more clear which variants return which values; ok jmc otto
2005-04-14Explain what happens when len equals 0 for snprintf().Otto Moerbeek
ok jmc@ millert@
2005-03-31make sure the implementation matches the prototype..Patrick Latifi
char const * -> const char * ok otto@ deraadt@
2005-03-30ansiPatrick Latifi
ok otto moritz deraadt
2005-03-30ansi + de-registerPatrick Latifi
ok otto deraadt
2005-03-24Document that perror() treats an empty string like NULL.Todd C. Miller
2005-03-08fix typo in comment.Moritz Jodeit
2005-02-25Be correct in our man pages when talking about NUL termination (that is,Chad Loder
termination with '\0') vs. null termination. Input from krw@, jaredy@, jmc@. OK deraadt@
2004-09-28deregister + ansify, no change in object code. ok deraadt@ millert@Otto Moerbeek
2004-09-25typo fix, from the original diff in PR 3932Brad Smith
2004-09-25oopsTheo de Raadt
2004-09-24access one too far away; from claus; ok millertTheo de Raadt
2004-09-24explain why mmap; pointed out by claus, pr 3932Theo de Raadt
2004-09-18Add 'z' and 't' modifiers for printing size_t and ptrdiff_t.Otto Moerbeek
ok millert@ deraadt@
2004-09-16Handle ll's correctly for positional args. Problem spotted by hin@,Otto Moerbeek
ok henning@ millert@ deraadt@
2004-09-14signed vs unsignedTheo de Raadt
2004-08-20Don't need to check lbuf != NULL when free()ing it. In addition,Todd C. Miller
since the EOF w/o EOL can only happen for the last line, move the free() outside the loop so we only do it once. OK otto@
2004-06-20Fix the short description for fileno()Jean-Francois Brousseau
ok otto@, millert@
2004-06-07major bump to libc and libpthread to break the dependency of aMarco S Hyman
particular implementation of libpthread for libc. libc no longer needs pthread.h to compile. OK millert@, brad@, tedu@
2004-05-03build the error message in strerror_r.c directly, avoiding one copy there.Marc Espie
handle a few subtle details caught by the regression tests: correct termination, non copying if buffer length == 0, errno setting. let all former users of __strerror go through strerror_r. Work by Todd Miller and I. Okay millert@.
2004-04-10Apply change from vsnprintf.c rev. 1.5. Use a single characterTodd C. Miller
buffer for the size==0 case. Stdio internals do not deal correctly with zero size buffer and NULL pointer. From torek@bsdi.com; Ok henning@
2004-01-11__sglue should be extern; from art@Todd C. Miller
2003-10-17typo;Jason McIntyre
2003-10-08Avoid a possible signed->unsigned assignment, fixes PR1709 (Claus Assmann)Anil Madhavapeddy
millert@ ok
2003-09-26for %#s, # is the amount of input string, not the amount of output string.Theo de Raadt
hence # must be 1 less than the size of the storage buffer. yes, we've known this for a long time, but it is not clearly documented and half the code out there does not use n-1! whoever designed this needs to be tortured.
2003-08-17Sort headers in exampleAlexander Yurchenko
ok millert@
2003-07-24warn about unsafe APIs at link time. Conditional on libc/Makefile definingTheo de Raadt
APIWARN; disabled by default. In use by many developers for quite some time, now they have a common knob to enable/disable this
2003-07-15.Ql Cm -> .Sq Cm where literal makes no sense;Jason McIntyre
2003-07-02nonstandard->non-standardAnil Madhavapeddy
jmc@ ok
2003-07-026 X's -> 10 X's in all examples, per avsm's idea, millert agreesPeter Valchev