summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2015-12-30now that ibuf_free() checks for null, we can remove the check here.Sebastian Benoit
ok mmcc@ millert@
2015-12-30now that ibuf_free() checks for null, we can remove the check here.Sebastian Benoit
ok mmcc@ millert@ tb@ claudio@
2015-12-30d_namlen is not portable, there is no reason to keep a delta with -portable andJoerg Jung
it is not even "optimizing" things, this is a startup loop which will not bring any benefit at runtime. thus, change it and reduce diff to -portable. ok gilles sunil
2015-12-29Don't assume fprintf() will set the FILE * error condition.Todd C. Miller
Instead, check the return value of fprintf() and fflush() and call clearerr() before returning on error. OK jca@
2015-12-29Change send_line() return value to be 1/0 like get_responses() andTodd C. Miller
check the return value in the callers. The inital value of inheaders has been changed to improve readability. OK gilles@ jung@
2015-12-29When running syslogd in debug mode, use a callback to print theAlexander Bluhm
libevent messages. Before the code was removed from libevent, the library itself printed that to stderr. OK nicm@
2015-12-28Replace lseek/[read|write] with pread|pwrite.Kenneth R Westerback
ok millert@ a while ago.
2015-12-28remove spaces after '!'Joerg Jung
no binary change ok millert
2015-12-28build mopd with -Werror-implicit-function-declarationSebastian Benoit
ok tb@
2015-12-28build all lpr tools with -Werror-implicit-function-declarationSebastian Benoit
ok tb@
2015-12-28fprintf() may not set the error indicator on failure so just useTodd C. Miller
fputs() + putc() to write the string and trailing newline. OK jung@
2015-12-28remove unused copy argument from addarg()Joerg Jung
diff from Serguey Parkhomovsky via tech@ ok sunil millert
2015-12-28build smtpd and smtpctl with -Werror-implicit-function-declarationSebastian Benoit
ok tedu@
2015-12-28build most of usr.sbin with -Werror-implicit-function-declarationSebastian Benoit
ok florian@
2015-12-26bzero -> memset. No binary change.mmcc
ok tb@
2015-12-26Use pread/pwrite instead separate lseek+read/write for lastlog.Philip Guenther
Cast to off_t before multiplication to avoid truncation on ILP32 ok kettenis@ mmcc@
2015-12-24Make gpt_chk_mbr() instances even more identicaller by alwaysKenneth R Westerback
returning 0 or 1 since only boolean checks of the result are done. No need for EINVAL as a return value.
2015-12-24Make all instances of gpt_chk_mbr() identical (bar static vsKenneth R Westerback
non-static) by passing disk size as 2nd parameter instead of the different structures holding the disk size info. The fifth copy of gpt_chk_mbr() in fdisk is a little specialer. No functional change.
2015-12-24bzero -> memset. No binary change.mmcc
2015-12-24use strndup instead of malloc/strncpy/nulmmcc
ok krw@
2015-12-24more e-mail -> emailmmcc
2015-12-24Add prototype for gpt_chk_mbr() to i386_installboot.c. Add 'static' toKenneth R Westerback
declarations of gpt_chk_mbr() to match prototypes in efidev.c and softraid.c.
2015-12-24revert check_tcp rev 1.41 by yasuoka@Sebastian Benoit
This part was not meant to be commited, only the bits in check_icmp.c and relayd.h are ok. ok yasuoka@
2015-12-24adress -> addressAnthony J. Bentley
2015-12-24completly -> completelymmcc
2015-12-23Remove NULL-checks before free(). I think I've almost scrubbed themmcc
entire tree of these...
2015-12-23expand message between processes to 2048 bytes. Andre Smagin foundTheo de Raadt
a case where it can reach 637 bytes of output, so use almost 4x (he suggested 1024)
2015-12-23Tidy up output.Antoine Jacoutot
2015-12-22fix sendmail options parsingGilles Chehade
diff from Serguey Parkhomovsky <sergueyparkhomovsky@gmail.com>
2015-12-22commited -> committedmmcc
2015-12-22assign pointers to NULL rather than 0mmcc
2015-12-22update examplesGilles Chehade
diff from Serguey Parkhomovsky <sergueyparkhomovsky@gmail.com> ok sunil@
2015-12-22remove a NULL-check before free()mmcc
2015-12-22remove a NULL-check before free()mmcc
2015-12-22make it clear this needs to be run only for db filesJason McIntyre
since smtpd has switched to using plain files by default; ok sunil gilles
2015-12-22Kill a trailing whitespace that snuck in with previous commit.Sunil Nimmagadda
2015-12-22Initialize a char* to NULL rather than 0.mmcc
2015-12-22commiting -> committingmmcc
2015-12-22Wrap long lines.Sunil Nimmagadda
Ok gilles@ jung@
2015-12-22Wrap long lines.Sunil Nimmagadda
Ok gilles@ jung@
2015-12-21remove NULL-checks before free()mmcc
2015-12-21remove NULL-check before free()mmcc
2015-12-21Remove NULL-checks before free().mmcc
2015-12-21Start accepting some sendmail compatible commandline arguments.Sunil Nimmagadda
This diff teaches smtpctl to understand '-bi -O AliasFile=<path_aliases>' and generate aliases.db. Ok gilles@ jung@ millert@
2015-12-21Only run newaliases(8) if we already have an aliases db.Antoine Jacoutot
2015-12-20need to include err.h for err().Sebastian Benoit
ok deraadt@
2015-12-20Remove unnecessary options:Robert Peichaer
- in fsck_msdos, '-f' option is a no-op - newfs_msdos does not need '-t msdos' OK krw@
2015-12-20remove redundant logGilles Chehade
2015-12-19No need for an extra log.hReyk Floeter
OK bcook@
2015-12-19Remove NULL-check before free().mmcc