summaryrefslogtreecommitdiff
path: root/usr.bin/chpass/edit.c
AgeCommit message (Expand)Author
2007-03-20remove some bogus *p tests from charles longeauTed Unangst
2006-03-30use size_t where needed; ok deraadt@Robert Nagy
2005-11-14use asprintfTheo de Raadt
2003-06-03Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2003-04-03Deal with files w/o a trailing newline before EOF. Found by mpech@Todd C. Miller
2003-02-07More paranoia, make sure temp file owner matches real uid.Todd C. Miller
2003-02-02More paranoia when opening temp file; don't follow symlinks andTodd C. Miller
2002-07-31When I got removed the use of atexit() I missed the fact that edit()Todd C. Miller
2002-06-27cleanup; mpech & millert okTheo de Raadt
2001-07-12first pass at a -Wall cleanupTheo de Raadt
2000-09-26Do not permit non-printable characters in the passwd file; deraadt@ okAaron Campbell
2000-03-05Change prompt string from "Location:" to "Office Location:", to disambiguateAaron Campbell
1999-12-05Fix temp file unlinking. We use atexit() since the libutil passwdTodd C. Miller
1999-11-28Check for size change as well as change in time. Scripted changesHakan Olsson
1999-08-06uid_t and gid_t, and use %uTheo de Raadt
1998-05-28unlink tmpfile; noted by chris@dqc.orgTheo de Raadt
1998-05-28permit any gecos field to be emptyTheo de Raadt
1998-03-30Y2K fixes from Andreas.Gunnarsson@emw.ericsson.se; culled from various placesTheo de Raadt
1997-06-17(foo *)NULL -> NULLkstailey
1996-09-23for errors, tell which line #Theo de Raadt
1996-09-01limit to around 1024 chars post expansionTheo de Raadt
1996-08-31constrain & expansion to LINE_MAX for safetyTheo de Raadt
1996-08-31kill leaks; help from das33@cornell.eduTheo de Raadt
1996-08-30typoTheo de Raadt
1996-08-30watch for slimy link races, improvement by das33@cornell.edu & iTheo de Raadt
1996-08-26mem leakTheo de Raadt
1996-07-12slight clarificationJason Downs
1996-06-26rcsidTheo de Raadt
1996-05-22libutilTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt