History log of /openbsd-current/lib/libc/stdio/Makefile.inc
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.30 19-Jan-2024 millert

Move mktemp.c to stdlib where it belongs.
OK deraadt@


Revision tags: OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE OPENBSD_7_1_BASE OPENBSD_7_2_BASE OPENBSD_7_3_BASE OPENBSD_7_4_BASE
# 1.29 30-Mar-2016 jmc

for some time now mandoc has not required MLINKS to function
correctly - logically complete that now by removing MLINKS from base;

authors need only to ensure there is an entry in NAME for any function/
util being added. MLINKS will still work, and remain for perl to ease
upgrades;

ok nicm (curses) bcook (ssl)
ok schwarze, who provided a lot of feedback and assistance
ok tb natano jung


Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE
# 1.28 12-Jan-2015 millert

Add fgetwln(3) from FreeBSD and bump libc minor revision.


# 1.27 25-Nov-2014 millert

Move guts of setbuf.3 into setvbuf.3 to make it clear which one
should be used in new code.


# 1.26 31-Aug-2014 guenther

Add additional userland interfaces for setting close-on-exec on fds
when creating them: mkostemp(), mkostemps(), the 'e' mode letter for
fopen(), freopen(), fdopen(), and popen(). The close-on-exec flag will
be cleared by the action created by posix_spawn_file_actions_adddup2().

Also, add support for the C11 'x' mode letter for fopen() and freopen(),
setting O_EXCL when possibly creating files.

Note: this requires kernel support for pipe2() and dup3()!

ok millert@


Revision tags: OPENBSD_5_6_BASE
# 1.25 23-Mar-2014 tedu

c11 compliance: remove gets()


Revision tags: OPENBSD_5_4_BASE OPENBSD_5_5_BASE
# 1.24 28-Mar-2013 eric

Enable fmemopen(3) and open_{w,}memstream(3)

commiting on behalf of mpi@


Revision tags: OPENBSD_5_3_BASE
# 1.23 30-Jan-2013 brad

Add support for POSIX.1-2008 functions dprintf(3) and vdprintf(3).

Feedback from millert@ guenther@
OK guenther@ man page bits OK jmc@


Revision tags: OPENBSD_5_2_BASE
# 1.22 21-Mar-2012 fgsch

Implement getdelim(3) and getline(3).
Prompted in a mail to tech@ by Jan Klemkow (j-dot-klemkow-at-wemelug-dot-de)
but this is based on NetBSD's implementation instead with some tweaks by me.
Further improvements would happen in tree.

ok millert@; discussed with many others
ports cleanup by naddy@, sthen@. Antti Harri, Gonzalo L. R. and myself.


Revision tags: OPENBSD_5_1_BASE
# 1.21 18-Jan-2012 stsp

