apb
3ac228d1b2
Declare "com" as volatile in execute(), to make it safe to use
...
across setjmp/longjmp.
Inspired by PR 41255 from Kurt Lidl, but this change makes "com" a
volatile pointer to const non-volatile data, whereas the PR made it a
non-volatile pointer to const volatile data.
2009-07-14 21:15:48 +00:00
apb
3e4a7fe1fe
Don't assume that two identical-looking string literals will have the
...
same address and will therefore be comparable with the == operator.
Instead, use a const variable.
Inspired by PR 41255 from Kurt Lidl.
2009-07-14 21:08:31 +00:00
apb
4259cd2ab8
Delete unused static smatch() function.
...
Inspired by PR 41255 from Kurt Lidl (which used #if 0 instead of
deleting the function).
2009-07-14 21:05:34 +00:00
apb
d47a5ef0ce
Compare strings with strcmp(), not ==.
...
Part of PR 41255 from Kurt Lidl.
2009-07-14 21:02:24 +00:00
christos
585ce9eda6
move _KMEMUSER higher!
2009-07-13 21:44:32 +00:00
christos
d96e875904
need _KMEMUSER too.
2009-07-13 21:43:24 +00:00
roy
7027866a09
Rename internal getline() function to get_line() so it does
...
conflict with the soon to be added getline(3) libc function.
2009-07-13 19:05:39 +00:00
christos
f73facbc14
sys/mqueue.h needs sys/types.h now
2009-07-13 17:57:35 +00:00
joerg
5f6627fa61
mandoc(1): -width is redundant for a item list
2009-07-11 18:38:30 +00:00
joerg
ea92254557
Fix markup.
2009-07-11 18:35:48 +00:00
plunky
447afe8d7e
add interpretation of "PNP Information" service class (Device ID profile)
2009-07-04 16:01:15 +00:00
mrg
983926d7bf
note that -t can take [.dddddd]. sort -q.
...
from dhgutteridge@sympatico.ca in PR#36928.
2009-07-02 04:45:27 +00:00
dholland
63eb8c3760
Add some markup to improve clarity.
2009-06-29 03:49:41 +00:00
dholland
69388abb04
Fix typo
2009-06-28 19:02:46 +00:00
wiz
0f05513297
Remove superfluous Pp. Grammar improvement, typo fix, sort sections, fix Xr.
2009-06-26 09:31:04 +00:00
sjg
dd8e1ba252
JobExec: child of vfork must not empty the sigset_t that parent will
...
restore. Use a separate mask.
2009-06-26 01:26:32 +00:00
wiz
c16d893d82
Remove trailing whitespace.
2009-06-25 23:20:55 +00:00
hubertf
c8c572c3bf
Add an example .windowrc
2009-06-25 21:48:49 +00:00
joerg
a0922fbd98
Add work-in-progress unzip(1) frontend for libarchive.
...
Derived from FreeBSD's unzip.
2009-06-25 20:27:05 +00:00
wiz
d9d40568a0
Remove superfluous quotes.
2009-06-21 15:05:59 +00:00
wiz
eff7f14d80
Sync usage with man page.
2009-06-21 15:04:56 +00:00
wiz
205b6ccb09
Fix error in previous.
2009-06-21 15:04:07 +00:00
wiz
bd7419a011
Sort options and option descriptions. Use EXIT STATUS header for exit status
...
description. Use Pa for paths.
2009-06-21 15:02:54 +00:00
wiz
37d95f331f
Sync usage with man page.
2009-06-21 14:59:53 +00:00
wiz
65c247649d
Use Pa for paths.
2009-06-21 14:58:58 +00:00
wiz
7bba45dc18
Sync usage with man page.
2009-06-21 14:58:16 +00:00
wiz
f29f41d64b
Use Pa for paths.
2009-06-21 14:57:33 +00:00
wiz
43ec52d73e
Fix Dd argument. New sentence, new line. Remove superfluous .Pp.
2009-06-21 14:56:49 +00:00
christos
75a86bdab6
PR/40274: Takahiro Kambe: "P" flag stops rotating files.
2009-06-20 19:34:19 +00:00
christos
e5962c583f
PR/22627: Greywolf: Support for yp nicknames map.
2009-06-20 19:27:26 +00:00
mrg
95c070cab9
- add extended WAVE header support
...
- attempt to play a bunch more WAV files
2009-06-18 02:37:27 +00:00
sjg
39bb2e98a1
Child of vfork() must not alter the state of parent.
...
There is no need to touch the state of vars in child anyway.
Change 2nd arg to Var_Export1() to indicate if we are the parent or child,
and only set flags in the parent.
2009-06-16 05:44:06 +00:00
christos
d3f46c621c
PR/41581: Der mouse: window SEGV with certain terminals. does strcmp first
...
and then checks for null pointer for underline and bold.
2009-06-12 15:19:52 +00:00
ginsbach
2248a77687
Add -o output option, which can be used to specify an output file. The
...
file can even be the same as the input file. Idea from IRIX unifdef(1).
2009-06-11 03:16:34 +00:00
yamt
6539ec6cea
tabify and wrap long lines.
2009-06-08 21:58:44 +00:00
gson
57a8678315
Fix race condition causing "install -d" to randomly fail when multiple
...
concurrent install processes try to create the same directory.
Modelled after the code handling the "mkdir -p" case in mkdir(1).
2009-06-08 14:22:01 +00:00
christos
e3dfcc9dfe
remove file
2009-06-07 23:16:50 +00:00
christos
0587e0bf24
unhook ssh
2009-06-07 22:46:43 +00:00
tron
cef801c39d
Chuck Berry was born in St. Louis, Missouri, and not in St. Jose,
...
California. Patch submitted by Marc Balmer in private e-mail.
2009-06-07 10:25:39 +00:00
joerg
57b5269dad
Explicitly include fcntl.h for O_CREAT to not depend on namespace
...
pollution.
2009-06-05 19:55:43 +00:00
sjg
2428caab9f
Missing ':' in .ORDER example
2009-06-01 23:28:39 +00:00
christos
3b9e5891ba
fix typo (Silas Silva)
2009-05-28 14:57:42 +00:00
snj
a1602d4a22
Fix some longstanding typos and remove an entry that is both redundant
...
and wrong at the same time.
2009-05-27 17:17:03 +00:00
ad
d991fcb3b6
More changes to improve kern_descrip.c.
...
- Avoid atomics in more places.
- Remove the per-descriptor mutex, and just use filedesc_t::fd_lock.
It was only being used to synchronize close, and in any case we needed
to take fd_lock to free the descriptor slot.
- Optimize certain paths for the <NDFDFILE case.
- Sprinkle more comments and assertions.
- Cache more stuff in filedesc_t.
- Fix numerous minor bugs spotted along the way.
- Restructure how the open files array is maintained, for clarity and so
that we can eliminate the membar_consumer() call in fd_getfile(). This is
mostly syntactic sugar; the main functional change is that fd_nfiles now
lives alongside the open file array.
Some measurements with libmicro:
- simple file syscalls are like close() are between 1 to 10% faster.
- some nice improvements, e.g. poll(1000) which is ~50% faster.
2009-05-24 21:41:25 +00:00
plunky
9b85369a0a
use system provided MAX(a, b) macro instead of defining our own
2009-05-21 14:44:01 +00:00
christos
ebd7e1e10a
catch up with rtld changes
2009-05-20 16:20:01 +00:00
wiz
8ab6f9e454
Sort options. Sort sections. Remove superfluous .Pp.
2009-05-18 12:03:06 +00:00
wiz
ea548d35a5
Sort options.
2009-05-18 09:37:44 +00:00
christos
434ce22684
fix dependencies.
2009-05-16 21:37:48 +00:00
plunky
bbb0e93abb
add a -P flag to attempt immediate pairing
2009-05-16 07:18:42 +00:00