267655 |
20-Jun-2014 |
gjb |
Remove svn:mergeinfo carried over from stable/9.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
267654 |
20-Jun-2014 |
gjb |
Copy stable/9 to releng/9.3 as part of the 9.3-RELEASE cycle.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
|
236118 |
26-May-2012 |
mdf |
MFC r235297, r235316:
Add a -v and -N option to kenv(1), so it can be more easily used in scripts the way sysctl(8) is. The -N option, like in sysctl(8), displays only the kenv names, not their values. The -v option prints an individual kenv variable name with its value as name="value". This is the inverse of sysctl(8)'s -n flag, since the default behaviour of kenv(1) is already like sysctl(8) -n.
|
229143 |
31-Dec-2011 |
dim |
MFC r228595:
Fix some obtuse fprintf tricks in bin/ed.
|
225736 |
23-Sep-2011 |
kensmith |
Copy head to stable/9 as part of 9.0-RELEASE release cycle.
Approved by: re (implicit)
|
225215 |
27-Aug-2011 |
brueffer |
Fix memory leaks in error cases.
PR: 159011 Submitted by: Henning Petersen <henning.petersen@t-online.de> Approved by: re (kib) MFC after: 1 week
|
222178 |
22-May-2011 |
uqs |
Fix some typos under bin/
Found by: codespell
|
218619 |
12-Feb-2011 |
brucec |
Fix typos.
PR: docs/131625 Submitted by: Andrew Wright <andrew at qemg.org> MFC after: 1 month
|
204711 |
04-Mar-2010 |
uqs |
ed(1): make WARNS=6 clean
Although argc and argv are never read after the longjmp is complete, gcc is not clever enough to see that and needlessly warns about it. So add volatile to silence the compiler.
Approved by: ed (the co-mentor, not ed(1))
|
174469 |
09-Dec-2007 |
marius |
Move WARNS as ed(1) also is only WARNS = 2 clean in the !DES case. This fixes its compilation if MK_OPENSSL == no and also obsoletes release/Makefile rev. 1.192. The latter isn't reverted though as support for the fixit floppy and the rest of the boot floppies is scheduled to be deorbited anyway.
Discussed with: kensmith
|
171154 |
02-Jul-2007 |
kensmith |
Don't include encryption features of ed(1) when building for the "rescue media" bundled with releases.
Suggested by: ru Approved by: re (hrs)
|
161427 |
17-Aug-2006 |
imp |
while(0); -> while (0) in multiline macro
|
156813 |
17-Mar-2006 |
ru |
Reimplementation of world/kernel build options. For details, see:
http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html
The src.conf(5) manpage is to follow in a few days.
Brought to you by: imp, jhb, kris, phk, ru (all bugs are mine)
|
141578 |
09-Feb-2005 |
ru |
Sync program's usage() with manpage's SYNOPSIS.
|
140353 |
16-Jan-2005 |
ru |
Add the new standard EXIT STATUS section where appropriate. Sort standard sections in the (documented) preferred order.
|
140344 |
16-Jan-2005 |
charnier |
no need to have break; after return;
|
139969 |
10-Jan-2005 |
imp |
/*- or .\"- or #- to begin license clauses.
|
139113 |
21-Dec-2004 |
ru |
NOCRYPT -> NO_CRYPT
|
133196 |
06-Aug-2004 |
cperciva |
Join the 21st century: Cryptography is no longer an optional component of releases. The -DNOCRYPT build option still exists for anyone who really wants to build non-cryptographic binaries, but the "crypto" release distribution is now part of "base", and anyone installing from a release will get cryptographic binaries.
Approved by: re (scottl), markm Discussed on: freebsd-current, in late April 2004
|
131513 |
03-Jul-2004 |
tjr |
Document missing multibyte character handling in utilities specified by POSIX.
|
127958 |
06-Apr-2004 |
markm |
Remove clause 3 from the UCB licenses.
OK'ed by: imp, core
|
117978 |
24-Jul-2003 |
markm |
Don't check for the existance of src/crypto/ for building items that may contain crypto. The days of ITAR paranoia are over, and the simple macro tests that remain are sufficient.
|
117805 |
20-Jul-2003 |
ru |
This code isn't WARNS=6 clean in the standard (crypto) case due to bugs in OpenSSL headers. I was testing in the wrong environmement: standalone build without crypto/ sources.
|
117803 |
20-Jul-2003 |
ru |
Make this code WARNS=6 clean again (after GCC 3.1.1 import).
Submitted by: Marius Strobl <marius@alchemy.franken.de>
|
117023 |
29-Jun-2003 |
ru |
Unbreak NOCRYPT buildworld.
Reviewed by: markm
|
116282 |
13-Jun-2003 |
markm |
Get this area compiling with the highest WARNS= that it works with. Obsolete WFORMAT= junk also removed where possible.
OK'ed by: obrien Tested on: sparc64, alpha, i386
|
116015 |
08-Jun-2003 |
markm |
Fix for the NO_OPENSSL case.
Reported by: Marius Strobl <marius@alchemy.franken.de>
|
115777 |
03-Jun-2003 |
jhay |
Make ed compile in the NOCRYPT case.
Reviewed by: markm
|
115717 |
02-Jun-2003 |
markm |
Modernise. Use libcrypto for DES instead of libcipher.
|
115157 |
19-May-2003 |
des |
Retire the useless NOSECURE knob.
Approved by: re (scottl)
|
114598 |
03-May-2003 |
keramida |
Fix a broken reference to locale(5) and point to re_format(7) too for an explanation of `collating elements'.
|
114433 |
01-May-2003 |
obrien |
Quiet warnings about copyright[].
|
108533 |
01-Jan-2003 |
schweikh |
Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup, especially in troff files.
|
102410 |
25-Aug-2002 |
charnier |
Replace various spellings with FALLTHROUGH which is lint()able
|
101093 |
31-Jul-2002 |
markm |
Fix some easy WARNS.
|
99410 |
04-Jul-2002 |
ru |
mdoc(7) police: a bit of tidying.
|
99109 |
30-Jun-2002 |
obrien |
Consistently use __FBSDID
|
98780 |
24-Jun-2002 |
keramida |
Add a description of the restrictions that red(1) imposes to users, 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
|
98481 |
20-Jun-2002 |
jmallett |
Bogusness may have happened using a variable assignment here before, but 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.
|
98465 |
20-Jun-2002 |
jmallett |
We have a place for extern declarations of global variables in ed.h, do not use main() to do it locally.
|
94869 |
16-Apr-2002 |
charnier |
Use `The .Nm utility'
|
90109 |
02-Feb-2002 |
imp |
o __P has been reoved 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)
|
87444 |
06-Dec-2001 |
ru |
-lcipher is an installable library.
|
87323 |
04-Dec-2001 |
obrien |
Default to WARNS=2. Binary builds that cannot handle this must explicitly set WARNS=0.
Reviewed by: mike
|
82771 |
01-Sep-2001 |
ache |
File positions are off_t nowdays, not long, so: 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.
|
81462 |
10-Aug-2001 |
ru |
mdoc(7) police: join split punctuation to macro calls.
|
81220 |
06-Aug-2001 |
mike |
o Correctly define rcsid. 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
|
79754 |
15-Jul-2001 |
dd |
Remove whitespace at EOL.
|
78939 |
28-Jun-2001 |
dd |
Back out previous commit: it doesn't help anything since write_file(), 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
|
78688 |
24-Jun-2001 |
dd |
Don't call exit(3) from a signal handler.
Obtained from: OpenBSD
|
77737 |
04-Jun-2001 |
dd |
Correct a spelling nit (a -> an).
|
77407 |
29-May-2001 |
imp |
Use PATH_MAX rather than MAXPATHLEN. Also fix a possible off by one 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.
|
74975 |
29-Mar-2001 |
ben |
Remove a comment which seemed to confuse makewhatis:
ben@freefall:~$ whatis ed ed(1), -(1) - ed, red text editor
PR: 25164 Submitted by: Rich Morin <rdm@cfcl.com>
|
73563 |
05-Mar-2001 |
kris |
Switch from using rand() or random() to a stronger, more appropriate PRNG (random() or arc4random())
Reviewed by: bde
|
73233 |
28-Feb-2001 |
ru |
Eliminate mdocNG warnings caused by misplaced or extraneous macro calls.
|
71895 |
01-Feb-2001 |
ru |
mdoc(7) police: split punctuation characters + misc fixes.
|
70150 |
18-Dec-2000 |
ru |
Prepare for mdoc(7)NG.
|
70056 |
15-Dec-2000 |
ru |
Prepare for mdoc(7)NG.
|
69247 |
27-Nov-2000 |
kris |
Constify
|
68935 |
20-Nov-2000 |
ru |
mdoc(7) police: use the new features of the Nm macro.
|
68389 |
06-Nov-2000 |
ru |
Properly declare the multiple-columns list.
|
68381 |
06-Nov-2000 |
ru |
Finish conversion from man(7) to mdoc(7).
|
67183 |
16-Oct-2000 |
brian |
Include sys/types.h
|
63302 |
17-Jul-2000 |
sheldonh |
Locale support was added by ache long ago.
|
60311 |
10-May-2000 |
sheldonh |
Supply only one author name per instance of %A, as per mdoc.samples(7).
PR: 18465 Submitted by: Kazu TAKAMUNE <takamune@avrl.mei.co.jp>
|
59797 |
30-Apr-2000 |
joe |
Fixes a potential buffer overflow with 'ed [MAXPATHLEN + 1 characters]'.
Submitted by: Mike Heffner <spock@techfour.net> Submitted on: audit@freebsd.org
|
57663 |
01-Mar-2000 |
sheldonh |
Remove single-space hard sentence breaks. These degrade the quality of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc.
|
57622 |
29-Feb-2000 |
markm |
Change DISTRIBUTION name to match reality.
|
55762 |
10-Jan-2000 |
phantom |
Add `.Nm red' to NAME section.
|
50471 |
27-Aug-1999 |
peter |
$Id$ -> $FreeBSD$
|
46684 |
08-May-1999 |
kris |
Various spelling/formatting changes.
Submitted by: Philippe Charnier <charnier@xp11.frmug.org>
|
38161 |
07-Aug-1998 |
dfr |
Silence some warnings when building on the alpha.
|
37793 |
21-Jul-1998 |
jkoshy |
Fix use of -man macro, correct description of the behaviour of the `+n' command to match whats there in the source.
PR: 7328
|
36010 |
13-May-1998 |
charnier |
Convert to mdoc.
|
34135 |
06-Mar-1998 |
bde |
Fixed existence test for secure sources (don't test for secure objects).
Fixed some formatting.
|
32138 |
31-Dec-1997 |
helbig |
Ensure stdout is line buffered. Change "pat" -> "re" in man page.
|
31666 |
10-Dec-1997 |
eivind |
Remove simultaneous include of <sys/param.h> and <sys/types.h>. Reorder includes to be alphabetical some places since I already was in here.
|
30247 |
09-Oct-1997 |
eivind |
Un-clobber mktemp->mkstemp patch.
|
30233 |
08-Oct-1997 |
eivind |
make signal handlers errno safe
Obtained from: OpenBSD (file rev 1.11) - Theo de Raadt <deraadt@openbsd.org>
|
30232 |
08-Oct-1997 |
eivind |
mktemp -> mkstemp
Obtained from: OpenBSD (file rev 1.4 by Theo de Raadt <deraadt@openbsd.org>)
|
28929 |
30-Aug-1997 |
jmg |
fix misspelling
Submitted-by: Josh Gilliam
Closes PR:4427
|
27963 |
07-Aug-1997 |
steve |
sccsid -> rcsid and fix some minor nits.
|
24348 |
28-Mar-1997 |
imp |
compare return value from getopt against -1 rather than EOF, per the final posix standard on the topic.
|
24181 |
24-Mar-1997 |
imp |
Use mkstemp rather than mktemp to prevent races.
Obtained from: OpenBSD
|
22988 |
22-Feb-1997 |
peter |
Revert $FreeBSD$ to $Id$
|
21673 |
14-Jan-1997 |
jkh |
Make the long-awaited change from $Id$ to $FreeBSD$
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.
|
20420 |
14-Dec-1996 |
steve |
-Wall cleaning.
|
18718 |
05-Oct-1996 |
wosch |
delete doubled words, e.g.: "the the" -> "the"
|
18471 |
22-Sep-1996 |
wosch |
add forgotten $Id$
|
17891 |
29-Aug-1996 |
wosch |
[HISTORY] command appeared in Version 1 AT&T UNIX Obtained from: A Quarter Century of UNIX, Peter H. Salus, page 41
|
17516 |
11-Aug-1996 |
ache |
Localize it 8bit cleanup
|
16663 |
24-Jun-1996 |
jkh |
Bring in my changes for removing the pestilent obj links (unless you really want them) from /usr/src. This is the final version of the patches, incorporating the feedback I've received from -current.
|
15877 |
23-May-1996 |
tg |
Output line count to stdout. Complies to POSIX.2.
Reviewed by: joerg
|
13123 |
30-Dec-1995 |
peter |
This commit was generated by cvs2svn to compensate for changes in r13122, which included commits to RCS files with non-trunk default branches.
|
11684 |
22-Oct-1995 |
ache |
Wrong library was picked by ed
|
11149 |
03-Oct-1995 |
markm |
Correctly build the secure ed(1) only if secure/ exists. Pointed out by: bde
|
11106 |
01-Oct-1995 |
markm |
Use the same make technique as passwd and xntpd for the secure ed(1). This will allow the secure/bin/ed directory to be cleaned out and the bin/Makefile to be cleaned up.
|
8855 |
30-May-1995 |
rgrimes |
Remove trailing whitespace.
Reviewed by: phk
|
7165 |
19-Mar-1995 |
joerg |
You will find enclosed some changes to make gcc -Wall more happy in /usr/src/bin. Note that some patches are still needed in that directory.
I (Joerg) finished most of Philippe's cleanup. /bin/sh will still need *allot* of work, however.
Submitted by: charnier@lirmm.fr (Philippe Charnier)
|
5598 |
14-Jan-1995 |
alm |
fixed `s' to set dot to last line affected, not the last line in a substitution range.
|
5155 |
18-Dec-1994 |
jkh |
src/bin/ed will never build DES encumbered ed again. That is the job for secure/bin/ed ...
|
4128 |
03-Nov-1994 |
dg |
Nuked #ifdef __386BSD__ since this is not appropriate and no longer defined in our 2.6.1 gcc port.
|
3989 |
29-Oct-1994 |
phk |
Don't check existence of -lcrypt to decide if DES is employed, instead check that "NOCRYPT" isn't defined.
|
3044 |
24-Sep-1994 |
dg |
Added $Id$
|
1796 |
23-Jul-1994 |
phk |
Submitted by: phk Got rid of a couple of binary files by uuencoding. 49 more to go. BTW: ed(1) seems to have an exit(2) problem, 5 tests fail.
|
1410 |
24-Apr-1994 |
jkh |
Fix gross spelling and typographical errors pointed out by Keith Bostic.
|
1297 |
23-Mar-1994 |
alm |
use umask 077 for buffer file
|
1057 |
01-Feb-1994 |
alm |
Fixed range address bug: 1,2, == 2,2 not 2,. Overhauled the name space, reworked some modules and removed the obsolescent Addison-Wesley copyright.
|
340 |
27-Aug-1993 |
alm |
Renamed some files that were giving SUP trouble.
|
339 |
27-Aug-1993 |
alm |
Only a single slash (/) is now necessary to repeat a search as per Theo's request. So the command: /pattern/;/ finds the second line containing "pattern" after the current line. Caveat: The commands `st' and `sr' are now both legal and have very different meanings. This is because ed(1) extends POSIX to include the old Berkeley syntax s[rgp]*. (So should two slashes still be required in the case of the substitute command, as SunOS ed does?)
|
293 |
16-Aug-1993 |
alm |
Nullify pattern after failed regcomp
|
268 |
09-Aug-1993 |
alm |
added (unsiged) cast to avoid int overflow removed REGEX directive
|
229 |
02-Aug-1993 |
conklin |
Remove -I${.CURDIR}, as we now use system's regex.h
|
228 |
02-Aug-1993 |
conklin |
Use ./foo.sh, so scripts work if . is not in $PATH.
|
227 |
02-Aug-1993 |
conklin |
Use system's posix compliant regex library (GNU regex for now).
|
171 |
20-Jul-1993 |
nate |
Libcrypt upgrade
|
87 |
02-Jul-1993 |
alm |
Consolidate mark code - no functional changes or fixes.
|
49 |
26-Jun-1993 |
alm |
fixed undo within a global command (would corrupt the buffer) changed move within a global to behave as in SunOS added a couple error messages
|
17 |
18-Jun-1993 |
alm |
This commit was generated by cvs2svn to compensate for changes in r16, which included commits to RCS files with non-trunk default branches.
|