summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio
Commit message (Collapse)AuthorAgeFilesLines
* Added a little NOTES section explaining that passing in a string thatmpp1996-02-151-0/+22
| | | | | | | | | | resides in read-only memory is going to cause the program to core dump, and this is commmon with older pre-ANSI C programs. (I've scratched my head over this one at 3 in the morning before while trying to port some ancient program) Suggested by: Gary Kline <kline@tera.com>
* Fix even more spelling errors in some more man pages.mpp1996-01-301-3/+3
|
* Reviewed by: julian and (hsu?)julian1996-01-2232-34/+417
| | | | | | Submitted by: John Birrel(L?) changes for threadsafe operations
* Fix a variety of minor typos and cross references in a bunch ofmpp1996-01-201-1/+1
| | | | | | | | man pages. Masanobu Saitoh <msaitoh@spa.is.uec.ac.jp> Giles Lean <giles@nemeton.com.au> <soda@sra.co.jp>
* Minor cleanup, #include's and unused vars.phk1995-10-223-1/+5
| | | | Added compile-time warning to an old funky function.
* Make a link-time warning for the use of gets().peter1995-10-041-0/+3
| | | | | | | IMHO, the run-time warning should come out, but I'm not game to start that fight yet... This uses a feature of the gnu linker. Inspired by: NetBSD
* This gets() used \r\n, which is doggish.bde1995-09-291-1/+1
|
* fgetline does not exist.. fgetln is in it's place. Correct the X-Ref.peter1995-08-181-1/+1
| | | | Noticed by: Brian Tao, Bruce Evans
* Remove trailing whitespace.rgrimes1995-05-304-8/+8
|
* Fixed typo.dg1995-05-151-1/+1
|
* Obtained from: 1.1.5 (originally by jtc)bde1995-04-061-1/+2
| | | | | | | Fix printf("%g", 0.0) - print "0", not "0.". The previous fixes in this area had one non-cosmetic (non-)change that caused this bug. Bruce
* Remove `|| flags & ALT == 0' which was an obscure no-op, not abde1995-03-121-1/+1
| | | | parenthesization/precedence bug.
* Obtained from: 1.1.5. Originally by jtc. Cosmetically changed for thisbde1995-03-121-15/+23
| | | | | | | | | | | | | | | | | | commit by bde. Fix bugs in floating point formatting. The 4.4lite version is similar to revision 1.3 in old-cvs and is missing all of jtc's fixes in revision 1.4 in old-cvs. Revision 1.2 in ncvs fixed one of the old bugs but introduced at least one new one (for %.0e). old-cvs log: revision 1.4 date: 1993/11/04 19:38:22; author: jtc; state: Exp; lines: +33 -20 My work from NetBSD to make printf() & friends ANSI C compliant. Fixes several bugs in floating point formatting: 1. Trailing zeros were being stripped with %e format. 2. %g/%G formats incorrect. 3. Lots of other nits.
* Fix handling of 'e' format floating point so that it prints trailing zerosdfr1995-01-191-1/+0
| | | | correctly.
* Date: Wed, 26 Oct 1994 15:44:49 -0600nate1994-11-051-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | From: Chris Torek <torek@bsdi.com> Here is a semi-official patch (apply to /usr/src/lib/libc/stdio/fseek.c, rebuild libc, install). The current code fails when the seek: - is optimized, and - is to just past the end of the block currently in the buffer, and - is followed by another seek with no intervening read operation, and - the destination of subsequent seek is within the block left in the buffer (seeking to the beginning of a block does not force a read, so the buffer still contains the previous block) so it is indeed rather obscure. I may have a different `final' fix, as this one `loses' the buffer contents on a seek that goes just past the end of the current block. [Footnote: seeks are optimized only on read-only opens of regular files that are buffered by the file's optimal I/O size. This is what you get with fopen(path, "r") and no call to setvbuf().] Obtained from: [ BSDI mailing list ]
* First crack at making libc work with the new make macros. It compiles onwollman1994-08-051-3/+5
| | | | | my machine, and a simple static (genassym) and shared (sysctl) executable both work. Still to be done: RPCand YP merge.
* BSD 4.4 Lite Lib Sourcesrgrimes1994-05-2790-0/+10714
OpenPOWER on IntegriCloud