Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mdoc(7) police: a bit of tidying. | ru | 2002-07-04 | 1 | -55/+126 |
| | |||||
* | Consistently use __FBSDID | obrien | 2002-06-30 | 8 | -33/+16 |
| | |||||
* | Add a description of the restrictions that red(1) imposes to users, | keramida | 2002-06-24 | 1 | -7/+24 |
| | | | | | | | | | | 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 | ||||
* | Bogusness may have happened using a variable assignment here before, but | jmallett | 2002-06-20 | 1 | -1/+1 |
| | | | | | | | | 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. | ||||
* | We have a place for extern declarations of global variables in ed.h, do not | jmallett | 2002-06-20 | 2 | -3/+2 |
| | | | | use main() to do it locally. | ||||
* | Use `The .Nm utility' | charnier | 2002-04-16 | 1 | -11/+18 |
| | |||||
* | o __P has been reoved | imp | 2002-02-02 | 9 | -258/+150 |
| | | | | | | | | | | | | 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) | ||||
* | -lcipher is an installable library. | ru | 2001-12-06 | 1 | -2/+2 |
| | |||||
* | Default to WARNS=2. Binary builds that cannot handle this must explicitly | obrien | 2001-12-04 | 1 | -1/+0 |
| | | | | | | set WARNS=0. Reviewed by: mike | ||||
* | File positions are off_t nowdays, not long, so: | ache | 2001-09-01 | 1 | -3/+3 |
| | | | | | | | | | | | | | 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. | ||||
* | mdoc(7) police: join split punctuation to macro calls. | ru | 2001-08-10 | 1 | -3/+3 |
| | |||||
* | o Correctly define rcsid. | mike | 2001-08-06 | 10 | -182/+158 |
| | | | | | | | | | | | 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 | ||||
* | Remove whitespace at EOL. | dd | 2001-07-15 | 1 | -7/+7 |
| | |||||
* | Back out previous commit: it doesn't help anything since write_file(), | dd | 2001-06-28 | 1 | -2/+2 |
| | | | | | | | | 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 | ||||
* | Don't call exit(3) from a signal handler. | dd | 2001-06-24 | 1 | -2/+2 |
| | | | | Obtained from: OpenBSD | ||||
* | Correct a spelling nit (a -> an). | dd | 2001-06-04 | 1 | -1/+1 |
| | |||||
* | Use PATH_MAX rather than MAXPATHLEN. Also fix a possible off by one | imp | 2001-05-29 | 3 | -16/+11 |
| | | | | | | | 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. | ||||
* | Remove a comment which seemed to confuse makewhatis: | ben | 2001-03-29 | 1 | -1/+0 |
| | | | | | | | | ben@freefall:~$ whatis ed ed(1), -(1) - ed, red text editor PR: 25164 Submitted by: Rich Morin <rdm@cfcl.com> | ||||
* | Switch from using rand() or random() to a stronger, more appropriate PRNG | kris | 2001-03-05 | 1 | -8/+1 |
| | | | | | | (random() or arc4random()) Reviewed by: bde | ||||
* | Eliminate mdocNG warnings caused by misplaced or extraneous macro calls. | ru | 2001-02-28 | 1 | -1/+1 |
| | |||||
* | mdoc(7) police: split punctuation characters + misc fixes. | ru | 2001-02-01 | 1 | -3/+4 |
| | |||||
* | Prepare for mdoc(7)NG. | ru | 2000-12-18 | 1 | -1/+1 |
| | |||||
* | Prepare for mdoc(7)NG. | ru | 2000-12-15 | 1 | -14/+11 |
| | |||||
* | Constify | kris | 2000-11-27 | 1 | -1/+1 |
| | |||||
* | mdoc(7) police: use the new features of the Nm macro. | ru | 2000-11-20 | 1 | -3/+3 |
| | |||||
* | Properly declare the multiple-columns list. | ru | 2000-11-06 | 1 | -1/+1 |
| | |||||
* | Finish conversion from man(7) to mdoc(7). | ru | 2000-11-06 | 1 | -9/+13 |
| | |||||
* | Include sys/types.h | brian | 2000-10-16 | 2 | -0/+4 |
| | |||||
* | Locale support was added by ache long ago. | sheldonh | 2000-07-17 | 1 | -4/+2 |
| | |||||
* | Supply only one author name per instance of %A, as per mdoc.samples(7). | sheldonh | 2000-05-10 | 1 | -1/+2 |
| | | | | | PR: 18465 Submitted by: Kazu TAKAMUNE <takamune@avrl.mei.co.jp> | ||||
* | Fixes a potential buffer overflow with 'ed [MAXPATHLEN + 1 characters]'. | joe | 2000-04-30 | 1 | -3/+5 |
| | | | | | Submitted by: Mike Heffner <spock@techfour.net> Submitted on: audit@freebsd.org | ||||
* | Remove single-space hard sentence breaks. These degrade the quality | sheldonh | 2000-03-01 | 1 | -4/+8 |
| | | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc. | ||||
* | Change DISTRIBUTION name to match reality. | markm | 2000-02-29 | 1 | -1/+1 |
| | |||||
* | Add `.Nm red' to NAME section. | phantom | 2000-01-10 | 1 | -1/+2 |
| | |||||
* | $Id$ -> $FreeBSD$ | peter | 1999-08-27 | 17 | -17/+17 |
| | |||||
* | Various spelling/formatting changes. | kris | 1999-05-08 | 3 | -6/+6 |
| | | | | Submitted by: Philippe Charnier <charnier@xp11.frmug.org> | ||||
* | Silence some warnings when building on the alpha. | dfr | 1998-08-07 | 3 | -6/+6 |
| | |||||
* | Fix use of -man macro, correct description of the behaviour of the `+n' | jkoshy | 1998-07-21 | 1 | -8/+3 |
| | | | | | | command to match whats there in the source. PR: 7328 | ||||
* | Convert to mdoc. | charnier | 1998-05-13 | 1 | -544/+441 |
| | |||||
* | Fixed existence test for secure sources (don't test for secure objects). | bde | 1998-03-06 | 1 | -4/+4 |
| | | | | Fixed some formatting. | ||||
* | Ensure stdout is line buffered. | helbig | 1997-12-31 | 2 | -3/+7 |
| | | | | Change "pat" -> "re" in man page. | ||||
* | Remove simultaneous include of <sys/param.h> and <sys/types.h>. | eivind | 1997-12-10 | 1 | -2/+1 |
| | | | | | Reorder includes to be alphabetical some places since I already was in here. | ||||
* | Un-clobber mktemp->mkstemp patch. | eivind | 1997-10-09 | 1 | -3/+2 |
| | |||||
* | make signal handlers errno safe | eivind | 1997-10-08 | 1 | -3/+8 |
| | | | | Obtained from: OpenBSD (file rev 1.11) - Theo de Raadt <deraadt@openbsd.org> | ||||
* | mktemp -> mkstemp | eivind | 1997-10-08 | 1 | -2/+3 |
| | | | | Obtained from: OpenBSD (file rev 1.4 by Theo de Raadt <deraadt@openbsd.org>) | ||||
* | fix misspelling | jmg | 1997-08-30 | 1 | -2/+2 |
| | | | | | | Submitted-by: Josh Gilliam Closes PR:4427 | ||||
* | sccsid -> rcsid and fix some minor nits. | steve | 1997-08-07 | 8 | -21/+46 |
| | |||||
* | compare return value from getopt against -1 rather than EOF, per the final | imp | 1997-03-28 | 1 | -2/+2 |
| | | | | posix standard on the topic. | ||||
* | Use mkstemp rather than mktemp to prevent races. | imp | 1997-03-24 | 1 | -4/+8 |
| | | | | Obtained from: OpenBSD | ||||
* | Revert $FreeBSD$ to $Id$ | peter | 1997-02-22 | 17 | -17/+17 |
| |