| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
Notes:
svn path=/head/; revision=102410
|
| |
|
|
| |
Notes:
svn path=/head/; revision=101093
|
| |
|
|
| |
Notes:
svn path=/head/; revision=99410
|
| |
|
|
| |
Notes:
svn path=/head/; revision=99109
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
and a warning that this "restricted mode" can be bypassed easily by
using symlinks, so that users don't depend too much on it.
PR: docs/35940
Submitted by: Gary W. Swearingen <swear@blarg.net>
Reviewed by: jmallett
MFC after: 1 week
Notes:
svn path=/head/; revision=98780
|
| |
|
|
|
|
|
|
|
|
|
| |
proper parens mean that fd is always set by open(2) [in any part of C],
and so we can accurately check for it returning -1, without feeling like
we need to initialise fd to -1 in its declaration.
In other words, fix a stylistic/bogus nit.
Notes:
svn path=/head/; revision=98481
|
| |
|
|
|
|
|
| |
use main() to do it locally.
Notes:
svn path=/head/; revision=98465
|
| |
|
|
| |
Notes:
svn path=/head/; revision=94869
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
o Old-style K&R declarations have been converted to new C89 style
o register has been removed
o prototype for main() has been removed (gcc3 makes it an error)
o int main(int argc, char *argv[]) is the preferred main definition.
o Attempt to not break style(9) conformance for declarations more than
they already are.
o gc some #ifdef sun ... #endif code
Approved by: arch@, new style(9)
Notes:
svn path=/head/; revision=90109
|
| |
|
|
| |
Notes:
svn path=/head/; revision=87444
|
| |
|
|
|
|
|
|
|
| |
set WARNS=0.
Reviewed by: mike
Notes:
svn path=/head/; revision=87323
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
fseek -> fseeko
ftell -> ftello
NOTE: that fseek/ftell not works for >long offsets per POSIX:
[EOVERFLOW] For fseek( ), the resulting file offset would be a value which
cannot be represented correctly in an object of type long.
[EOVERFLOW] For ftell ( ), the current file offset cannot be represented
correctly in an object of type long.
Notes:
svn path=/head/; revision=82771
|
| |
|
|
| |
Notes:
svn path=/head/; revision=81462
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
o Add consts where appropriate.
o Rename some variables that were shadowing global declarations.
o Remove register storage-classes.
o Make errmsg a const, so we can just set error messages instead
of using sprintf/strcpy.
o Set WARNS=2
Reviewed by: bde, des
Notes:
svn path=/head/; revision=81220
|
| |
|
|
| |
Notes:
svn path=/head/; revision=79754
|
| |
|
|
|
|
|
|
|
|
|
| |
which is also called from handle_hup(), uses stdio(3). Furthermore,
this means that calling exit(3) (via quit()) there is required to
flush the buffer write_file() was working on.
Submitted by: bde
Notes:
svn path=/head/; revision=78939
|
| |
|
|
|
|
|
| |
Obtained from: OpenBSD
Notes:
svn path=/head/; revision=78688
|
| |
|
|
| |
Notes:
svn path=/head/; revision=77737
|
| |
|
|
|
|
|
|
|
|
| |
error caused by the -1 being on the wrong side of the comparison.
This would not cause an overflow, as near as I can tell, because we
truncate later anyway. We'd just fail to get a diagnostic for 1024
and 1025 byte file names.
Notes:
svn path=/head/; revision=77407
|
| |
|
|
|
|
|
|
|
|
|
| |
ben@freefall:~$ whatis ed
ed(1), -(1) - ed, red text editor
PR: 25164
Submitted by: Rich Morin <rdm@cfcl.com>
Notes:
svn path=/head/; revision=74975
|
| |
|
|
|
|
|
|
|
| |
(random() or arc4random())
Reviewed by: bde
Notes:
svn path=/head/; revision=73563
|
| |
|
|
| |
Notes:
svn path=/head/; revision=73233
|
| |
|
|
| |
Notes:
svn path=/head/; revision=71895
|
| |
|
|
| |
Notes:
svn path=/head/; revision=70150
|
| |
|
|
| |
Notes:
svn path=/head/; revision=70056
|
| |
|
|
| |
Notes:
svn path=/head/; revision=69247
|
| |
|
|
| |
Notes:
svn path=/head/; revision=68935
|
| |
|
|
| |
Notes:
svn path=/head/; revision=68389
|
| |
|
|
| |
Notes:
svn path=/head/; revision=68381
|
| |
|
|
| |
Notes:
svn path=/head/; revision=67183
|
| |
|
|
| |
Notes:
svn path=/head/; revision=63302
|
| |
|
|
|
|
|
|
| |
PR: 18465
Submitted by: Kazu TAKAMUNE <takamune@avrl.mei.co.jp>
Notes:
svn path=/head/; revision=60311
|
| |
|
|
|
|
|
|
| |
Submitted by: Mike Heffner <spock@techfour.net>
Submitted on: audit@freebsd.org
Notes:
svn path=/head/; revision=59797
|
| |
|
|
|
|
|
|
| |
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.
Notes:
svn path=/head/; revision=57663
|
| |
|
|
| |
Notes:
svn path=/head/; revision=57622
|
| |
|
|
| |
Notes:
svn path=/head/; revision=55762
|
| |
|
|
| |
Notes:
svn path=/head/; revision=50471
|
| |
|
|
|
|
|
| |
Submitted by: Philippe Charnier <charnier@xp11.frmug.org>
Notes:
svn path=/head/; revision=46684
|
| |
|
|
| |
Notes:
svn path=/head/; revision=38161
|
| |
|
|
|
|
|
|
|
| |
command to match whats there in the source.
PR: 7328
Notes:
svn path=/head/; revision=37793
|
| |
|
|
| |
Notes:
svn path=/head/; revision=36010
|
| |
|
|
|
|
|
| |
Fixed some formatting.
Notes:
svn path=/head/; revision=34135
|
| |
|
|
|
|
|
| |
Change "pat" -> "re" in man page.
Notes:
svn path=/head/; revision=32138
|
| |
|
|
|
|
|
|
| |
Reorder includes to be alphabetical some places since I already was in
here.
Notes:
svn path=/head/; revision=31666
|
| |
|
|
| |
Notes:
svn path=/head/; revision=30247
|
| |
|
|
|
|
|
| |
Obtained from: OpenBSD (file rev 1.11) - Theo de Raadt <deraadt@openbsd.org>
Notes:
svn path=/head/; revision=30233
|
| |
|
|
|
|
|
| |
Obtained from: OpenBSD (file rev 1.4 by Theo de Raadt <deraadt@openbsd.org>)
Notes:
svn path=/head/; revision=30232
|
| |
|
|
|
|
|
|
|
| |
Submitted-by: Josh Gilliam
Closes PR:4427
Notes:
svn path=/head/; revision=28929
|
| |
|
|
| |
Notes:
svn path=/head/; revision=27963
|
| |
|
|
|
|
|
| |
posix standard on the topic.
Notes:
svn path=/head/; revision=24348
|