summaryrefslogtreecommitdiffstats
path: root/usr.bin/learn/src/learn.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove a long-dead skeleton found under the floorboards.ian2010-07-011-1048/+0
| | | | "go for it" tedu@, "kill it" deraadt@
* use strcspn to properly overwrite '\n' in fgets returned bufferchl2007-10-051-11/+13
| | | | | | | | check fgets return value use sizeof (buf) instead of hardcoded value with help of moritz@ and ray@ "Those seem OK" moritz@ "OK" ray@ "Looks OK" millert@
* Typos in comments from Jared Yanovich <jjy2+ at pitt dot edu>otto2003-11-091-2/+2
|
* string shit; ok millertderaadt2003-04-061-15/+15
|
* a real pid_t cleanup.mpech2002-06-121-4/+6
| | | | | | espie@ ok for make/, deraadt@ one extra eye, millert@ ok
* kill more registersmpech2001-11-191-2/+2
| | | | millert@ ok
* -Wall cleanuppvalchev2001-07-181-1/+3
|
* correct type on last arg to execl(); nordin@cse.ogi.eduderaadt2001-07-091-7/+7
|
* warnx?/errx? paranoia (use "%s" not a bare string unless it is amillert2000-06-301-4/+4
| | | | | | | | | 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).
* More <sys/file.h> vs. <fcntl.h> and open() flags fixes.millert1999-08-171-3/+4
|
* First round of code modernization. Create playdir under /tmp, notian1998-09-281-52/+104
| | | | libdir. Add man page. Add pathnames.h.
* import BTL learn(1)ian1998-09-281-0/+989