Commit Graph

12211 Commits

Author SHA1 Message Date
sjg
aea6f93e2d Var_Delete: expand name if needed. 2013-05-18 13:12:45 +00:00
sjg
5410a37e87 New compiler doesn't like foo() 2013-05-16 21:56:56 +00:00
rodent
24964ef3d1 conform -> conforms - this is the file that was supposed to be changed.
apb@ was right about iconv(3).
2013-05-12 12:25:12 +00:00
christos
05f0356f93 commit test 2013-05-10 15:41:44 +00:00
christos
386c53c1fd cvs test 2013-05-10 15:40:21 +00:00
christos
913c2b066a sort 2013-05-10 15:31:22 +00:00
christos
d5f24c2bef Simplify previous: instead of polluting the whole code with extra arguments
and dealing with byteorder, do the whole thing in where we need it.
2013-05-08 00:34:50 +00:00
christos
16c1b372e4 print the port where the server is listening when displaying status. 2013-05-07 21:41:51 +00:00
christos
28ad8d2d4f include symver.c 2013-05-07 13:00:35 +00:00
riastradh
31eb87b9b9 Make partial read/write error messages more consistent in vndcompress. 2013-05-06 22:53:24 +00:00
jdf
c21f9d1234 Fix capitalisation (again, last time the wrong sentence). 2013-05-06 13:44:17 +00:00
jdf
65965ffb43 * Remove OPTIONS section (uncommon) and put options to the DESCRIPTION.
* Fix capitalisation.

Patch supplied by Bug Hunting.
2013-05-06 11:00:16 +00:00
lukem
fc12eae8b6 Version 20130220: restart fix, SYST response parsing improvement 2013-05-05 10:40:19 +00:00
riastradh
4b4929c1fa Add __printflike to vsnprintf_ss. 2013-05-04 15:37:39 +00:00
riz
e3748ff50d 'unsigned long' prints with %lu, not %zu. 2013-05-04 15:27:39 +00:00
riastradh
2552c7f866 Add -l option to synopsis for vndcompress(1) man page. 2013-05-04 14:34:13 +00:00
riastradh
2f16fbbee5 Fix sign-compare in compress_blocks.
Not sure why my builds didn't reveal this one -- they revealed
several others during development.
2013-05-04 14:29:48 +00:00
joerg
72bd42b73b __printflike for vwarnx_ss, __dead for err_ss and errx_ss. 2013-05-04 10:21:27 +00:00
wiz
5d2fa123b0 Sort. Add EXIT STATUS section. 2013-05-04 07:13:23 +00:00
uebayasi
1a3fcd0b6a find(1): Compare timestamp in nsec scale in -anewer/-cnewer/-newer. 2013-05-04 06:29:32 +00:00
riastradh
85bbc49a09 Rewrite vndcompress to support SIGINFO and restart after interrupt.
Make it generally more robust in the process.

No objection (or comment) on tech-userlevel.

ok christos
2013-05-03 23:28:15 +00:00
christos
f675af4a4b PR/47789: Eitan Adler: small nits 2013-05-01 20:53:59 +00:00
wiz
066e923046 Add EXIT STATUS section. From Ryan Kavanagh via jmc@openbsd.
Bump date. Remove unnecessary quotes.

