summaryrefslogtreecommitdiff
path: root/bin/ksh/io.c
AgeCommit message (Expand)Author
2019-07-24Add #include <stdlib.h> for mkstemp.Brian Callahan
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2018-01-16Introduce internal_warningf() and mark internal_errorf() as noreturnJeremie Courreges-Anglas
2016-03-20Currently we have about a 50/50 split over fcntl(n, F_GETFL [,0])Kenneth R Westerback
2015-12-14Move system headers from sh.h to those files that actually need them.tb
2015-11-07Make it clearer that warningf()'s first argument determines whether themmcc
2015-10-19Move string.h include from sh.h to the files that use it.mmcc
2015-10-19Apply style(9) to header includes.mmcc
2015-09-22Make errorf() and bi_errorf() handle a NULL argument.Todd C. Miller
2015-09-18Last of the (thing *)0 -> NULL, from Michael McConville. No binaryNicholas Marriott
2015-09-17Remove unnecessary casts, from Michael McConville. No binary change.Nicholas Marriott
2015-09-15correct spelling of NULL from (char *)0. from Michael McConville.Ted Unangst
2015-09-11Remove redundant assignmentPhilip Guenther
2014-08-11Still need to separately set FD_CLOEXEC if the new fd was >= FDBASE.Philip Guenther
2014-08-10Replace F_DUPFD followed by setting FD_CLOEXEC with just F_DUPFD_CLOEXECPhilip Guenther
2013-12-17ctype cleanups. Repeated re-audits of this sensitive area by okan andTheo de Raadt
2006-03-17Simplify savefd() by removing the "noclose" flag and make nocloseTodd C. Miller
2005-03-30lots of indentation cleanup, now ksh is readable like our other code.Theo de Raadt
2004-12-30Remove -Wno-unused form CFLAGS and kill some unused vars found as a result ofOtto Moerbeek
2004-12-22Use stdbool.h instead of rolling our own bools.Todd C. Miller
2004-12-20Ansification plus some minor knf. No binary change on i386 andOtto Moerbeek
2004-12-18Replace fd_clexec() with calls to fcntl(fd, F_SETFD, FD_CLOEXEC)Todd C. Miller
2004-12-18deregisterTodd C. Miller
2004-12-18Get rid of #ifdef KSH since we don't care about building a V7 style sh andTodd C. Miller
2004-12-18Remove unused OS dependent #ifdef blocks, #defines and macro abstraction.Todd C. Miller
2003-11-10If "from fd" == "to fd" don't call dup2() or close "from fd".Todd C. Miller
2003-03-10spelling fixesDavid Krause
2002-06-09knfTodd T. Fries
2001-09-19occured->occurredMike Pechkin
2000-08-20Use mkstemp(), ryker@ryker.orgTodd C. Miller
1999-06-15patches from pdksh 5.2.13.11Todd C. Miller
1999-01-10sync with pdksh-unstable-5.2.13.6Todd C. Miller
1999-01-08bug fixes from pdksh-unstable-5.2.13.5; some of which we already had.Todd C. Miller
1998-06-25pdksh-5.2.13 + local changesTodd C. Miller
1997-06-19back outkstailey
1997-06-18(foo *)0 -> NULLkstailey
1996-08-19update to pdksh-5.2.8Jason Downs
1996-08-14Import pdksh 5.2.7.Jason Downs