summaryrefslogtreecommitdiff
path: root/usr.sbin/edquota/edquota.c
AgeCommit message (Expand)Author
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2018-09-16Use uid_from_user(3) and gid_from_group(3) in utilities thatTodd C. Miller
2018-04-26Use <fcntl.h> instead of <sys/file.h> for open() and friends.Philip Guenther
2015-08-20stdlib.h is in scope; do not cast malloc/calloc/realloc*Theo de Raadt
2015-02-09clean up flags++ instances around getopt()Theo de Raadt
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2014-10-07When reading time intervals, start with a long long and convert from there.Philip Guenther
2014-07-20Make sure the correct errno is reported by warn* or err* and notPhilip Guenther
2014-05-18replace some (type *)0 to NULLCharles Longeau
2013-11-23yet more unsigned char casts for ctypeTheo de Raadt
2013-04-21Unbreak edquota by fixing the temporary file name template. Whilst here,Joel Sing
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2007-10-17- Be more careful about pre-existing SIGCHLD handlers (or SIG_IGN) byTheo de Raadt
2007-08-31Copy editit() from sendbug, synchronizing editor calling code.Ray Lai
2007-08-06the ellipsis is not an optional argument; while here, sync the usageIgor Sobrado
2006-10-18do not name FILE * variables "fd" since it is confusingTheo de Raadt
2006-04-02use SEEK_* for lseek()Theo de Raadt
2005-11-12more asprintf; ok dhill@mindcry.orgTheo de Raadt
2005-04-01these commands said "blocks" when they meant "KBytes" (they even calculatedTheo de Raadt
2004-03-09type, Marek BlaszkowskiTed Unangst
2003-06-26strict proto cleanupsTheo de Raadt
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2003-04-25replace an unbounded %s in a sscanf with a bounded oneAnil Madhavapeddy
2003-04-02strlcpy; millert okTheo de Raadt
2003-03-13lots of sprintf -> snprintf and strcpy -> strlcpy; checked by teduTheo de Raadt
2002-09-06cope with INITQFNAMES without a ;Theo de Raadt
2002-09-06no ; after INITQFNAMESTheo de Raadt
2002-06-04spelling; raj@cerias.purdue.eduTheo de Raadt
2002-05-29more snprintfTheo de Raadt
2002-05-26pid_t cleanupTheo de Raadt
2002-03-14kill more registers.Mike Pechkin
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2001-09-04Replace the deprecated BSD sigsetmask/sigblock/sigpause functions with their ...Todd C. Miller
2001-01-15Revert previous patch (I should stop believing Theo, esp. when he'sAngelos D. Keromytis
2001-01-14Handle quotas over 4G, PR 1534 (bob@prophecy.lu)Angelos D. Keromytis
2000-12-21Deal with quotas over 4G correctly; also, tidy a bit and be a touch morePaul Janzen
2000-06-30warnx?/errx? paranoia (use "%s" not a bare string unless it is aTodd C. Miller
1999-06-15change getentry() args to solve problemTheo de Raadt
1999-06-15Check return value of getentry() for -1, not < 0 since it returnsTodd C. Miller
1999-01-03fix overflow; bdeTheo de Raadt
1998-07-13ftpd: sleep for an indeterminate amount for non-existant loginsTodd C. Miller
1998-05-18MAXPATHLEN not MAXPATHLEN+1Theo de Raadt
1998-03-22Don't assume all-numeric names are id's, look up as a name inTodd C. Miller
1997-08-20Some KNF and use warn/err.Todd C. Miller
1997-06-30Wall. uid & gid are not perfect .. but that is OKTheo de Raadt
1997-01-28repair quotactl() typesTheo de Raadt
1997-01-17r?index -> strr?chrTodd C. Miller
1996-09-16_PATH_TMP -> _PATH_TMPFILETodd C. Miller
1996-09-01fix warningsTheo de Raadt
1996-08-29type fixesTheo de Raadt