XXX: The behaviour is now documented as-is, but it is weird.
"biff n; biff y" has an exit status of 1 because biff reports the
notification status when it was started, not after it has finished.
{Free,Open}BSD's biff behave the same, but it's unclear if it's intended
or a bug.
2013-04-28 12:43:51 +00:00
njoly
6808baeb15 Move .Op macro to its own line. Fix SYNOPSIS rendering with mandoc. 2013-04-26 17:12:10 +00:00
matt
1c3095e278 If earm, include from lib/libexecinfo for unwind.h 2013-04-25 07:12:46 +00:00
christos
ba8c9169d1 make NOSTRICT behave the same a LINTED; use the new format. 2013-04-19 18:51:14 +00:00
christos
4d5c8627ad document LINTEDn 2013-04-19 18:46:50 +00:00
christos
32c6bb3802 Allow linted comments to take an argument that defines which error to suppress. 2013-04-19 17:43:05 +00:00
christos
7ed35ab90d PR/47744: Frank Kardel: netstat -s stops output prematurely when ipsec is not
compiled.
If the first sysctl fails return silently.
XXX: pullup-6
2013-04-15 21:20:39 +00:00
wiz
924b1b5820 correct spelling is "Christiaan Huygens"; from James J. Lippard
via jmc@openbsd
2013-04-14 08:03:15 +00:00
wiz
667b1ee949 Remove second NetBSD RCS Id. 2013-04-07 17:43:01 +00:00
jdf
4931818ff5 * Create separate section with macro for EXIT STATUS
* Additionally reference join(1)
Patch supplied by Bug Hunting.
2013-04-07 17:40:16 +00:00
jdf
2c8eda201a * Punctuation
* Create separate section with macro for EXIT STATUS
Patch supplied by Bug Hunting.
2013-04-07 17:37:45 +00:00
uebayasi
b8042039ef * Don't re-generate kdump-ioctl.c during install.
* Don't expand hundreds of *.h paths into a variable and command-line in !=.
  Lazily handle it the glob instead.
