summaryrefslogtreecommitdiffstats
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
* WARNS=4 fixes. This would be WARNS=9 if we were -std=99 instead ofmarkm2003-02-278-47/+50
| | | | | | -ansi, due to 'long long'. Reviewed by: green (slightly earlier version)
* Third attempt at removing machdep.h and using ALIGN from <sys/param.h>.marcel2003-02-243-101/+54
| | | | | | | | | | | | | | The initial stack_block is staticly allocated and will be aligned according to the alignment requirements of pointers, which does not necessarily match the alignment enforced by ALIGN. To solve this a more involved change is required: remove the static initial stack and deal with an initial condition of not having a stack at all. This change is therefore more risky than the previous ones, but unavoidable (other than not using the platform default alignment). Discussed with: tjr Approved and reviewed by: tjr Tested on: alpha, i386, ia64 and sparc64
* mdoc(7) police: markup laundry.ru2003-02-231-31/+22
|
* Grammar.ru2003-02-231-1/+1
|
* We can simplify this Makefile down to a single line now.obrien2003-02-191-4/+0
|
* Add an example to help one manually set the date on one machine taking the outobrien2003-02-181-0/+5
| | | | put from another.
* chflags(1) repo copied, usr.bin->bin.obrien2003-02-181-0/+1
| | | | | We've been installing chflags(1) into /bin since 2000-11-10, so this shouldn't cause any problems.
* Revert ALIGN change for the second and last time. I can't figure outtjr2003-02-183-6/+56
| | | | why this is breaking sparc64.
* Second attempt at removing machdep.h and using ALIGN from <sys/param.h>.tjr2003-02-173-56/+6
| | | | | | The problem with the previous attempt, as noticed by Marcel, was that stacknxt was being aligned to a pointer boundary instead of an ALIGNBYTES + 1 boundary, which broke sparc64.
* Temporarily back out machdep.h/ALIGN changes. It seems that on sparc64,tjr2003-02-163-4/+54
| | | | | | using the alignment from sys/param.h (16) instead of the alignment from machdep.h (8) tickled a nasty bug in the memory allocator that I haven't been able to track down yet.
* Use the ALIGN macro from <sys/param.h> instead of defining our owntjr2003-02-143-54/+4
| | | | incorrect version in machdep.h. Delete machdep.h.
* Fix slight disorder that broke sorting. Put in bold warning about thesobomax2003-02-051-2/+3
| | | | | | fact that in this case order matters. Submitted by: Peter Edwards <pmedwards@eircom.net>
* Add FBSDID.charnier2003-02-051-1/+3
|
* Display elapsed time (-o etime) using [[dd-]hh:]mm:ss, which according tocharnier2003-02-055-4/+24
| | | | | | Solaris man page is the POSIX way. Reviewed by: jmallett
* Enclose sccsid according to style(9).charnier2003-02-052-5/+7
| | | | udp/timed -> timed/udp
* Remove another unused doc Makefile.trhodes2003-02-041-8/+0
|
* Cross ref chflags(1).trhodes2003-02-041-0/+1
| | | | Suggested by: Craig Carey <research@ijs.co.nz) on -doc.
* Improve the layout of the description of the various parameter expansionfanf2003-02-031-0/+2
| | | | | modifiers. The paragraph that explains the difference between ${foo:-bar} and ${foo-bar} etc. was not very visible.
* Remove now unnecessary main() prototype.mux2003-01-291-1/+0
|
* Ensure that the TTY file descriptor is greater than or equal to 10 so thattjr2003-01-271-1/+14
| | | | | | | it doesn't interfere with the user's redirections. PR: 47136 MFC after: 1 week
* Don't call DIOCWLABEL on disks, it is not implemented, and calling itphk2003-01-261-7/+1
| | | | like this negated any practical value of the feature.
* Make this compile with DEBUG defined now that WARNS=0 has been removedtjr2003-01-213-2/+4
| | | | | | | | from the Makefile: - Print pointers with %p instead of %x. - Include missing headers to get prototypes. Noticed by: benno
* Reference maclabel(7).chris2003-01-201-1/+3
| | | | Sponsored by: DARPA, Network Associates Laboratories
* kenv(1) has been repo copied from usr.bin to bin.obrien2003-01-201-0/+1
| | | | Sometimes we need kenv(1) in /etc/rc.diskless*.
* Per-variable\ entry headers, to allow the 'ps -otime -otime=FOO' or similarjmallett2003-01-194-11/+19
| | | | | case to do the right thing and affect exactly one column. This is consistent with GNU ps(1) in BSD mode, and POLA.
* When inserting a non-user-specified (e.g. not via -o or -O) format, don't dupejmallett2003-01-193-16/+39
| | | | | | | | one that is already there. This is consistent with GNU ps(1)'s BSD mode, and POLA. Reported by: Andy Farkas <andyf@speednet.com.au> Tested by: Andy Farkas <andyf@speednet.com.au>
* Refer to the process label as proclabel, as there is a function called label,jmallett2003-01-181-10/+10
| | | | and that's what these locals were called before.
* realpath(3) should use PATH_MAX instead of MAXPATHLEN according to POSIX.johan2003-01-151-1/+1
| | | | | | | | This also reverts the PATH_MAX -> MAXPATHLEN part of rev 1.3 of src/bin/realpath/realpath.c Requested by: imp Reviewed by: imp, bde
* Make the "tarcp" example more direct.obrien2003-01-101-5/+5
|
* Do not strip CTL* escapes from redirection filenames in exptilde(),tjr2003-01-081-4/+4
| | | | | | | | expari(), expbackq() and evalvar(). Similar to revision 1.39. Patch from Tor Egge. PR: 45349 MFC after: 2 weeks
* Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,schweikh2003-01-0112-23/+23
| | | | especially in troff files.
* Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/schweikh2002-12-302-240/+240
| | | | Add FreeBSD Id tag where missing.
* Back out rev 1.44; getbsize(3)'s original interface has been restored.mike2002-12-301-4/+3
| | | | Approved by: markm
* Add "-h" arguments to getfacl and setfacl, which behave in a mannerrwatson2002-12-305-20/+49
| | | | | | | similar to "-h" on chown, chmod, etc, causing the operation to occur on a final symlink in the provided path, rather than its target. Obtained from: TrustedBSD Project
* Add the "wordexp" shell built-in command which will be used to implementtjr2002-12-263-0/+24
| | | | the POSIX wordexp() function.
* mdoc(7) police: Deal with self-xrefs.ru2002-12-241-1/+1
|
* Fixed the abuses of .Ql visible on stderr in troff mode.ru2002-12-231-1/+1
| | | | PR: docs/37176
* mdoc(7) police: markup nit.ru2002-12-231-1/+1
|
* Use '\033' rather than '\e' as the latter is a gccism.dwmalone2002-12-221-1/+1
| | | | | | PR: 46015 Submitted by: Jeroen Ruigrok van der Werven <asmodai@wxs.nl> MFC after: 1 week
* pathconf() and acl_get_file() follow links so they cannot be used totjr2002-12-191-0/+8
| | | | | | | | | determine whether a symlink has an ACL. Instead, assume that symbolic links don't have ACLs and don't bother checking. Avoids spurious ENOENT warnings when listing directories containing broken symlinks on filesystems with ACLs enabled. Pointed out by: rwatson, bde
* Improve handling of symlink targets when listing MAC labels: don'trwatson2002-12-181-6/+13
| | | | | | | | do the wrong thing when the symlink doesn't have a target, by considering !f_label in the construction of ch_options. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* Remove undocumented behavior (return current work dir if no pathjohan2002-12-181-5/+2
| | | | | | | | is given as argument) that is not present in 4-Stable. It was introduced when realpath(1) was split out of pwd(1). The removed behavior is provided by pwd(1). Reviewed by: mike
* - use MAXPATHLEN per realpath(3)johan2002-12-181-2/+2
| | | | | | | - use the problematic part of the path, instead of the argument, when reporting an error. Reviewed by: mike
* The code uses trapsasync, however the manual page uses asynctraps. Fix thetrhodes2002-12-171-1/+1
| | | | | | | | manual page to reflect the code. PR: 45820 Submitted by: Marco Molteni <molter@tin.it> Discussed with: tjr
* Document `trap EXIT` and `trap SIGNAME`.fanf2002-12-171-1/+4
|
* When job control is disabled, never show the job id when reporting thetjr2002-12-141-1/+2
| | | | status of a background process that has terminated because of a signal.
* Capitalize ASCII code names.ru2002-12-051-1/+3
| | | | Approved by: re
* mdoc(7) police:ru2002-11-262-2/+2
| | | | | | | | Revert to using the .Tn POSIX and .Tn ANSI instead of \*[Px] and \*[Ai] strings; using these strings is unsafe in troff mode, as they include a change in a font size. Approved by: re
* mdoc(7) police: In DESCRIPTION, list the options in pure alphabeticalru2002-11-251-14/+17
| | | | | | | | order, as required by style(9). Document the effect of the -f option on exit status. Fixed some spacing. Submitted by: bde Approved by: re
* mdoc(7) police: markup fixes.ru2002-11-251-6/+9
| | | | Approved by: re
OpenPOWER on IntegriCloud