History log of /src/lib/libc/stdio/Makefile.inc |
Revision | | Date | Author | Comments |
1.51 |
| 07-Jul-2025 |
rillig | jemalloc, stdio: skip lint warning 207
It has been disabled a few minutes ago and will be removed in a few minutes.
|
1.50 |
| 09-Dec-2024 |
maya | PR lib/58850: add man page link for snprintf_ss
|
1.49 |
| 20-Jan-2024 |
christos | branches: 1.49.2; Catch up with all the lint warnings since exit on warning was disabled. Disable 'missing header declaration' and 'nested extern' warnings for now.
|
1.48 |
| 04-Apr-2023 |
christos | PR/57250: Martin Husemann: dtoa mishandles infinite doubles on 32bit big endian machines. When long double support was added, the old code was kept for the regular double code. This code was never used because WIDE_DOUBLE was always defined in the Makefile. Remove that old code, and conditionalize the WIDE_DOUBLE code based on if long doubles are different than doubles on the specific platform.
|
1.47 |
| 29-Dec-2015 |
christos | branches: 1.47.18; 1.47.26; Add printf/scanf man pages from FreeBSD
|
1.46 |
| 13-Oct-2014 |
christos | PR/49279: Justin Cormack: add open_memstream
|
1.45 |
| 18-Jun-2014 |
christos | more man pages links
|
1.44 |
| 18-Jun-2014 |
christos | add mkostemp, mkostemps, mkstemps from FreeBSD.
|
1.43 |
| 16-Jan-2014 |
christos | branches: 1.43.2; "soon" is "now". Remove all __indr_reference crap.
|
1.42 |
| 19-Apr-2013 |
joerg | Add explicit locale versions for the printf family. Replace asprintf, snprintf and sprintf with simple wrappers around the corresponding va_list functions to reduce code duplication.
|
1.41 |
| 27-Mar-2012 |
christos | branches: 1.41.2; - widen the internal read and write calls to match the syscalls - add funopen2() which provides access to flush() and the wider calls. - make use of the new flush call in fmemopen()
|
1.40 |
| 22-Dec-2010 |
christos | branches: 1.40.6; document vsnprintf_ss
|
1.39 |
| 24-Sep-2010 |
christos | add man page as promised.
|
1.38 |
| 24-Sep-2010 |
tnozaki | add fmemopen(3) derrived from POSIX:2008. libc minor bump.
|
1.37 |
| 06-Sep-2010 |
christos | add dprintf and vdprintf
|
1.36 |
| 13-Jul-2009 |
roy | Add implementations for getdelim(3) and getline(3).
|
1.35 |
| 03-Feb-2007 |
christos | enable wide doubles.
|
1.34 |
| 27-Oct-2006 |
christos | branches: 1.34.2; Add signal-safe versions of snprintf and vsnprintf
|
1.33 |
| 16-Feb-2006 |
christos | - s/notyet/WIDE_DOUBLE/ - Add a little more glue for WIDE_DOUBLE; not done yet. - s/def FLOATING_POINT/ndef NO_FLOATING_POINT/ to reduce diffs with FreeBSD. - fix memory leak where each double formatted leaked 24 by calling __freedtoa() appropriately. the new gdtoa keeps a list of memory chunks allocated by malloc(), and it must maintained properly by calling __freedtoa() on the results of __dtoa() Hi Klaus! - in vfwprintf() make cvt return char * and convert it using __mbsconv(), instead of having it return wchar_t *.
This should fix the memory leaks people have been reporting (eg. in top etc.)
|
1.32 |
| 28-Jul-2005 |
christos | PR/30845: Luke Mewburn: strerror_r(3) missing - Merge 4.4BSD strerror.3 man page changes that summarize information for all the error printing functions. This makes the perror(3) page obsolete. - Implement all error functions in terms of strerror_r(), including __strerror() which is not used internally. Can it be removed? - Bump version for strerror_r
|
1.31 |
| 12-Jun-2005 |
lukem | vfwprintf.c and vfwscanf.c now compile with -Wuninitialized
|
1.30 |
| 01-Jun-2005 |
lukem | Compile the following files with -Wno-uninitialized: vfprintf.c See rev 1.46 for why we can't fix this. vfwprintf.c Needs some effort vfwscanf.c Needs some effort
|
1.29 |
| 14-May-2005 |
christos | Add the missing wide char support functions from freebsd. XXX: long double support is missing until we get gdtoa, and add the necessary wide functions.
|
1.28 |
| 10-May-2004 |
drochner | remove the fgetstr manpage
|
1.27 |
| 09-May-2004 |
kleink | We now need an internal name for fileno(), since when buildling libc _REENTRANT we can no longer use the macro version from <stdio.h>.
|
1.26 |
| 21-Apr-2004 |
christos | Add a generalized version of fgetln that can stop at an arbitrary delimiter, and implement fgetln on top of that.
|
1.25 |
| 07-Mar-2003 |
tshiozak | branches: 1.25.2; add fgetws() and fputws() (lib/20576).
Note: fgetws.c, fgetws.3, fputws.c and fputws.3 are obtained from FreeBSD, and fitted by sigsegv@infoseek.jp and me.
|
1.24 |
| 28-Jan-2003 |
kleink | Add a manual page for flockfile(3) etc.; while here, also add *_unlocked() to stdio(3) overview documentation. Fixes PR lib/20096 from Jason Thorpe.
|
1.23 |
| 18-Jan-2003 |
thorpej | Merge the nathanw_sa branch.
|
1.22 |
| 30-Nov-2002 |
lukem | - Migrate fparseln(3) from libutil to libc, where it should have been in the first place... - Bump libutil major (to 7.0) and libc minor (to 12.91).
|
1.21 |
| 07-Dec-2001 |
yamt | - make FILE structure extensible without breaking binary-compatibility. - add fputwc, fgetwc, fwide and related functions. - add hooks needed to maintain the orientation of file stream.
|
1.20 |
| 25-Apr-2001 |
kleink | Document getc_unlocked(3), getchar_unlocked(3), putc_unlocked(3) and putchar_unlocked(3); fixes PR lib/11340.
|
1.19 |
| 08-Jul-2000 |
kleink | branches: 1.19.2; XCU5: Add fseeko() and ftello() functions which provide the functionality of fseek() and ftell(), respectively, but operate on file offsets of type off_t.
|
1.18 |
| 30-Aug-1998 |
perry | make sure asprintf and vasprintf get MLINKS to printf.3
|
1.17 |
| 28-Aug-1998 |
perry | add asprintf and vasprintf, originally written by Todd Miller for OpenBSD
|
1.16 |
| 27-Jul-1998 |
mycroft | Document mkdtemp(3).
|
1.15 |
| 27-Jul-1998 |
mycroft | Actually, FreeBSD calls this mkdtemp(). No point in creating a new name.
|
1.14 |
| 27-Jul-1998 |
mycroft | Add a mktempdir(), like mkstemp(), but it creates a directory.
|
1.13 |
| 27-Jul-1998 |
mycroft | If AUDIT, do not compile certain functions.
|
1.12 |
| 22-Oct-1997 |
lukem | - use CPPFLAGS instead of CFLAGS - use ${COMPILE.C} ... instead of ${CC} ${CFLAGS} -c ...
|
1.11 |
| 02-Apr-1997 |
kleink | branches: 1.11.2; RCSid police
|
1.10 |
| 25-Feb-1995 |
cgd | mktemp.c belongs here, not gen/Makefile.inc
|
1.9 |
| 02-Feb-1995 |
jtc | revert
|
1.7 |
| 22-Dec-1994 |
cgd | specify man pages the new way.
|
1.6 |
| 19-Sep-1994 |
mycroft | Move FLOATING_POINT definition into Makefile.inc.
|
1.5 |
| 04-Jan-1994 |
cgd | rename fgetline() and sharpen axe for bostic...
|
1.4 |
| 18-Oct-1993 |
cgd | don't compiler strerror.c source here, and clean up.
|
1.3 |
| 07-Oct-1993 |
jtc | Moved strerror.[c3] from libc/stdio to libc/string. Since perror is not permitted to change strerror()'s static buffer, I have changed both functions to pass their own buffers to the new library-internal function _strerror() that actually does the error message string look up. Split strerror manpage into strerror and perror manpages.
|
1.2 |
| 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
1.1 |
| 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
1.1.1.2 |
| 02-Feb-1995 |
jtc | imported from 44lite
|
1.1.1.1 |
| 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
1.11.2.1 |
| 09-Nov-1997 |
lukem | sync with trunk (approved by thorpej)
|
1.19.2.4 |
| 10-Dec-2002 |
thorpej | Sync with HEAD.
|
1.19.2.3 |
| 06-Feb-2002 |
nathanw | Implement flockfile(), ftrylockfile(), and funlockfile(). (Ewwww. Recursive mutexes.)
|
1.19.2.2 |
| 28-Jan-2002 |
nathanw | Catch up to -current.
|
1.19.2.1 |
| 08-Oct-2001 |
nathanw | Catch up to -current.
|
1.25.2.1 |
| 11-May-2004 |
tron | Pull up revision 1.27 (requested by kleink in ticket #311): We now need an internal name for fileno(), since when buildling libc _REENTRANT we can no longer use the macro version from <stdio.h>.
|
1.34.2.1 |
| 07-May-2007 |
pavel | Pull up following revision(s) (requested by manu in ticket #607): lib/libc/arch/i386/gen/isnanl.c: revision 1.6 lib/libc/gdtoa/gdtoa.c: revision 1.2-1.3 lib/libc/arch/x86_64/gen/isnanl.c: revision 1.6 lib/libc/gdtoa/gdtoaimp.h: revision 1.6 sys/arch/m68k/include/ieee.h: revision 1.13 usr.bin/xlint/lint1/scan.l: revision 1.36-1.37 lib/libc/stdio/snprintf_ss.c: revision 1.4 lib/libc/arch/i386/gen/isfinitel.c: revision 1.2 lib/libc/stdio/vfscanf.c: revision 1.38 sys/arch/sparc/include/ieee.h: revision 1.11-1.12 lib/libc/gdtoa/dtoa.c: revision 1.4 lib/libc/stdio/Makefile.inc: revision 1.35 lib/libc/stdio/fvwrite.c: revision 1.17 lib/libc/arch/m68k/gen/fpclassifyl.c: revision 1.2 lib/libc/arch/i386/gen/isinfl.c: revision 1.6 lib/libc/arch/x86_64/gen/isinfl.c: revision 1.6 lib/libc/arch/x86_64/gen/isfinitel.c: revision 1.2 lib/libc/stdio/vfprintf.c: revision 1.55-1.57 lib/libc/stdio/vsnprintf_ss.c: revision 1.3 lib/libc/stdio/vfwprintf.c: revision 1.10 sys/arch/x86/include/ieee.h: revision 1.10 lib/libc/gdtoa/dmisc.c: revision 1.3 lib/libc/gdtoa/Makefile.inc: revision 1.5 sys/arch/hppa/include/ieee.h: revision 1.10 lib/libc/arch/x86_64/gen/fpclassifyl.c: revision 1.3 lib/libc/arch/i386/gen/fpclassifyl.c: revision 1.2 sys/sys/ieee754.h: revision 1.7 lib/libc/gdtoa/gdtoa.h: revision 1.7 include/stdio.h: revision 1.67-1.68 lib/libc/gdtoa/hdtoa.c: revision 1.1-1.4 lib/libc/gdtoa/ldtoa.c: revision 1.1-1.4 defined(_NETBSD_SOURCE) is equivalent to (!defined(_ANSI_SOURCE) && !defined(_POSIX_C_SOURCE) && !defined(_XOPEN_SOURCE)), so there's no need to check both of them. Fix for issue reported in PR lib/35401 as well as related overflow bugs. deal with hex doubles. Instead of abusing stdio to get a signal-safe version of sprintf, provide one. remove __SAFE add long double and hex double support from freebsd. make this compile. add new prototypes. add the new files to the build. Note I am not bumping libc now, because these are not used yet. Merge the int bit with the high fraction bit. Add constants/macros needed by gdtoa. add constants used by gdtoa since the int bit is merged, do the explicit math. ext_int bit is no more. ext_int bit is no more. - merge change from freebsd - add support for building as vfprintf.c - XXX: we strdup to simplify the freeing logic. This should be fixed for efficiency in the vfprintf case. use vfwprintf.c enable wide doubles. some int -> size_t deal with sparc64 that has 112 bits of mantissa. make extended precision gdtoa friendly. int/size_t changes make this gdtoa friendly. remove dup definition use dtoa() instead of returning empty when we don't have extended precision information. Fix previous, add forgotten pointer dereference in the call to dtoa(). Add a cheesy workaround marked XXX for the situation where the strtod() implementation available in the environment does not handle hex floats. Discussed with and suggested by christos From Christos: gdtoa fixes for m68k. M68k ports should build now, but printing extended precision is a little off. vax does not have <machine/ieee.h> or long double It would be nice if the compiler provided something like __IEEE_MATH__ bring in FreeBSD's vfscanf() to gain multi-byte/collation support. Unfortunately it is too difficult to make vfwscanf and this share the same code like I did with printf, because for string parsing the code is too different.
|
1.40.6.2 |
| 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|
1.40.6.1 |
| 17-Apr-2012 |
yamt | sync with head
|
1.41.2.2 |
| 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
1.41.2.1 |
| 23-Jun-2013 |
tls | resync from head
|
1.43.2.1 |
| 10-Aug-2014 |
tls | Rebase.
|
1.47.26.1 |
| 17-Apr-2023 |
martin | Pull up following revision(s) (requested by he in ticket #137):
lib/libc/stdio/Makefile.inc: revision 1.48 lib/libc/stdio/vfwprintf.c: revision 1.40 lib/libc/include/extern.h: revision 1.27
PR/57250: Martin Husemann: dtoa mishandles infinite doubles on 32bit big endian machines. When long double support was added, the old code was kept for the regular double code. This code was never used because WIDE_DOUBLE was always defined in the Makefile. Remove that old code, and conditionalize the WIDE_DOUBLE code based on if long doubles are different than doubles on the specific platform.
|
1.47.18.1 |
| 22-Aug-2024 |
martin | Pull up following revision(s) (requested by riastradh in ticket #1865):
lib/libc/stdio/Makefile.inc: revision 1.48 tests/lib/libc/stdio/t_printf.c: revision 1.9 lib/libc/stdio/vfwprintf.c: revision 1.40 lib/libc/include/extern.h: revision 1.27 tests/lib/libc/stdio/t_printf.c: revision 1.10
PR/57250: Martin Husemann: dtoa mishandles infinite doubles on 32bit big endian machines. When long double support was added, the old code was kept for the regular double code. This code was never used because WIDE_DOUBLE was always defined in the Makefile. Remove that old code, and conditionalize the WIDE_DOUBLE code based on if long doubles are different than doubles on the specific platform.
Add a test for PR/57250 from Havard Eidnes
Fix the test for "inf" output, also include newline in printf format...
|
1.49.2.1 |
| 02-Aug-2025 |
perseant | Sync with HEAD
|