Commit Graph

9366 Commits

Author SHA1 Message Date
matt
d6dd160750 Make -p, -l, and -c exclusive (any one turns off the other two). 2007-02-26 21:56:17 +00:00
matt
c77dd0a2cb .include <bsd.own.mk> 2007-02-26 00:17:37 +00:00
matt
902dda5b53 Add '-c' option for csh-style time output. Use the csh time format code
to print the new csh-style time output.
2007-02-24 21:30:27 +00:00
dsl
69a5cd957a Don't increment 'cp' twice when looking for commands following ';' on a
dependency line.
This makes the line "foo:;echo bar" not try to execute "cho bar", and the
line "baz:;" not treat the rest of the makefile as commands.
Pointed out by Takahiro Kambe on current-users.
2007-02-24 17:55:54 +00:00
hubertf
e730edb6a7 Be a good citizen and close files that are no longer used.
Also s/exit/return/;

Filedescriptor patch from Slava Semushin <slava.semushin@gmail.com>,
return-change and testing by me.
2007-02-21 20:45:27 +00:00
hubertf
4c60e998e1 pw_lock(3): ``You should finish writing to and close the file descriptor
returned by pw_lock() before calling pw_mkdb().'' While there, also
close another open file descriptor that's no longer used.

Patch from Slava Semushin <slava.semushin@gmail.com>, tested by me.
2007-02-21 20:32:10 +00:00
hubertf
f2799c52e5 <ctype.h> is unused. What's still needed is <sys/cdefs.h> (which is
usually included at that place anyways).

From Slava Semushin <slava.semushin@gmail.com>.
2007-02-21 20:15:17 +00:00
rmind
07f5c15ae5 Enable sdiff(1) in usr.bin, disable GNU sdiff(1).
lists seems to be compatible.
2007-02-18 22:44:44 +00:00
rmind
5533f1ebfd PR/34630: GNU sdiff(1) replacement
Import new sdiff(1). Compatible with GNU sdiff(1), has various bugfixes
and licensed in public domain.

christos@: "I am ok with it"
No objections in tech-userlevel@
2007-02-18 22:13:42 +00:00
dsl
eebb2036b8 Document 'systat syscall'. 2007-02-18 17:29:26 +00:00
dsl
49c5f0e9e5 Include code to display per system call counts and times. 2007-02-18 17:00:08 +00:00
hubertf
96ed6e7862 Make this compile after TSEL() const poisoning
OK'd by dyoung@
2007-02-18 01:56:17 +00:00
pavel
f5e7ca2447 Revert the changes done after newlock2 merge, except for the removal of
the now unused LSDEAD state. The current kernel headers are now
source-compatible with pre-newlock2 kernel headers again.

Approved by Andrew Doran.
2007-02-17 22:49:56 +00:00
hubertf
94c137d519 Teach 'cut -c' about multibyte characters. Fixes PR 34244,
using the patch from the PR and some hacking by myself to avoid code
redundancy.

Passes the regression tests I've added.

(How many weeks of purgatory do I get for the cpp(1) hack to avoid
 code redundancy? I guess I can always say it was inspired by some old
 version of our md5 sources...)
2007-02-17 19:10:00 +00:00
wiz
8571efaf27 Bump date for previous. 2007-02-17 09:39:11 +00:00
plunky
d00be208b6 expand list of service classes that we know 2007-02-17 09:19:06 +00:00
hubertf
6a0e6d5715 Moved ctype.h from header to source file in usr.bin/tip.
Also removed unused getopt header.