Add support for C99 %ls, %lc, and %l[ format directives to scanf(3).
Based on code from FreeBSD.
Tested by myself (full release/install cycle on i386 and sparc64) and ajacoutot.
Man page help from jmc.


# 1.20 08-Nov-2011 guenther

Make __svfscanf() the unlocked, core of vfscanf() and use it in
sscanf()/vsscanf() where locking is unnecessary.

ok millert@


# 1.19 16-Oct-2011 stsp

Add wscanf(3) and friends. Based on our scanf(3) implementation, with wide
character support changes based on code from FreeBSD.
ok espie guenther; man page help from schwarze


Revision tags: OPENBSD_5_0_BASE
# 1.18 06-Jul-2011 stsp

Add support for C99 %ls and %lc format directives, as been documented in
the vfprintf(3) man page for ages. Based on code from NetBSD/FreeBSD.
Prevent ramdisk growth with a maze of #ifdefs.
ok robert, no objections deraadt, espie, millert


# 1.17 09-May-2011 stsp

Add a wprintf(3) man page based on FreeBSD's page. Help and ok schwarze jmc


# 1.16 28-Apr-2011 stsp

Bring back wprintf. We've sorted out what to do for gcc2 and gcc3.
"Yes, go ahead then" deraadt


# 1.15 24-Apr-2011 stsp

Back out wprintf until we've determined what to do for gcc2 and gcc3 arches.


# 1.14 24-Apr-2011 stsp

Add fwprintf, swprintf, vfwprintf, vswprintf, vwprintf, and wprintf to libc.
Based on our vfprintf etc. implementations. Wide character parts based on
NetBSD but with lots of macros expanded. Minor bump for libc.
ok kettenis espie


Revision tags: OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE
# 1.13 17-Jun-2005 espie

next citrus step.

reviewed by millert, otto, kevlo, naddy, kettenis...
libc+libstdc++ bump


# 1.12 11-May-2005 espie

let vfscanf be a real function. Use a weak_alias on systems where this
is feasible.

Okay millert@

There's a major libc bump coming that is going to cover this as well...


Revision tags: OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE OPENBSD_3_0_BASE OPENBSD_3_1_BASE OPENBSD_3_2_BASE OPENBSD_3_3_BASE OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE
# 1.11 28-Mar-2000 deraadt

fseeko.3 and ftello.3


Revision tags: OPENBSD_2_6_BASE
# 1.10 07-Aug-1999 millert

Local changes that should not have gone in


# 1.9 07-Aug-1999 millert

If fread() returns EBADF, also set the error flag; tobez@plab.ku.dk


Revision tags: OPENBSD_2_5_BASE
# 1.8 20-Nov-1998 d

Add thread-safety to libc, so that libc_r will build (on i386 at least).
All POSIX libc api now there (to P1003.1c/D10)
(more md stuff is needed for other libc/arch/*)
(setlogin is no longer a special syscall)
Add -pthread option to gcc (that makes it use -lc_r and -D_POSIX_THREADS).
Doc some re-entrant routines
Add libc_r to intro(3)
dig() uses some libc srcs and an extra -I was needed there.
Add more md stuff to libc_r.
Update includes for the pthreads api
Update libc_r TODO


Revision tags: OPENBSD_2_4_BASE
# 1.7 30-Aug-1998 millert

v?asnprintf was never ocmmitted because it make stdio guts too gross. Remove references...


# 1.6 28-Aug-1998 deraadt

links to asnprintf and such


# 1.5 03-Jul-1998 deraadt

link for mkstemps()


Revision tags: OPENBSD_2_3_BASE
# 1.4 29-Nov-1997 millert

Build asprintf.c and vasprintf.c


Revision tags: OPENBSD_2_2_BASE
# 1.3 26-Sep-1997 millert

Man link for mkdtemp(3).


Revision tags: OPENBSD_2_0_BASE OPENBSD_2_1_BASE
# 1.2 19-Aug-1996 tholo

Fix RCS ids
Make sure everything uses {SYS,}LIBC_SCCS properly


# 1.1 18-Oct-1995 deraadt

branches: 1.1.1;
Initial revision


Revision tags: OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.29 30-Mar-2016 jmc

for some time now mandoc has not required MLINKS to function
correctly - logically complete that now by removing MLINKS from base;

authors need only to ensure there is an entry in NAME for any function/
util being added. MLINKS will still work, and remain for perl to ease
upgrades;

ok nicm (curses) bcook (ssl)
ok schwarze, who provided a lot of feedback and assistance
ok tb natano jung


Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE
# 1.28 12-Jan-2015 millert

Add fgetwln(3) from FreeBSD and bump libc minor revision.


# 1.27 25-Nov-2014 millert

Move guts of setbuf.3 into setvbuf.3 to make it clear which one
should be used in new code.


# 1.26 31-Aug-2014 guenther

Add additional userland interfaces for setting close-on-exec on fds
when creating them: mkostemp(), mkostemps(), the 'e' mode letter for
fopen(), freopen(), fdopen(), and popen(). The close-on-exec flag will
be cleared by the action created by posix_spawn_file_actions_adddup2().

Also, add support for the C11 'x' mode letter for fopen() and freopen(),
setting O_EXCL when possibly creating files.

Note: this requires kernel support for pipe2() and dup3()!

ok millert@


Revision tags: OPENBSD_5_6_BASE
# 1.25 23-Mar-2014 tedu

c11 compliance: remove gets()


Revision tags: OPENBSD_5_4_BASE OPENBSD_5_5_BASE
# 1.24 28-Mar-2013 eric

Enable fmemopen(3) and open_{w,}memstream(3)

commiting on behalf of mpi@


Revision tags: OPENBSD_5_3_BASE
# 1.23 30-Jan-2013 brad

Add support for POSIX.1-2008 functions dprintf(3) and vdprintf(3).

Feedback from millert@ guenther@
OK guenther@ man page bits OK jmc@


Revision tags: OPENBSD_5_2_BASE
# 1.22 21-Mar-2012 fgsch

Implement getdelim(3) and getline(3).
Prompted in a mail to tech@ by Jan Klemkow (j-dot-klemkow-at-wemelug-dot-de)
but this is based on NetBSD's implementation instead with some tweaks by me.
Further improvements would happen in tree.

ok millert@; discussed with many others
ports cleanup by naddy@, sthen@. Antti Harri, Gonzalo L. R. and myself.


Revision tags: OPENBSD_5_1_BASE
# 1.21 18-Jan-2012 stsp

Add support for C99 %ls, %lc, and %l[ format directives to scanf(3).
Based on code from FreeBSD.
Tested by myself (full release/install cycle on i386 and sparc64) and ajacoutot.
Man page help from jmc.


# 1.20 08-Nov-2011 guenther

Make __svfscanf() the unlocked, core of vfscanf() and use it in
sscanf()/vsscanf() where locking is unnecessary.

ok millert@


# 1.19 16-Oct-2011 stsp

Add wscanf(3) and friends. Based on our scanf(3) implementation, with wide
character support changes based on code from FreeBSD.
ok espie guenther; man page help from schwarze


Revision tags: OPENBSD_5_0_BASE
# 1.18 06-Jul-2011 stsp

Add support for C99 %ls and %lc format directives, as been documented in
the vfprintf(3) man page for ages. Based on code from NetBSD/FreeBSD.
Prevent ramdisk growth with a maze of #ifdefs.
ok robert, no objections deraadt, espie, millert


# 1.17 09-May-2011 stsp

Add a wprintf(3) man page based on FreeBSD's page. Help and ok schwarze jmc


# 1.16 28-Apr-2011 stsp

Bring back wprintf. We've sorted out what to do for gcc2 and gcc3.
"Yes, go ahead then" deraadt


# 1.15 24-Apr-2011 stsp

Back out wprintf until we've determined what to do for gcc2 and gcc3 arches.


# 1.14 24-Apr-2011 stsp

Add fwprintf, swprintf, vfwprintf, vswprintf, vwprintf, and wprintf to libc.
Based on our vfprintf etc. implementations. Wide character parts based on
NetBSD but with lots of macros expanded. Minor bump for libc.
ok kettenis espie


Revision tags: OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE
# 1.13 17-Jun-2005 espie

next citrus step.

reviewed by millert, otto, kevlo, naddy, kettenis...
libc+libstdc++ bump


# 1.12 11-May-2005 espie

let vfscanf be a real function. Use a weak_alias on systems where this
is feasible.

Okay millert@

There's a major libc bump coming that is going to cover this as well...


Revision tags: OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE OPENBSD_3_0_BASE OPENBSD_3_1_BASE OPENBSD_3_2_BASE OPENBSD_3_3_BASE OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE
# 1.11 28-Mar-2000 deraadt

fseeko.3 and ftello.3


Revision tags: OPENBSD_2_6_BASE
# 1.10 07-Aug-1999 millert

Local changes that should not have gone in


# 1.9 07-Aug-1999 millert

If fread() returns EBADF, also set the error flag; tobez@plab.ku.dk


Revision tags: OPENBSD_2_5_BASE
# 1.8 20-Nov-1998 d

Add thread-safety to libc, so that libc_r will build (on i386 at least).
All POSIX libc api now there (to P1003.1c/D10)
(more md stuff is needed for other libc/arch/*)
(setlogin is no longer a special syscall)
Add -pthread option to gcc (that makes it use -lc_r and -D_POSIX_THREADS).
Doc some re-entrant routines
Add libc_r to intro(3)
dig() uses some libc srcs and an extra -I was needed there.
Add more md stuff to libc_r.
Update includes for the pthreads api
Update libc_r TODO


Revision tags: OPENBSD_2_4_BASE
# 1.7 30-Aug-1998 millert

v?asnprintf was never ocmmitted because it make stdio guts too gross. Remove references...


# 1.6 28-Aug-1998 deraadt

links to asnprintf and such


# 1.5 03-Jul-1998 deraadt

link for mkstemps()


Revision tags: OPENBSD_2_3_BASE
# 1.4 29-Nov-1997 millert

Build asprintf.c and vasprintf.c


Revision tags: OPENBSD_2_2_BASE
# 1.3 26-Sep-1997 millert

Man link for mkdtemp(3).


Revision tags: OPENBSD_2_0_BASE OPENBSD_2_1_BASE
# 1.2 19-Aug-1996 tholo

Fix RCS ids
Make sure everything uses {SYS,}LIBC_SCCS properly


# 1.1 18-Oct-1995 deraadt

branches: 1.1.1;
Initial revision