| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
PR: bin/8322
Submitted by: Philipp Mergenthaler <philipp.mergenthaler@stud.uni-karlsruhe.de>
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
| |
Also take a stab at cleaning up BDECFLAGS and convert all uses of
NOSTR, NIL, NONE, NOVAR, NOGRP, NOGE to NULL. Also kill 'register' to
get diffs somewhat closer to OpenBSD/NetBSD.
There are no functional changes however.
Reviewed by: nra (visual inspection)
|
|
|
|
|
|
|
| |
lines that end in <CR><LF> to just <LF>.
Reviewed by: imp
Obtained from: OpenBSD
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
o remove panic() in favor of err(3) and use err(3) functions
consistently throughout
o use stat(2)'s S_IS* macros rather than S_IF*
o [r]index -> str[r]chr
o convert some static buffers to dynamic ones
o use real tempfiles rather than reopening the same templates
o rename some functions that clash with libc
o convert wait_status from union to int and use wait(2) status macros
o fix multiple potential buffer overflows
o fix a few comments
o add $FreeBSD$
Reviewed by: nra, nectar (earlier version)
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Rename local offsetof() macro to boffsetof() to avoid clashing with
the offsetof() from <stddef.h>
|
|
|
|
|
| |
The maintainers of share/examples/diskless/README.TEMPLATING and mergemaster
have been contacted so those may be updated as well.
|
|
|
|
| |
Minor warnings in tip corrected.
|
|
|
|
|
| |
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.
|
|
|
|
|
| |
PR: docs/1577
Submitted by: Joseph Koshy <koshy@india.hp.com>
|
| |
|
|
|
|
| |
PR: bin/8665
|
|
|
|
|
| |
Approved by: jkh
Obtained from: NetBSD
|
| |
|
|
|
|
|
|
|
| |
popen(), but worse. The child calls execvp(), which calls malloc()
a bit more than execl(), and it calls non-library functions that call
malloc() and who-knows-what else (stdio is called in at least some
error cases).
|
|
|
|
|
|
|
|
|
|
|
| |
temporary file names were uninitialized if TMPDIR was set and 1 too
small otherwise.
Fixed style bugs in previous commit.
Fixed missing checks for malloc failure in previous commit.
Report malloc failure consistently, at least in temp.c.
|
|
|
|
| |
Broken in: previous commit
|
|
|
|
| |
protect against buffer overruns in mail temporary files.
|
| |
|
| |
|
|
|
|
|
| |
PR: 4778
Submitted by: Ruslan Ermilov <ru@ucb.crimea.ua>
|
|
|
|
| |
Submitted by: bde
|
|
|
|
|
|
|
|
|
|
| |
variable which is de-facto standard for MUAs.
Teach bomail to generate an in-reply-to header so threading MUAs and
mail->news gateways won't lose context.
While i was at it, removed two gratuitous standard violations for
functions starting with an underscore.
|
|
|
|
|
| |
PR: 4888
Submitted by: h-nokubi@nmit.tmg.nec.co.jp
|
|
|
|
|
|
|
|
|
| |
plain 0 should be used. This happens to work because we #define
NULL to 0, but is stylistically wrong and can cause problems
for people trying to port bits of code to other environments.
PR: 2752
Submitted by: Arne Henrik Juul <arnej@imf.unit.no>
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
undelete() syscall.
Submitted by: partly by roberto
|
|
|
|
| |
posix standard on the topic.
|
| |
|
|
|
|
|
| |
Submitted by: Julian Coleman <j.d.coleman@ncl.ac.uk>
Obtained from: NetBSD-bugs PR# 3104
|
|
|
|
|
|
|
|
| |
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.
|
|
|
|
| |
Submitted-By: Lyndon Nerenberg VE7TCP <lyndon@orthanc.com>
|
|
|
|
| |
Submitted-By: Dan Cross <cross@math.psu.edu>
|
|
|
|
|
|
| |
instead (for the input stack size).
`mail' was one of the 3 programs in /usr/src that (mis)used NOFILE.
|
|
|
|
| |
Obtained from: A Quarter Century of UNIX, Peter H. Salus, page 41
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
instead of {usr|var}/spool/mail
|
|
|
|
|
|
| |
Closes PR # bin/657: mail(1): comments in ~/.ma...
Submitted by: wosch@cs.tu-berlin.de (Wolfram Schneider)
|