#
e34cb67c |
| 28-Nov-2017 |
tb <tb@openbsd.org> |
GNU ld has prefixed the contents of .gnu.warning.SYMBOL sections with "warning: " since 2003, so the messages themselves need not contain the prefix anymore.
From Scott Cheloha ok jca, deraadt
|
#
9d9553bd |
| 01-Oct-2015 |
guenther <guenther@openbsd.org> |
Eliminate the last of the LINTEDn and PRINTFLIKEn comments. In one case, by deleting some useless '& of an array' we also eliminate the need for the casts which prompted the original lint warnings
Eliminate the last of the LINTEDn and PRINTFLIKEn comments. In one case, by deleting some useless '& of an array' we also eliminate the need for the casts which prompted the original lint warnings
ok deraadt@
show more ...
|
#
b18e690d |
| 30-May-2011 |
martynas <martynas@openbsd.org> |
Make printf-like and scanf-like functions marked as such in llib-lc.ln and llib-lwrap.ln databases; so that the lint features doing format strings checks are enabled by default.
Looks good to mille
Make printf-like and scanf-like functions marked as such in llib-lc.ln and llib-lwrap.ln databases; so that the lint features doing format strings checks are enabled by default.
Looks good to millert@.
show more ...
|
#
c5acf43a |
| 09-Nov-2009 |
kurt <kurt@openbsd.org> |
Fix the handle locking in stdio to use flockfile/funlockfile internally when and where required. Macros in <stdio.h> are updated to automatically call the underlying functions when the process is th
Fix the handle locking in stdio to use flockfile/funlockfile internally when and where required. Macros in <stdio.h> are updated to automatically call the underlying functions when the process is threaded to obtain the necessary locking. A private mutex is added to protect __sglue, the internal list of FILE handles, and another to protect the one-time initialization. Some routines in libc that use getc() change to use getc_unlocked() as they're either protected by their own lock or aren't thread-safe routines anyway.
committing on behalf of and okay guenther@ now that we have install media space available.
show more ...
|
#
7ff09c5c |
| 22-Oct-2009 |
guenther <guenther@openbsd.org> |
Back out previous commit, as it caused too much growth for the install media to fit
|
#
9962e7fd |
| 21-Oct-2009 |
guenther <guenther@openbsd.org> |
Fix the handle locking in stdio to use flockfile/funlockfile internally when and where required. Macros in <stdio.h> are updated to automatically call the underlying functions when the process is th
Fix the handle locking in stdio to use flockfile/funlockfile internally when and where required. Macros in <stdio.h> are updated to automatically call the underlying functions when the process is threaded to obtain the necessary locking. A private mutex is added to protect __sglue, the internal list of FILE handles, and another to protect the one-time initialization. Some routines in libc that use getc() change to use getc_unlocked() as they're either protected by their own lock or aren't thread-safe routines anyway.
ok kurt@, earlier version tested by sthen@ and jj@
show more ...
|
#
ffd953df |
| 10-Oct-2005 |
espie <espie@openbsd.org> |
Remove a few warnings. Those were not apparent thanks to a bug in gcc 2.95.
Patch by Leonardo Chiquitto Filho <leonardo@iken.com.br> Thanks.
|
#
c2c925de |
| 08-Aug-2005 |
espie <espie@openbsd.org> |
zap remaining rcsid.
Kill old files that are no longer compiled.
okay theo
|
#
685aea3c |
| 30-Apr-2005 |
espie <espie@openbsd.org> |
Change internals of FILE: reuse the unget buffer field to access an extended attribute data structure (pimpl idiom). Idea taken from citrus. Much discussion with deraadt@, otto@, millert@...
This is
Change internals of FILE: reuse the unget buffer field to access an 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.
show more ...
|
#
9e895940 |
| 31-Mar-2005 |
pat <pat@openbsd.org> |
make sure the implementation matches the prototype.. char const * -> const char *
ok otto@ deraadt@
|
#
a177c125 |
| 24-Jul-2003 |
deraadt <deraadt@openbsd.org> |
warn about unsafe APIs at link time. Conditional on libc/Makefile defining APIWARN; disabled by default. In use by many developers for quite some time, now they have a common knob to enable/disable
warn about unsafe APIs at link time. Conditional on libc/Makefile defining APIWARN; disabled by default. In use by many developers for quite some time, now they have a common knob to enable/disable this
show more ...
|
#
1929d8d4 |
| 11-Jun-2003 |
deraadt <deraadt@openbsd.org> |
oops
|
#
f723aa39 |
| 11-Jun-2003 |
deraadt <deraadt@openbsd.org> |
ansification; checked by pval
|
#
6580fee3 |
| 02-Jun-2003 |
millert <millert@openbsd.org> |
Remove the advertising clause in the UCB license which Berkeley rescinded 22 July 1999. Proofed by myself and Theo.
|
#
e7beb4a7 |
| 19-Feb-2002 |
millert <millert@openbsd.org> |
We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.
|
#
a4a741f7 |
| 12-Jan-1998 |
millert <millert@openbsd.org> |
Based on some FreeBSD changes: For *s*printf, set f._file to -1 like the comments in stdio.h say. Use '\0', not 0, where appropriate. Don't error out on size of '0' for v?snprintf().
|
#
b7113356 |
| 25-Jul-1997 |
mickey <mickey@openbsd.org> |
#if __STDC__ --> #ifdef __STDC__
|
#
e9b2b68c |
| 19-Aug-1996 |
tholo <tholo@openbsd.org> |
Fix RCS ids Make sure everything uses {SYS,}LIBC_SCCS properly
|
#
df930be7 |
| 18-Oct-1995 |
deraadt <deraadt@openbsd.org> |
initial import of NetBSD tree
|