aboutsummaryrefslogtreecommitdiff
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
* Fixes a potential buffer overflow with 'ed [MAXPATHLEN + 1 characters]'.Josef Karthauser2000-04-301-3/+5
| | | | | | | | Submitted by: Mike Heffner <spock@techfour.net> Submitted on: audit@freebsd.org Notes: svn path=/head/; revision=59797
* Fix warn formatAndrey A. Chernov2000-04-301-1/+1
| | | | | | | Pointed-by: bde Notes: svn path=/head/; revision=59790
* Back out all drainwait changes. It is enough controllable via sysctl orAndrey A. Chernov2000-04-307-55/+17
| | | | | | | | | | comcontrol, having it in stty cause too many problems with existing drivers and tty access permissings of non-superuser. Asked-by: bde Notes: svn path=/head/; revision=59788
* gfmt: set drainwait only if changedAndrey A. Chernov2000-04-301-2/+4
| | | | | | | It allows to restore tty state without a warning for non-superuser Notes: svn path=/head/; revision=59787
* Describe drainwaitAndrey A. Chernov2000-04-271-0/+2
| | | | Notes: svn path=/head/; revision=59718
* part of gfmt really changed commitAndrey A. Chernov2000-04-271-1/+1
| | | | Notes: svn path=/head/; revision=59716
* gfmt: set 'changed' flags only if something really changed.Andrey A. Chernov2000-04-272-7/+14
| | | | Notes: svn path=/head/; revision=59715
* Add ability to manipulate with drain wait timeAndrey A. Chernov2000-04-276-15/+42
| | | | Notes: svn path=/head/; revision=59714
* Activate ja nls if WANT_KANJIAndrey A. Chernov2000-04-249-42/+21
| | | | | | | | Fix 'make release' Suppress 'make distribute' Notes: svn path=/head/; revision=59581
* Pass "WANT_KANJI" from make.conf to the compiler.David E. O'Brien2000-04-231-1/+4
| | | | Notes: svn path=/head/; revision=59576
* MBYTEDEBUG not needed for "WANT_KANJI"David E. O'Brien2000-04-232-2/+0
| | | | | | | Submitted by: Hajimu UMEMOTO <ume@mahoroba.org> Notes: svn path=/head/; revision=59575
* Until it's impact is better understood, only active KANJI/DSPMBYTE/MBYTEDEBUGDavid E. O'Brien2000-04-212-0/+12
| | | | | | | | | if "WANT_KANJI" is defined in /etc/make.conf. Submitted by: Hajimu UMEMOTO <ume@mahoroba.org> Notes: svn path=/head/; revision=59471
* Fix 'make distribute'Andrey A. Chernov2000-04-217-33/+19
| | | | Notes: svn path=/head/; revision=59462
* Disable ja NLS until clarifying what needed else to support itAndrey A. Chernov2000-04-211-1/+4
| | | | Notes: svn path=/head/; revision=59461
* Rename the trace() function (that is build only in the -DDEBUG=2Martin Cracauer2000-04-203-4/+5
| | | | | | | | | | | | | | case), so that it doesn't clash with the ncurses function of the same name when linking statically with -ltermcap. The linker only complains when -static is used, and it is not clear whether this is a bug. PR: bin/18104 Submitted by: Anatoly Vorobey <mellon@pobox.com> Notes: svn path=/head/; revision=59438
* Include <errno.h> when compiling with -DDEBUG=2Martin Cracauer2000-04-201-0/+3
| | | | | | | | PR: bin/18104 Submitted by: mellon@pobox.com Notes: svn path=/head/; revision=59437
* Fix warnings, some of them serious because sh violated nameMartin Cracauer2000-04-208-17/+8
| | | | | | | | | | | spaces reserved by the header files it includes. mkinit.c still produces C code with redundant declarations, although they are more harmless since they automatically derived from the right places. Notes: svn path=/head/; revision=59436
* Activate NLS.Andrey A. Chernov2000-04-208-31/+38
| | | | | | | | Optimize NLS by not wasting space copying the same .cat but use symbolic links instead. Notes: svn path=/head/; revision=59432
* Activate finnish setAndrey A. Chernov2000-04-202-4/+4
| | | | Notes: svn path=/head/; revision=59425
* Add NLS files. Finish and Greek are WIPs.David E. O'Brien2000-04-209-0/+190
| | | | | | | Submitted by: ache Notes: svn path=/head/; revision=59424
* Use our system malloc().David E. O'Brien2000-04-192-0/+8
| | | | Notes: svn path=/head/; revision=59394
* Install /bin/tcsh also.David E. O'Brien2000-04-191-0/+2
| | | | Notes: svn path=/head/; revision=59393
* Upgrade csh.David E. O'Brien2000-04-1832-16873/+3059
| | | | Notes: svn path=/head/; revision=59355
* Add a NO_TCSH knob.David E. O'Brien2000-04-171-1/+4
| | | | Notes: svn path=/head/; revision=59337
* Sync us up to OpenBSD's cat.1 v1.18 and cat.c v1.9.Jeroen Ruigrok van der Werven2000-04-142-14/+84
| | | | | | | | | | | This gets rid of a bogus cast of NULL in setbuf(). Lets us know the buffer malloc failed. Reworks the manpage a bit to make it more mdoc(7) compliant, adds examples. Notes: svn path=/head/; revision=59239
* Use #include <errno.h> rather than extern int errno;.Warner Losh2000-04-141-2/+1
| | | | Notes: svn path=/head/; revision=59214
* Remove unnecessary empty line.Jeroen Ruigrok van der Werven2000-04-131-3/+2
| | | | | | | Remove trailing whitespace. Notes: svn path=/head/; revision=59211
* Change -v so that variences in units of days or less are sensitive toBrian Somers2000-04-122-64/+75
| | | | | | | | | DST. Explain in more detail what date -v does when mixed with DST. Previous code suggested broken by: wollman Notes: svn path=/head/; revision=59175
* Always give mktime a timeval with tm_isdst set to -1, otherwiseBrian Somers2000-04-051-64/+117
| | | | | | | | | | | | | | | | | | | things get a bit out-of-phase when we step backwards 1 hour from between 0:00 and 1:00 on the first of the month following the transition into Summer time. This is probably actually a bug in mktime(). PR: 10963 If mktime() fails and 68 < year < 138, assume that the reason is because of Summer time and adjust up or down according to our adjusting context by one hour. This assumes that all DSTs are multiples of 1 hour. PR: 6223, 17750 Notes: svn path=/head/; revision=59022
* Fixed prototype for setflags(). setflags() returns int, not u_long,Bruce Evans2000-04-041-1/+1
| | | | | | | | | and "extern" in function prototypes is a style bug. The type mismatch broke chflags(1) on i386's with 64-bit longs and may have broken it on alphas. Notes: svn path=/head/; revision=59009
* Document that the flags can be specified as an octal number.John Polstra2000-04-031-1/+2
| | | | Notes: svn path=/head/; revision=58987
* Fixed LDADD. Using ${LIBM} instead of -lm gave the wrong libm in mostBruce Evans2000-03-271-3/+4
| | | | | | | | | | cases and broke the world in some cases. Fixed some style bugs (the usual ones for DPADD and LDADD, misplacement of DPADD and LDADD, and misplacement of $FreeBSD$). Notes: svn path=/head/; revision=58669
* Correct confusing description of the -r option.Sheldon Hearn2000-03-071-2/+7
| | | | | | | | PR: 17250 Submitted by: cjclark@home.com (Crist J. Clark) Notes: svn path=/head/; revision=57803
* Revert the previous commit. I knew I should leave non-mdoc stuff alone.Sheldon Hearn2000-03-031-2/+1
| | | | Notes: svn path=/head/; revision=57717
* Remove more single-space hard sentence breaks.Sheldon Hearn2000-03-025-7/+14
| | | | Notes: svn path=/head/; revision=57695
* Remove single-space hard sentence breaks. These degrade the qualitySheldon Hearn2000-03-011-1/+2
| | | | | | | | 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=57669
* Remove single-space hard sentence breaks. These degrade the qualitySheldon Hearn2000-03-016-13/+26
| | | | | | | | 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
* After Bruce kindly explained the whole groff "sentence" idea to me, I'veBrian Feldman2000-03-011-2/+4
| | | | | | | put the whitespace in the right place. Notes: svn path=/head/; revision=57639
* Change DISTRIBUTION name to match reality.Mark Murray2000-02-291-1/+1
| | | | Notes: svn path=/head/; revision=57622
* Fix style bugs I introduced in the last revision.Brian Feldman2000-02-271-7/+7
| | | | | | | Brucified by: bde Notes: svn path=/head/; revision=57534
* Add iseek= and oseek= aliases for the preexisting skip= and seek=Brian Feldman2000-02-262-1/+13
| | | | | | | | | | | | | | operands. Can _YOU_ tell skip= and seek= apart with 100% accuracy every time? This also seems to make us option-for-option compatible with the Solaris dd(1). Approved by: jkh Suggested by: peter Notes: svn path=/head/; revision=57523
* Use libcrypto inst=ead if libdes.Mark Murray2000-02-242-3/+3
| | | | Notes: svn path=/head/; revision=57454
* Re-add "May" to the list of dates supported.Alfred Perlstein2000-02-181-2/+2
| | | | | | | Approved by: jkh Notes: svn path=/head/; revision=57326
* Reflect that dd accepts octal and hexadecimal numbers (in addition to decimal).Gregory Sutter2000-02-181-1/+2
| | | | | | | | PR: 16750 Submitted by: Giorgos Keramidas <keramida@ceid.upatras.gr> Notes: svn path=/head/; revision=57308
* From the PR:Bill Swingle2000-02-171-6/+5
| | | | | | | | | | | | | The description of -X option in csh(1) manpage uses a wording that references the descriptions of -x, -v and -V. This might be a little confusing. Changed this to a complete description that does not reference other paragraphs. PR: 16762 Submitted: Giorgos Keramidas <keramida@ceid.upatras.gr> Notes: svn path=/head/; revision=57279
* From the PR:Bill Swingle2000-02-171-1/+1
| | | | | | | | | | | | | | The first paragraph of "Argument list processing" says that an argument of - will make csh be a login shell. However, running csh with only a - as an argument fails with the error message. csh(1) corrected to reflect this. PR: 16754 Submitted by: Giorgos Keramidas <keramida@ceid.upatras.gr> Notes: svn path=/head/; revision=57276
* From the PR:Bill Swingle2000-02-171-4/+4
| | | | | | | | | | | | | | | | | | Three minor changes to the manpage of chmod(1). 1. At the description of -H option, I added that symlinks are not followed _by default_ to show that links can be followed, but the default chmod behavior is not to do so. 2. Moved a misplaced .Va file command up to the place it belongs. 3. Simplified the grammar that describes symbolic modes. PR: 16749 Submitted by: Giorgos Keramidas <keramida@ceid.upatras.gr> Notes: svn path=/head/; revision=57274
* Fix ${#varname} (getting length of string) when in double-quotes.Martin Cracauer2000-02-151-1/+1
| | | | | | | | | | Approved-by: jkh PR: bin/12137 Submitted by: "Danny J. Zerkel" <dzerkel@columbus.rr.com> Notes: svn path=/head/; revision=57225
* Revert part of the last commit, remove {g|s}etflags from the libcJosef Karthauser2000-02-056-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | interface, and statically link them to the programs using them. These functions, upon reflection and discussion, are too generically named for a library interface with such specific functionality. Also the api that they use, whilst ok for private use, isn't good enough for a libc function. Additionally there were complications with the build/install-world process. It depends heavily upon xinstall, which got broken by the change in api, and caused bootstrap problems and general mayhem. There is work in progress to address future problems that may be caused by changes in install-chain tools, and better names for {g|s}etflags can be derived when some future program requires them. For now the code has been left in src/lib/libc/gen (it started off in src/bin/ls). It's important to provide library functions for manipulating file flag strings if we ever want this interface to be adopted outside of the source tree, but now isn't necessarily the right moment with 4.0-release just around the corner. Approved: jkh Notes: svn path=/head/; revision=57003
* Don't report the tablet line discipline, it "doesn't happen (TM)"Peter Wemm2000-01-291-3/+0
| | | | Notes: svn path=/head/; revision=56853