2013-04-06 13:48:12 +00:00
dsl
b6465c5d37 Extract a base list of .h files from the set lists instead of looking
at the current contents of ${DESTDIR}.
Ignore missing files and also depend on the set lists themselves.
Should stop the build breaking here if there are extra files in DESTDIR (etc).
NB: The order of the .h files matters somewhat. Probably works by luck.
2013-04-04 22:35:28 +00:00
dsl
5df8622daf Output a blank line between the fixed and variable #include lines.
Just a little hint that they come from different places.
2013-04-04 22:32:12 +00:00
sjg
e570fc4070 Refine the effect of .OODATE on command comparison.
Rather than apply it to the whole script, just the current command line
is affected.   This allows a trick like ${.OODATE:M.NOMETA_CMP}
to cause command comparison to be supressed for one command only.
2013-03-31 05:49:51 +00:00
rkujawa
372c45d52b Work around "variable might be clobbered by longjmp" gcc warning when compiling with CPUFLAGS=-march=armv7. Should be fixed properly one day... 2013-03-29 18:53:21 +00:00
njoly
d1f2d0ccef Remove unknown \*(tN and \*(sP macros.
ok wiz.
2013-03-28 22:54:25 +00:00
christos
df71b4bc46 PR/32591: JuanRP: Also remove the file we are going to be building to prevent
it from being used as input.
2013-03-26 20:58:35 +00:00
christos
267163496c PR/47689: rudolf: reference to sendmail(8) instead of (1) in vacation(1) 2013-03-24 21:00:22 +00:00
sjg
dd4c105ae6 After removing an entry from missingFiles,
set ln=NULL after Lst_Remove() to make it clear we won't use it
after this point.
2013-03-23 23:39:47 +00:00
sjg
03ce90ebea If built with filemon support, set .MAKE.PATH_FILEMON to _PATH_FILEMON
so that makefiles can test for it.
2013-03-23 05:31:29 +00:00
sjg
a577c98aa7 Add unit-test for export-env and gmake export 2013-03-22 16:36:46 +00:00
sjg
cb29a22065 ParseGmakeExport: terminate variable at '=', or setenv(3) will fail
on some systems.
2013-03-22 16:07:59 +00:00
macallan
da8b2f53fd apply kludge to make this more or less work on mips64 with n32 userland
with this ldd can handle both 64 and n32 binaries ( previously it would do 64
only ), o32 support is still broken
Someone more familiar with this code needs to fix this properly.
2013-03-20 15:18:42 +00:00
uwe
92646e4a5d Bump date for previous (PR #45981): the change ("c") command starts a
new cycle.
2013-03-17 21:13:04 +00:00
uwe
136610e484 The change ("c") command should start a new cycle.
Apply one line patch I posted in PR #45981 and document this in the
manual page.
2013-03-17 21:02:54 +00:00
njoly
1499b19eca Add missing .El macro. 2013-03-14 19:17:23 +00:00
christos
d8eb8720ff Document more environment settings. 2013-03-09 19:43:20 +00:00
christos
4b1752e245 undo previous; mail never expanded $ variables in folder. 2013-03-09 19:43:07 +00:00
christos
b209824667 since we are calling realpath() earlier now, we need to expand the name
of the folder in case it contained variables like $HOME.
2013-03-06 20:49:20 +00:00
yamt
e9b3c9231f use more appropriate types
remove unnecessary casts
2013-03-06 11:44:11 +00:00
christos
ed82ee44b4 Add a .STALE special target that gets invoked when dependency files contain
stail entries.
2013-03-05 22:01:43 +00:00
christos
f5b1598c2a Conditionally include the depend files. 2013-03-05 21:57:47 +00:00
christos
a11ae36917 Keep track of the location where a dependency is defined, so we can report
about it.
2013-03-05 02:04:10 +00:00
christos
dc18bf8e97 add -i and -v 2013-03-05 01:59:56 +00:00
christos
c71dc22c13 obey constcond to !constcond 2013-03-02 21:25:12 +00:00
wiz
60accb90d6 Sync usage with man page. 2013-03-02 18:37:19 +00:00
christos
89915ce049 PR/47584: Steffen Daoden: Add option to turn off Nagle to rlogin 2013-03-02 16:35:17 +00:00
joerg
e240adbd0b Retire OSI network stack. OK core@ 2013-03-01 18:25:13 +00:00
christos
00db437ab4 update dates, version 2013-02-27 20:12:44 +00:00
christos
9208117e65 PR/45042: Thomas Cort: HAVE_foo for setrlimit(2) and setpgid(2) 2013-02-26 00:45:27 +00:00
dholland
21fc2b5d09 Fix obvious typo. 2013-02-25 01:57:14 +00:00
dholland
b3e2273034 typo in comment 2013-02-25 00:15:09 +00:00
christos
34b0d22580 While it is nice to have the same function do both the upper case and
lower case conversion, it ends up eating 4% of the total time we spend
in make calling tolower() while building libc.
2013-02-24 19:43:37 +00:00
christos
964e4f5784 fix restart from anon ymous 2013-02-23 13:47:36 +00:00
christos
b2db3f8741 use MB_LEN_MAX directly instead of assuming how large it is. 2013-02-20 17:04:45 +00:00
christos
3157acd0cf PR/47577: Steffen "Daode" Nurpmeso: Refinement to previous to keep always
keep track of the folder when it is updated.
2013-02-20 14:38:13 +00:00
ws
da101daed1 It helps to separate arguments from the query.
While still suboptimal (you cannot use all the queries specified for .DE),
at least this way we don't get cryptic error messages for standard queries.
2013-02-20 09:27:52 +00:00
dsl
41b0a909cc When using the response to SYST to decide whether to default to 'binary'
be a lot less specific.
Kyocera printers report "230 Linux" but really don't want text transfers
of pdf files!
2013-02-19 23:29:15 +00:00
christos
b078433469 PR/47577: Steffen "Daode" Nurpmeso: Keep a resolved folder name together
with a display name in order to keep track of current state when the directory
is changed.
2013-02-19 17:43:32 +00:00
christos
47281a37ea rename enum_t to avoid rpc/types.h lossage. 2013-02-17 01:26:19 +00:00
christos
051dc4b05d we need utsname all the time. 2013-02-16 02:39:27 +00:00
christos
3241ce1c02 Set .MAKE.OS to utsname.sysname so we can tell bogus OS's apart early in
the build process.
2013-02-16 02:11:11 +00:00
christos
96689e7ed9 More fixes from J.R. Oldroyd:
- I have added a call to memset() to clear the mbibuff on
  each loop.  Since we're dealing with possibly broken
  multibyte sequences, clearing it will avoid problems with
  a new input sequence possibly being confused by extra
  bytes still there from the last iteration.  wctomb(),
  which is used to fill that buffer, does not append a NUL.

- I have added a (char) cast when copying single bytes into
  the input buffer after a multibyte conversion error.

- In the call to strvisx() the count must be 1, not mbilen
  which can be 2 or 3 etc for a multibyte character.  This
  value is a count of characters - not bytes - to process.
  It even says characters in the man page.  In vis(3) I
  am interpreting this value to mean multibyte characters.
2013-02-15 00:29:44 +00:00
christos
ba2b5111fb PR/47657: Steffen "Daode" Nurpmeso: quoted printable CTE exceeds RFC limit.
- Encapsulated all the content-transfer-encoding stuff in mime_codecs.c
- Replaced calls of strtol(3) with a handcrafted version that allows simple
  error checking by testing the return value. This allows to easily add
  special code to handle illegal QP sequences.
2013-02-14 18:23:45 +00:00
christos
0439e62143 do the encoding character by character instead of failing on encoding mismatch 2013-02-14 14:00:00 +00:00
wiz
6bb4dc54f9 Mark up LC_CTYPE with Ev (didn't I just do this? :) ). 2013-02-14 08:56:59 +00:00
christos
4d0631d87c Keep the built-in support for passwd -k, but don't make the kpasswd link or
install the kpasswd man page since these are provided by heimdal. I ifdef'ed
them so that the code to install them is still with the Makefile.
2013-02-13 23:19:14 +00:00
christos
652899b7c1 don't allow NULL for extra 2013-02-13 22:28:41 +00:00
christos
ff77c2a8d2 Multi-byte docs and fixes for > 2 mblen charsets from J.R. Oldroyd 2013-02-13 22:24:48 +00:00
christos
c10d89b681 handle EILSEQ. 2013-02-13 13:58:44 +00:00
christos
6db0248c67 handle wide chars 2013-02-13 04:52:31 +00:00
christos
29d24e71d6 don't build kpasswd; heimdal does it for us. 2013-02-11 23:11:48 +00:00
christos
ecb1daed9a put back soelim, if MKGROFF is no so that we don't break the sets. 2013-02-11 17:24:21 +00:00
christos
ed97a32994 Don't build and install soelim anymore, because it got overwritten
anyway by the groff one and messed up the mtree unprived sets. If
we want to switch back to ours, we should probably add the extra
flags GNU added first.
2013-02-11 17:14:23 +00:00
jakllsch
556f85a303 "dcl" is not "dc1".
Fixes PR#47547
2013-02-09 02:49:36 +00:00
wiz
6ba5c58891 Add serial commas.
From Bug Hunting.
2013-02-08 12:50:51 +00:00
tron
b981f2c3d3 Don't crash if "flock" is used to lock a file descriptor e.g. via
"flock --nb 8".
2013-02-07 13:57:40 +00:00
christos
ed82bc80db merry belated x-mas. 2013-02-06 16:37:20 +00:00
christos
c5e748dd3a fix broken logic:
- poll can return EINTR, it is not restartable like read/write
- check poll return
- it does not make sense to check readyfd() is nready < 0
- check read return
- always call Job_CatchChildren, it is harmless
- short circuit scanning of the poll array if we got all the ready descriptors
2013-02-06 16:36:01 +00:00
roy
a6aba8c961 Use putp(3) to output our strings.
Fixes PR lib/47532
2013-02-05 11:31:56 +00:00
christos
0b10d223d4 tools build is non-c-99 2013-02-02 15:24:08 +00:00
christos
74d93a2aa9 avoid the long shadow of i 2013-02-02 15:12:25 +00:00
christos
4b11b0a47f Don't wait forever for output from a child job. 2013-02-02 15:11:48 +00:00
wiz
405ebbdc66 Add comma after i.e.
From Bug Hunting.
2013-01-31 23:09:06 +00:00
joerg
a81d4ca32f bdz -> bpz to match the initials of the authors. 2013-01-31 16:32:02 +00:00
wiz
b5609ab012 Add comma after i.e.
From Bug Hunting.
2013-01-29 09:30:11 +00:00
apb
325671c8e2 Support both "-" and "/dev/stdout" as references to standard
output.  Add comments about what POSIX says regarding stdout.
Also add comments about what POSIX says regarding file mode.
---
2013-01-28 19:50:30 +00:00
apb
708b4c121f Document today's changes to uudecode:
* Add "-o outfile" option.  This is required by POSIX.1-2008.
* Recognise "/dev/stdout" as a magic filename, both when embedded in the
  data stream and when specified via "-o".  This is also required by
  POSIX.1-2008.
2013-01-28 16:08:02 +00:00
apb
9a73b122cd * Add "-o outfile" option. This is required by POSIX.1-2008.
* Recognise "/dev/stdout" as a magic filename, both when embedded in the
  data stream and when specified via "-o".  This is also required by
  POSIX.1-2008.
* Reimplement "-p" as an alias for "-o /dev/stdout".

Thanks to Steffen Daode Nurpmeso for drawing my attention to the problems.
2013-01-28 16:06:42 +00:00
matt
755e896fd8 Make mips64e[bl] check more generic. 2013-01-28 14:25:18 +00:00
joerg
438eb8acb3 Use sysctl based code netstat -r. Remove support for post-mortem
analysis.
2013-01-28 13:49:08 +00:00
sjg
bd0907ac07 In SHELL COMMANDS section, provide some clues about different
behavior in jobs vs non-jobs mode.
Move the comment about when shell is skipped to this discussion
from COMPATABILITY.
Remove the incorrect statement about default mode being somehow
neither jobs mode or compat mode (it is compat mode).
2013-01-27 18:52:01 +00:00
christos
54e31e2d33 Check read and write errors to avoid warnings from linux.
XXX: Should we print an error and exit instead?
2013-01-26 15:52:59 +00:00
roy
2429e4f2af If char * > long then print a suitable error when passing a string parameter. 2013-01-25 12:27:13 +00:00
roy
f2a0b2e345 Remove debug accidently commited. 2013-01-25 12:12:30 +00:00
sjg
7a08ea2711 Remove Check_Cwd - it is no longer needed. 2013-01-25 02:01:10 +00:00
christos
792c142038 use O_CLOEXEC, wrap long line. 2013-01-24 17:50:08 +00:00
christos
4cde7eb37e use O_CLOEXEC. 2013-01-24 17:47:58 +00:00
christos
4cbd234f82 fix type or rval. 2013-01-24 17:46:30 +00:00
christos
185af7b6b5 use O_CLOEXEC 2013-01-24 17:46:00 +00:00
roy
a17592c001 Move the strings vs long analysis to a private function, but allow
tput(1) to use it so we can work with string parameters to capabilities.
2013-01-24 10:41:28 +00:00
riastradh
24eac4746d Assert equality, not assignment, in fsplit, and say who guarantees it. 2013-01-23 20:39:46 +00:00
riastradh
04ce843b93 Move assignment out of assertion in cap_mkdb. 2013-01-23 20:27:01 +00:00
msaitoh
302f86804d Fix memory leak in file_matching(). 2013-01-21 03:24:43 +00:00
simonb
044781f677 We only need to be told once about Lee-Jackson Day in Virginia today.
Remove a duplicate for Memorial Day in Michigan while we're here.
2013-01-20 23:52:43 +00:00
apb
dd481ceb43 As from today, numeric fields may begin with an optional
plus or minus sign, not only an optional minus sign.
2013-01-20 21:02:11 +00:00
apb
85744c86ad When parsing numbers, allow a leading '+'. 2013-01-20 10:12:58 +00:00
sjg
2a4896f81a meta_oodate: rename ignoreOODATE to needOODATE.
if target uses ${.OODATE} in its script;
1. we canno compare commands
2. if we decide it is out-of-date .OODATE must not be empty.
   The only option is to set it to .ALLSRC
2013-01-19 04:23:37 +00:00
christos
b856a9b7db - Don't dump core or print random junk on corrupt utmp entries.
- Factor out duplicated code in the process.
- The actual code is now smaller and does error checking, and encoding.
2013-01-18 22:10:31 +00:00
christos
39fb5ccbf5 From: Steffen "Daode" Nurpmeso:
Amend the previous commit to support zone-style RFC 822 dates.
RFC 5322 marks this zone-style as obsolete (obs-zone), but still supports it.
But then, even if you don't wanna support military style single-letter zones,
the UT zone exists and will not be supported by this commit.

The changes here are not strictly correct (since not all possible
single-letter zones are assigned, and only *UT* has two letters),
but which will match all thre possible *obs-zone* forms.
Compiled and tested on a single MBOX.
2013-01-16 15:21:42 +00:00
christos
8fe0b6ad43 PR/47453: Martin Branderburg: Mail (mail, mailx) does not recognize messages
which have RFC 822 format dates.
XXX: Pullup 6
2013-01-15 17:25:42 +00:00
wiz
4bdac686eb Sort options in man page SYNOPSIS and sync usage with it.
Bump date.
2013-01-06 00:19:13 +00:00
christos
fed1477544 PR/47396: Steffen: mail(1) may falsely use quoted-printable for files with
embedded NULs
2013-01-04 01:54:55 +00:00
christos
ec0bd15985 PR/47395: Steffen: mail(1) unnecessarily uses base64 if a CR without a LF is seen 2013-01-04 01:43:59 +00:00
dsl
44483cabc1 Unset HAVE_DEVNAME for tools build.
config only checks for the symbol in libc, we need the correct prototype.
Which is excluded even on NetBSD (_NETBSD_SOURCE isn't defined in stdlib.h).
2013-01-03 13:28:41 +00:00
dsl
cb5a1df091 Only expose the bulk of sys/proc.h and sys/lwp.h if _KERNEL or _KMEMUSER
is defined.
i386 and amd64 build ok.
2013-01-02 19:39:04 +00:00
apb
e5b434bcf4 Really expand the name, not the definition, as the comment says. 2013-01-02 14:05:04 +00:00
dsl
b374a5685e Explicitly include sys/resource.h 2013-01-02 10:36:07 +00:00
apb
25dbb40a11 fix incomplete comment 2013-01-01 12:45:06 +00:00
apb
c6933fca67 Add -l and -L options to units(1). "-l" simply lists all unit
definitions, while "-L" alsoreduces them to depend only on a few
primitive units (such as m, kg, sec).
2013-01-01 11:51:55 +00:00
apb
55f985ffa7 Correctly ignore duplicate definitions. "continue" applies only to the
innermost loop.
2013-01-01 11:44:00 +00:00
christos
0be3040a8f - use warn/err
- if both users are on the same machine, use the loopback address. This
  allows us to use talkd from inetd listening only to the loopback.
2012-12-29 23:44:22 +00:00
jmcneill
733016fbe5 add missing prototype for crc32v 2012-12-29 16:18:08 +00:00
jmcneill
6412da29f7 add support for generating boot.scr scripts with -T script 2012-12-29 15:11:56 +00:00
apb
1d8e06e4e4 Rename "tappit-hen" to "tappithen" because unit names cannot contain
hyphens.  Also change the definition from "3 imperial" (a dimensionless
quantity) to "3 bottle" (2.25 litres).  Wikipedia and several other web
sites say 3 bottles or 2.25 litres, but
<http://www.christies.com/lotfinder/wine/chateau-lafite-rothschild-vintage-1811-1-tappit-hen-per-4992576-details.aspx>
says:

    There seems to be no firm definition of the bottle size referred to
    as "tappit-hen". Believed to be of Scottish origin, a tappit-hen
    can vary, according to which definition one follows, from 1 1/2
    bottles to a tregnum or 3-bottle bottle. It is safest to say that it
    approximates to a magnum.

and ends with:

    1 Tappit-Hen (2.25 liters) per lot
2012-12-28 17:57:46 +00:00
apb
fd02783e45 Allow a number and a unit to be juxtaposed without an intervening space.
Now "litres/100km" works as desired, instead of silently being
treated as "litres/100".
2012-12-28 17:07:03 +00:00
apb
dd9b8fe876 Fix references to undefined units:
* "southamericarand" should be "southafricarand";
* "sidereal day" should be "siderealday";
* "perusol" should be "perunewsol".
2012-12-28 13:45:53 +00:00
apb
5cd73ddec1 Improve the description of the [count] from-unit to-unit arguments. 2012-12-28 13:25:25 +00:00
christos
ccdf6b9113 backwards compatible with netbsd-6. 2012-12-24 22:12:28 +00:00
christos
e7e7a9f768 compile without SSL 2012-12-22 16:58:51 +00:00
christos
057b4f79a5 document https support, mentioning certificates are not validated, and obey
https_proxy.
2012-12-22 16:57:09 +00:00
christos
f9336fd862 PR/47276: Add https support 2012-12-21 18:07:36 +00:00
uwe
dafbf6787b RFC 1866 does not define any "URI encoding". It defines HTML 2.0 that
includes SGML numerical character references (&#nnn;) and entity
references (&foo;) for Added Latin 1 and a subset of Numeric and
Special Graphic.
2012-12-15 02:08:13 +00:00
msaitoh
fd52732c92 Fix memory leak. 2012-12-14 08:15:44 +00:00
pgoyette
0af2848f9e Adjust case of example to match usage (and code) 2012-12-13 21:09:34 +00:00
wiz
8fd1bb626e - Sort option list;
- create separate section, use `.Ex' macro for, and put in the
  correct location exit status information;
- bump date.

From Bug Hunting.
2012-12-12 13:30:06 +00:00
wiz
54082f205d - Remove incorrect use of `.Em' (this is a presentation term and
should not be used for stylistically decorating technical terms);
- remove superfluous `.Pp' macro (fixes mandoc(1) warning).

From Bug Hunting.
2012-12-12 13:28:06 +00:00
joerg
d6b0aba16b Revert, there is a more fundamental issue with util.h. 2012-12-08 23:29:28 +00:00
joerg
52dd0a9cad Use util.h only in the native case. 2012-12-08 21:04:27 +00:00
wiz
102fc9f099 emove duplicate RCS Id. Bump date for previous. 2012-12-06 07:52:12 +00:00
khorben
10836027d1 Added a reference to prenice(1)
ok riz@, mrg@
2012-12-05 23:59:33 +00:00
wiz
c7ee419f37 Bump date for previous. Remove trailing whitespace. 2012-12-03 07:49:21 +00:00
erh
740a124173 Honor the -t option to set the time format when running stat -s.
Document the format used by -s on the man page.
2012-12-02 21:13:07 +00:00
reed
ed8d05eebe install the mkubootimage(1) manual 2012-12-02 02:21:28 +00:00
mbalmer
e3f283b63f Fix misspelling: accommodate is a long enough word to have room for two 'c's
and two 'm's.
2012-12-01 11:41:49 +00:00
wiz
1221f3d89d More markup. 2012-12-01 08:16:25 +00:00
matt
555aa92b83 Change ULONG_MAX to UINT32_MAX 2012-12-01 05:26:16 +00:00
wiz
f6a7e95e09 Sort SYNOPSIS. Remove unnecessary Ns. Punctuation nit. 2012-11-30 08:25:35 +00:00
reed
9557060a47 Add a manual for mkubootimage(1). It was missing.
It had one review on netbsd-docs@.
I didn't add the manual to the Makefile nor distrib set yet --
waiting for more review or improvements first.
2012-11-29 23:23:22 +00:00
mbalmer
d6d52f19c7 Remove an obsolete (and incomprehensible) comment. Discussed with and ok
Roy Marples, Joerg Sonnenberger.
2012-11-29 23:01:16 +00:00
christos
3d7bb1da45 support printing rnd descriptor info 2012-11-25 15:30:28 +00:00
christos
0548a80ae0 return stuff for ksem 2012-11-25 01:05:49 +00:00
christos
c7c1f1a254 - add more debugging.
- in misctrans() we need the file index not the file type.
2012-11-25 00:36:23 +00:00
christos
79abd5ecae PR/47237: Steffen Nurpmeso: Detect more than 2 pad characters and mark as bad. 2012-11-24 21:40:02 +00:00
christos
5c26317391 bufmem is unsigned. 2012-11-23 15:35:57 +00:00
pgoyette
a5f70a7bc1 Fix format string to resolve build break 2012-11-23 06:44:38 +00:00
christos
0f21b86617 use more sysctl 2012-11-23 03:47:36 +00:00
christos
06cfe04c08 fix wrong sysctl 2012-11-23 03:46:35 +00:00
christos
9a3978f67e use more sysctl 2012-11-23 03:37:27 +00:00
christos
abc21e6c39 use sysctl 2012-11-23 03:33:05 +00:00
joerg
ab86636a8f Adding missing new lines in output. 2012-11-23 02:57:57 +00:00
christos
2696762d5f mbufs display was broken since the time we moved to percpu stats. 2012-11-23 01:43:10 +00:00
christos
f17f1ddf91 PR/47222: Manuel Bouyer: Fix syscall display to show something reasonable. 2012-11-23 00:05:18 +00:00
pgoyette
3a4bfc9ee9 Note that 'su -l' does not update utmp and related databases. 2012-11-21 19:30:53 +00:00
christos
1524d388a5 Don't use p_comm since it is only 16 characters long and you can find the
full argv[0]. It is just confusing to have a long command name, that ps
shows as the long command name, and then when you try to kill it using
the full command name as displayed you don't get a match. While there
fix a format nit, and remove the main() declaration.
2012-11-20 22:52:01 +00:00
christos
7e4ddd095e include the variable name in debugging printfs. 2012-11-15 16:42:26 +00:00
chs
ad0d9d79c0 fix operation on core files: cur_drive.io_name is an embedded array
in the structure we already fetched, not a pointer, so don't try to
dereference its address as a kernel address.
2012-11-13 14:09:58 +00:00
mbalmer
022a461990 It's Henry _Morton_ Stanley and Dr. Livingston_e_. Unfortunately. they did
not meet at an airport.
2012-11-11 20:25:19 +00:00
sjg
15b27c94a1 Add a unit-test for .ORDER 2012-11-09 19:08:28 +00:00
sjg
d6f9abca71 Do not stop looking for children, just because one has a .ORDER dependency. 2012-11-09 18:53:05 +00:00
apb
cd19fc2e6a Reorganise, consolidate duplicated information, clarify wording,
attempt to make the man page match the actual behaviour.
2012-11-04 10:10:03 +00:00
christos
2ce34034e0 off-by-one 2012-11-03 13:59:27 +00:00
christos
babae7a2a2 PR/47155: Eitan Adler: add mktemp zero arguments extension 2012-11-03 13:34:08 +00:00
pgoyette
4d44b16846 Fix build break due to signed/unsigned comparison 2012-11-03 04:51:17 +00:00
sjg
484532a973 Allow cond_state[] to grow.
The need is rare, but real.

Reviewed by: christos
2012-11-03 02:25:13 +00:00
wiz
e516fe9873 Separate SEE ALSO entries with comma. 2012-11-03 00:50:04 +00:00
christos
2e03ba1139 - better usage messages
- verbose can be local
- add static
2012-11-02 17:03:16 +00:00
christos
efb508ca11 cross reference flock(1) 2012-11-02 16:47:42 +00:00
christos
4050c976c3 cross reference shlock(1) 2012-11-02 16:32:35 +00:00
christos
12019f2b8a we don't truncate seconds anymore. 2012-11-02 12:47:57 +00:00
christos
9abb2d20bd - use modern timer functions to handler fractional wait
- add a function to print the full command line
- use sigaction so signals interrupt us
2012-11-02 12:47:23 +00:00
wiz
e7aacc4093 Use longer -c description. 2012-11-02 02:07:19 +00:00
wiz
5f8f0b4dee Sort options and their descriptions. Sync usage with man page. 2012-11-02 02:03:18 +00:00
christos
ac881fe51e treat a command without -c like an argument vector
default to exclusive lock
2012-11-02 01:30:46 +00:00
christos
1e7f0e09f1 fix usage 2012-11-01 23:34:44 +00:00
christos
dcdc302c64 Add an flock program inspired by the linux one with the same name. 2012-11-01 23:30:19 +00:00
para
9334d2fb72 fix format string 2012-10-29 16:25:25 +00:00