summaryrefslogtreecommitdiffstats
path: root/usr.bin/script/script.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt2009-10-271-14/+1
| | | | | | | unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
* in the write codepaths, errors other than EAGAIN are fatal to the loop; ok ottoderaadt2005-12-121-2/+6
|
* use STDERR_FILENO; ok cloderderaadt2005-04-111-3/+3
|
* Block SIGALRM during write--we only want it to interrupt read().millert2004-12-191-2/+7
| | | | OK deraadt@
* use err/warn and __prognamemickey2004-10-101-8/+9
|
* ARGSUSED before signal handler with unused signoderaadt2004-09-141-4/+8
|
* mostly ansi cleanup; pval okderaadt2003-06-101-16/+10
|
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-031-7/+3
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.millert2002-02-161-9/+9
|
* After a simplistic rewrite, signal flags were not being noticed until aderaadt2001-11-181-48/+104
| | | | | | | succesfull read operation. To avoid this, we must use SA_RESTART, and rewrite most of the guts to handle interrupted read, write, etc, even being careful to check what library routines are called.... input from millert, markus, and espie
* correct type on last arg to execl(); nordin@cse.ogi.eduderaadt2001-07-091-3/+3
|
* comment on a real nasty racederaadt2001-01-111-2/+3
|
* warnx?/errx? paranoia (use "%s" not a bare string unless it is amillert2000-06-301-3/+3
| | | | | | | | | constant). These are not security holes but it is worth fixing them anyway both for robustness and so folks looking for examples in the tree are not misled into doing something potentially dangerous. Furthermore, it is a bad idea to assume that pathnames will not include '%' in them and that error routines don't return strings with '%' in them (especially in light of the possibility of locales).
* Propagate window size changes to slave.espie2000-04-161-2/+21
|
* Make script give correct return values; adapted from FreeBSDericj2000-03-221-13/+18
|
* union wait is wrong; christosderaadt1998-12-191-4/+4
|
* save errno in mangly handlersderaadt1997-08-061-2/+5
|
* save errno in sigchld handlersderaadt1997-08-041-2/+4
|
* user err(3)mickey1997-07-251-33/+5
|
* #if __STDC__ --> #ifdef __STDC__mickey1997-07-251-5/+5
|
* Wallderaadt1997-06-201-2/+5
|
* exec with argv[0] as shell, not "sh"; era@iki.fideraadt1997-03-251-3/+3
|
* getopt(3) returns -1 when out of args, not EOF, whee!millert1997-01-151-3/+3
|
* rcsidderaadt1996-06-261-1/+2
|
* initial import of NetBSD treederaadt1995-10-181-0/+273