Commit Graph

8417 Commits

Author SHA1 Message Date
christos ed70dac6b1 add more const 2006-01-05 02:13:41 +00:00
christos 68e618cea2 more casts to void 2006-01-05 02:07:29 +00:00
christos 4d09f9add9 - use BUF_SIZE instead of BUFSIZ
- operator precedence in length calculation
- update buffer end pointer when buffer position does not change.
2006-01-04 22:05:26 +00:00
dsl 913c34c213 Expunge last references to jobTokensFree 2006-01-04 21:35:44 +00:00
dsl 1f61a1399d When a parallel make job completes, always put the job token back into the
job_pipe and collect another one for the next job.
If we are aborting, remove all the 'normal' job tokens and add an 'error' one.
If we get an 'error' token, remove any other tokens, re-insert the error
token and exit (with error 'cos that is easier).
Add the current pid to some of the DEBUG(JOB) traces.
Combined effect is that parallel makes actually stop some fairly shortly
after an error, rather than running on long enough to fill the scrollback.
2006-01-04 21:31:55 +00:00
dsl 261501b75e F_DUPFD the job_pipe fds onto higher numbers (>15) to make it less likely
that they will get closed in a complex recursive parallel make.
2006-01-04 21:25:03 +00:00
dsl 68ab653c0c For parallel makes, don't recycle the job token when we decide not to
run anything.
2006-01-04 21:16:53 +00:00
dsl 12dafa0b4a If -s (silent) is specified, don't output the target name before target
output in parallel makes.
After all with -s you wouldn't know the command for a non-parallel make.
Makes (sic) the output of parallel NetBSD build fathomable.
2006-01-04 20:56:05 +00:00
christos e4a41ed570 fix problem introduced when the computation was changed to unsigned. If
we've exceeded the goal length already the negative number turned into
a large positive one...
2006-01-04 20:44:57 +00:00
perry c9e98eabc1 de-__P, ANSIfy prototypes 2006-01-04 01:58:05 +00:00
perry 10e955c2f8 de-__P, ANSIfy prototypes 2006-01-04 01:44:06 +00:00
perry d310ebb16a de-__P, ANSIfy prototypes 2006-01-04 01:30:21 +00:00
perry ee5c979c9f de-__P, ANSIfy prototypes, and kill register 2006-01-04 01:17:54 +00:00
perry c2e350ed82 de-__P, add ANSI prototypes, and a teeny bit of KNF. 2006-01-04 01:05:19 +00:00
garbled 0f9fab16a0 Fix a spello, and change the intent of the message slightly. 2006-01-03 00:15:45 +00:00
garbled fd2134d98b Add repeat mode to cdplay(1) per PR bin/13970
Applied the second patch in the PR, with minor tweaking, and adjusted
manpage for change.
2006-01-02 21:29:53 +00:00
garbled a25ab7d823 Change "garbled time" panic to a message that gives the user a better
idea of what happened.  Addresses PR bin/12463
2006-01-02 20:18:59 +00:00
christos 13d27fec78 recognize 307 redirect code. 2006-01-02 12:30:01 +00:00
tsutsui 1f5055228d Add preliminary support for System V Boot File System.
Written by UCHIYAMA Yasushi <uch@netbsd>.
2005-12-29 14:53:45 +00:00
rpaulo fbe17c43c7 Bump date for previous. 2005-12-28 22:53:59 +00:00
christos 2296939e9c PR/32402: Jeffrey Bedard: pr filter dumps core with -s option specified,
when -s is specified with no argument. Option arguments in pr (as documented)
need to immediately follow the option. For example to set the separator char
to `.' you need to use "pr -s." instread of "pr -s .". The second form sets
the separator character to tab, and reads from file `.'. Coredumping is wrong
anyway, so fix that. Grr to POSIX for not forcing pr and a few other utilities
to use getopt(3).
cvs: ----------------------------------------------------------------------
2005-12-28 21:29:16 +00:00
rpaulo fa0b253ddc Explain the netstat -B flag column. 2005-12-28 17:57:16 +00:00
yamt 87a5de2d3d add rcsid. 2005-12-27 11:29:30 +00:00
perry f2bc845517 __inline__ -> inline 2005-12-24 21:44:28 +00:00
matt d5eba984e9 Appease gcc 4.x 2005-12-24 21:14:50 +00:00
perry 0f0296d88a Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete. 2005-12-24 20:45:08 +00:00
cube c454f920b9 Having explicit locators is not a sufficient condition to be able to have
children for a pseudo-device.  Depending on an interface attribute is,
though.

Instead of looking at locators, walk the 'attrs' list and look for an
interface attribute (which might have been added just a few lines before
in case there was explicit locators defined).

Fixes PR#32329 by Valeriy E. Ushakov.  Regression test is PSEUDO_PARENT.
2005-12-18 23:43:15 +00:00
christos 267eeacec3 PR/32322: Daniel de Kok: Division by zero in column(1) with certain column
widths.
Cleanup and pass lint.
2005-12-17 18:10:55 +00:00
christos 630ea70860 use putchar consistently. 2005-12-16 04:20:09 +00:00
christos 75bdcdea65 small cleanups from seebs... 2005-12-15 22:37:37 +00:00
christos 9ac95763b7 PR/32305: seebs: Eliminate buffer overflows and simplify code by using
dynamically allocated buffers.
2005-12-15 21:32:00 +00:00
christos dcf51e5c6a Use LOGIN_CAP even in the pam case. 2005-12-15 14:03:34 +00:00
christos 04095b6d82 PR/32307: Jason V. Miller: su fails to set umask correctly when using pam
and simulating a full login (-, -d, -l)
2005-12-15 14:01:31 +00:00
hubertf 9df5e26cc9 Give a general description what this command does before going into
all the details.
2005-12-15 05:26:36 +00:00
reinoud 1a9677836e Stub to pmap.c to avoid unhandled enumeration value error. Its only used
for printing purposes.

Will be modified later when UDF is finally committed after review.
Comitting has been put on halt due to dispute over a patch.
2005-12-15 01:53:30 +00:00
wiz 2f70583592 Remove unhandled H option from getopt() argument.
Describe -l in usage. Both from Igor Sobrado in private mail.

While here, sort options.
2005-12-13 10:02:04 +00:00
wiz dbaaaf27a8 Sort options. 2005-12-12 22:49:37 +00:00
wiz 54282824e9 Sync usage with man page. 2005-12-12 22:42:34 +00:00
wiz c64e5a3705 Improve -v description slightly. 2005-12-12 22:38:28 +00:00
dsl 0f4ad533d7 Add a -D option that acts like -d, but reads the filenames (whitespace
separated) from stdin.
Useful (eg in Makefile.kern.inc) to avoid breaking the systems command
line limit.
2005-12-12 22:05:28 +00:00
hubertf aa2ac86c1f Fix old name in .Dt tag (CLCONFIG -> VNDCOMPRESS) 2005-12-12 21:04:31 +00:00
christos 74757293f7 add a trace facility for upcalls. 2005-12-11 19:29:27 +00:00
christos 4f17ba81bc Learn about v1 records and sa upcalls. 2005-12-11 11:31:34 +00:00
christos 14a515a88b learn about v1 records. 2005-12-11 11:30:06 +00:00
christos e297758924 Learn about ktrace v1 records. 2005-12-11 11:29:06 +00:00
cube 4225631532 The loop detection code could not detect the negation of an instance that
made a device its own parent.  Add a test that checks that and stop looping
in that special case (after all, everything is already being handled by the
parent instance).

Reported by Jukka Salmi on current-user.
2005-12-10 13:39:47 +00:00
gavan f1f29c8b8d Treat EOF the same as EIO. Prevents spinning if an EOF condition is
encountered, such as a USB serial device being unplugged.

Instead of spinning, the process reading from the serial line will exit,
leaving the process reading from the local terminal to exit when it notices
that its child has gone away.
2005-12-09 03:15:42 +00:00
wiz 559504cae5 lexi_co_graphical, with "co". From Igor Sobrado in PR 32231. 2005-12-04 09:14:58 +00:00
tsutsui 6413f86a09 Fix more FALLTHOUGH -> FALLTHROUGH typo. 2005-11-26 13:57:27 +00:00
christos 7cde8ec265 add new files. 2005-11-26 00:36:40 +00:00