Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-10-04 | wrap _fwalk() so internal calls are direct (at least until we stop | Philip Guenther | |
exporting it) | |||
2015-10-01 | Eliminate the last of the LINTEDn and PRINTFLIKEn comments. In one | Philip Guenther | |
case, by deleting some useless '& of an array' we also eliminate the need for the casts which prompted the original lint warnings ok deraadt@ | |||
2015-09-29 | Delete the final, inscrutable NOSTRICT and VARARGS lint comments | Philip Guenther | |
ok millert@ | |||
2015-09-14 | in the SYNOPSIS, make void function arguments explicit | Ingo Schwarze | |
2015-09-14 | Wrap the remaining __*dtoa() functions so that internal calls go direct | Philip Guenther | |
2015-09-13 | Wrap <stdlib.h> so that calls go direct and the symbols not in the | Philip Guenther | |
C standard are all weak. Apply __{BEGIN,END}_HIDDEN_DECLS to gdtoa{,imp}.h, hiding the arch-specific __strtorx, __ULtox_D2A, __strtorQ, __ULtoQ_D2A symbols. | |||
2015-09-12 | Wrap <inttypes.h> and finish wrapping of <wchar.h> so that calls go direct | Philip Guenther | |
and the symbols not in the C standard are weak | |||
2015-09-12 | Wrap <unistd.h> so that internal calls go direct and they're all weak symbols | Philip Guenther | |
Delete unused 'fd' argument from internal function oldttyname() | |||
2015-09-10 | another missing Mdocdate | Ingo Schwarze | |
2015-08-31 | Add framework for resolving (pun intended) libc namespace issues, using | Philip Guenther | |
wrapper .h files and asm labels to let internal calls resolve directly and not be overridable or use the PLT. Then, apply that framework to most of the functions in stdio.h, string.h, err.h, and wchar.h. Delete the should-have-been-hidden-all-along _v?(err|warn)[cx]? symbols while here. tests clean on i386, amd64, sparc64, powerpc, and mips64 naming feedback from kettenis@ and millert@ ok kettenis@ | |||
2015-08-27 | Use static and __{BEGIN,ENV}_HIDDEN_DECLS to hide a bunch of internal | Philip Guenther | |
symbols that are not longer exported. (This improves the generated code.) ok deraadt@ | |||
2015-08-20 | All these files include <stdlib.h>, so do not need to cast | Theo de Raadt | |
malloc/calloc/realloc* returns. | |||
2015-06-03 | snprintf(3) is available on all modern systems and asprintf(3) is | Todd C. Miller | |
available on more systems these days. OK deraadt@ | |||
2015-03-23 | fix memory leaks in tempnam(3) error paths | Jonathan Gray | |
ok miod@ millert@ krw@ guenther@ | |||
2015-03-13 | remove the first comma from constructs like ", and," and ", or,": you can use | Jason McIntyre | |
"and" and "or" to join sentence clauses, and you can use commas, but both hinders reading; | |||
2015-03-12 | Fix typo: nemb -> nmemb | Lawrence Teo | |
From Ryan May. | |||
2015-03-05 | Revert; committed by accident without approval from deraadt@ at release | Lawrence Teo | |
time. Prodded by guenther@. Sorry. | |||
2015-03-05 | Fix typo, from Ryan May. | Lawrence Teo | |
2015-02-28 | Reduce usage of predefined strings in manpages. | Anthony J. Bentley | |
Predefined strings are not very portable across troff implementations, and they make the source much harder to read. Usually the intended character can be written directly. No output changes, except for two instances where the incorrect escape was used in the first place. tweaks + ok schwarze@ | |||
2015-02-06 | SIZE_MAX is standard, we should be using it in preference to the | Todd C. Miller | |
obsolete SIZE_T_MAX. OK miod@ beck@ | |||
2015-02-05 | Include stdint.h, not limits.h to get SIZE_MAX. OK guenther@ | Todd C. Miller | |
2015-01-29 | Use .Rv where appropriate, and move it to RETURN VALUES; | Ingo Schwarze | |
remove .Tn, and a few minor macro adjustments. Patch from Kaspars at Bankovskis dot net. | |||
2015-01-16 | Move to the <limits.h> universe. | Theo de Raadt | |
review by millert, binary checking process with doug, concept with guenther | |||
2015-01-15 | typo; from Kaspars at Bankovskis dot net | Ingo Schwarze | |
2015-01-13 | remove .Tn from stdio manuals; Kaspars Bankovskis found one of these | Ingo Schwarze | |
2015-01-13 | Remove unnecessary calls to __atexit_register_cleanup(), calling __sinit() | Philip Guenther | |
instead where necessary. Based on a diff from enh (at) google.com ok millert@ | |||
2015-01-12 | Add fgetwln(3) from FreeBSD and bump libc minor revision. | Todd C. Miller | |
2015-01-05 | Remove #ifdef notdef bits--we are not going to change the fgetln() | Todd C. Miller | |
API to NUL-terminate the buffer. | |||
2014-12-21 | Show the sign for NaN as per POSIX; from Elliott Hughes. | Daniel Dickman | |
ok martynas@, millert@, doug@ | |||
2014-12-08 | don't do silly (and slow) one byte reads in unbuffered mode. | Ted Unangst | |
from enh at google | |||
2014-11-26 | garbage collect .Tn | Ingo Schwarze | |
2014-11-25 | zap trailing whitespace; | Jason McIntyre | |
2014-11-25 | C99 says setvbuf() returns non-zero, not EOF. Also, POSIX documents | Todd C. Miller | |
that it returns an error for invalid mode which matches our behavior. OK jmc@ deraadt@ | |||
2014-11-25 | Move guts of setbuf.3 into setvbuf.3 to make it clear which one | Todd C. Miller | |
should be used in new code. | |||
2014-11-19 | abort() doesn't call atexit handlers any more | Philip Guenther | |
2014-11-15 | Reduce instances of `` '' in manuals. | Anthony J. Bentley | |
troff displays these as typographic quotes, but nroff implementations almost always print them literally, which rarely has the intended effect with modern fonts, even in stock xterm. These uses of `` '' can be replaced either with more semantic alternatives or with Dq, which prints typographic quotes in a UTF-8 locale (but will automatically fall back to `` '' in an ASCII locale). improvements and ok schwarze@ | |||
2014-11-04 | explicitly clarify that reading also stops after size-1 bytes | Ted Unangst | |
2014-10-31 | Use "const char tempchars[]" instead of "const char *tempchars". | Todd C. Miller | |
Since tempchars is never reassigned there's no need to indirect through a pointer. Still getting used to this newfangled C89. | |||
2014-10-26 | The open flags param to mkostemps() should be "flags" not "oflags" | Todd C. Miller | |
for consistency with the rest of the manual. | |||
2014-10-16 | Fix bounds check for newlen without relying on unspecified behavior. | Todd C. Miller | |
OK deraadt@ | |||
2014-10-11 | use reallocarray, and avoid this << 1 ugliness. | Theo de Raadt | |
ok doug | |||
2014-10-08 | obvious reallocarray(); ok doug | Theo de Raadt | |
2014-08-31 | provide section numbers for xrs; | Jason McIntyre | |
2014-08-31 | Add additional userland interfaces for setting close-on-exec on fds | Philip Guenther | |
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@ | |||
2014-07-03 | rework some fflush text, as requested | Jason McIntyre | |
From: Edward tweaks From: Tim van der Molen | |||
2014-06-04 | Remove assigned but unused local variables and macro from vfwprintf(). | Stefan Sperling | |
Found by Elliott @ google ok mpi@ | |||
2014-05-13 | for non-valid combinations with `#', instead of trying to list them all, | Jason McIntyre | |
simply say all other combinations are behaviour undefined; ok guenther, who reminded me to change these too; | |||
2014-05-09 | when demonstrating the correct "double-check" idiom, provide a | Theo de Raadt | |
reminder that the return value is int... | |||
2014-05-06 | We don't really need uniform distribution for mktemp(3) so use | Todd C. Miller | |
arc4random_buf() to avoid lots of arc4random() calls with a getpid() syscall for each one. We fetch 32 bytes of random data at a time which can handle up to 16 Xs. 16 Xs should be enough for anyone. Requested and OK deraadt@ | |||
2014-05-03 | Add #ifndef NO_PRINTF_PERCENT_N. Since we are fully standardized, we | Theo de Raadt | |
don't use disable %n ourselves. But Google's Android libc is based on our libc.... Giving them an easy knob to disable this dangerous feature easily make their job easier without making our job any harder. Request from Elliott @ google |