Patch contributed by Slava Semushin <slava.semushin@gmail.com>
in private mail.
2007-02-16 20:25:33 +00:00
dogcow
60918448c9 dipotre -> dioptre.
(nobody's noticed this typo since the file was originally added in 1993...)
2007-02-15 22:37:27 +00:00
christos
bccb1cb6c7 bump version, from Anon Ymous 2007-02-15 17:18:15 +00:00
reed
a87b66bd95 Add "catman" to the SEE ALSO. 2007-02-10 19:27:39 +00:00
ad
8966ad6a93 Further changes to use compat process flags mapped by sysctl. To be
revisited soon.
2007-02-10 18:20:12 +00:00
ad
401499f30e Sync with kernel changes introduced by merging the newlock2 branch. 2007-02-09 22:08:48 +00:00
drochner
628f1591c1 include <signal.h> where signal(3) is used 2007-02-08 21:36:58 +00:00
perry
851b2b6abe Add a missing "can". Update date. 2007-02-08 13:32:53 +00:00
hubertf
79b63fa656 #include inttypes.h, for strtoimax(3).
Suggested by Slava Semushin <slava.semushin@gmail.com> in private email.
2007-02-07 15:21:21 +00:00
hubertf
6df5e55489 Remove unused ctype.h header.
Contributed by Slava Semushin <slava.semushin@gmail.com> in private mail.
2007-02-07 14:20:58 +00:00
hubertf
4442954cb6 * Remove unused header ctype.h
* Remove __P

Contributed by Slava Semushin <slava.semushin@gmail.com> in private mail.
2007-02-07 14:11:30 +00:00
hubertf
1a7e106bf0 * Remove unneeded ctype.h
* remove unneeded {}s
* add some whitespace for readability

Contributed by Slava Semushin <slava.semushin@gmail.com> in private mail.
2007-02-07 14:06:57 +00:00
njoly
e7544f933f compat linux32 depends on compat netbsd32, and thus needs
EMUL_FLAG_NETBSD32.

ok by manu
2007-02-07 13:58:12 +00:00
perry
9cf20bf4dc make -rm an alias for -delete 2007-02-06 15:33:22 +00:00
perry
bf9831bfd2 Document -rm as an alias for -delete, and document that both -delete
and -rm are extensions.
2007-02-06 15:33:21 +00:00
elad
a706fb0965 Add -delete from FreeBSD. 2007-02-06 13:25:01 +00:00
he
3da5bad40a Add a cheesy workaround marked XXX for the situation where the
strtod() implementation available in the environment does not
handle hex floats.

Discussed with and suggested by christos
2007-02-06 00:08:31 +00:00
jwise
b6bad2e5f2 Since MAN_DEBUG is constant, go from if (MAN_DEBUG) to #if MAN_DEBUG 2007-02-05 19:46:24 +00:00
dsl
8732462d65 Add code to ensure that .if/.endif are correctly nested with .for/.endfor
and also include files don't have mismatched .if/.endif
It has been suggested that make used to have this test, but I can't
remember removing any code that might have performed it.
2007-02-04 19:23:49 +00:00
christos
e903e46b14 deal with hex doubles. 2007-02-02 20:02:18 +00:00
christos
ca93cf9ea4 fix spello (from Anon Ymous) 2007-02-02 15:48:54 +00:00
wiz
b7d64c2725 Fix typo. 2007-02-02 07:27:15 +00:00
christos
a9ee9264a7 document -xdev [from Anon Ymous] 2007-02-01 19:00:16 +00:00
wiz
c8db62531e Sort sections. New sentence, new line. 2007-02-01 06:54:40 +00:00
martin
6bcac52d39 Apply fix from PR bin/35526 from Xin LI: fix typo in message 2007-01-31 08:23:22 +00:00
plunky
defc1075ef This comprises a rewrite, which
- adds a server mode for incoming bluetooth connections
	- does not cfmakeraw the slave tty as this caused problems
	- does not hold open the slave tty as this prevented multiple opens
	- modifies the termios for stdio so that this can be used directly
	  by a user.
2007-01-31 08:12:21 +00:00
elad
a8c0f0c72e Move paxctl from usr.bin/paxctl to usr.sbin/paxctl, and make it an admin
tool (man-page moved from section 1 to section 8).
2007-01-30 19:40:07 +00:00
chs
aaf6e758a0 skip over the "self" sa when printing upcalls. 2007-01-28 21:29:59 +00:00
wiz
19a6ec96b4 Make HTML-ready. Drop trailing whitespace. 2007-01-28 07:54:55 +00:00
plunky
315d0953b6 minor adjustment to .Bl .. .El after reading mdoc(7) 2007-01-25 20:29:56 +00:00
plunky
d2ce8afd8d make it clearer that its a single-use PIN 2007-01-25 20:28:54 +00:00
dsl
9ac7863b40 Check of open conditionals before we trash 'curFile' - so we can actually
report the filename of the error (without core dumping!).
Also fix tests for reporting errors to the debug_file, and don't add $PWD
to (stdin).
2007-01-24 21:43:01 +00:00
abs
06ffa3913a if ioctl(fd, CDIOCPLAYMSF,...) fails, do not warn("ioctl(CDIOREADTOCENTRYS)"); 2007-01-24 10:36:33 +00:00
wiz
6aacb705f6 4 -> 4.0, since Nx does not accept all arguments without complaint. 2007-01-23 22:23:48 +00:00