mikel
0a3628b2c3
initialize variables for gcc -Wall (marked XXX)
...
compare getopt() result to -1, not EOF
1997-07-25 06:40:32 +00:00
mikel
2aa6b3b7a4
make comparison to NULL explicit (gcc -Wall)
1997-07-25 06:38:02 +00:00
mikel
f89e3ed737
include <err.h> and <stdlib.h> for prototypes
...
give pw_yp() an explicit type
1997-07-25 06:37:27 +00:00
mikel
2a1157114b
add prototypes for check_yppasswdd() and pw_yp()
1997-07-25 06:36:02 +00:00
mrg
d2be95ea7e
update "systat vmstat" documentation to reality.
1997-07-25 01:59:42 +00:00
mrg
9fb5074a33
get at least *part* of "systat vmstat" right...
1997-07-25 01:15:09 +00:00
phil
aa70cacc5f
Apply patch from PR 1474, checking results of reading from the
...
bounds file.
1997-07-24 22:45:23 +00:00
phil
e807a0729d
Changes to close PR3806. (Different than in PR.)
...
-- don't lock passwd until data is collected.
-- save a copy of original pw data for pw_copy checking
-- Try several times to lock passwd
1997-07-24 08:53:48 +00:00
phil
6907a00e10
Changes to close PR3807. (Different than in PR.)
...
-- don't lock passwd until data is collected.
-- save a copy of original pw data for pw_copy checking
-- Try several times to lock passwd
1997-07-24 08:53:06 +00:00
thorpej
b3fb623d7f
Pull SYN_cache_branch down onto the main line.
1997-07-23 21:31:27 +00:00
kleink
cce3084228
Add WARNS=1.
1997-07-23 20:09:25 +00:00
kleink
db21fa89df
Document `-H' flag.
1997-07-23 20:08:53 +00:00
kleink
df138b3d94
* __RCSID()/__COPYRIGHT() police.
...
* Prototypes; fix compiler warnings.
* setlocale(LC_ALL, "") on startup.
* Add XPG4.2 `-H' flag.
1997-07-23 20:08:03 +00:00
mikel
1a90a52019
add explicit return types and prototypes for local functions
...
use __COPYRIGHT and __RCSID macros, fix other gcc -Wall warnings
1997-07-23 05:53:34 +00:00
mikel
3489c99115
RCSid police
1997-07-23 05:51:08 +00:00
mikel
7194732677
nuke duplicate RCSid
1997-07-23 05:47:45 +00:00
mikel
89d7a04e6c
set WARNS?=1, cleanup
1997-07-23 05:44:09 +00:00
mikel
463fe05164
add explicit return types and prototypes for local functions
...
use __COPYRIGHT and __RCSID macros, fix other gcc -Wall warnings
1997-07-23 05:42:55 +00:00
mikel
ecebe74498
provide explicit return type for getpoints(), use __RCSID macro
1997-07-23 05:40:20 +00:00
mikel
de46de4c67
nuke duplicate RCSid, prototype getpoints()
1997-07-23 05:37:59 +00:00
mikel
54bb32d1c5
nuke duplicate RCSid
1997-07-23 05:36:34 +00:00
mrg
bda99ff7a0
find "namespace.h" ...
1997-07-23 03:10:54 +00:00
mrg
64d6e24a6b
find "namespace.h" ...
1997-07-22 11:38:33 +00:00
cgd
2e906b2aaf
quote ${NM} so that multi-word values work right (for some defn of "right")
1997-07-22 05:21:03 +00:00
cgd
dc7e4efc1d
quote ${CC} so that multi-word values work right (for some defn of "right")
1997-07-22 05:20:06 +00:00
phil
992579779c
Add input files to dependency list for ioctl.c build.
1997-07-21 19:29:58 +00:00
lukem
609496986e
fix compile on alpha:
...
* cast all %qd printfs to (long long) [inspired by billc@warped.net ]
* replace sscanf %qd with strtoq() et al
1997-07-21 14:03:48 +00:00
mrg
5941399374
- some KNF.
...
- use __RCSID().
- WARNS=1
1997-07-21 07:04:56 +00:00
mrg
cd53f1ab76
WARNS?=1
1997-07-21 07:03:52 +00:00
mrg
1e987690a8
- some KNF.
...
- use __RCSID().
- WARNS=1
- use swapctl(2), rather than grovelling KVM.
1997-07-21 07:03:15 +00:00
cgd
b41192602c
fix a couple of bogons in the changes to the sed regexps in my previous
...
commit. ("Works Great!!" "More Testing!!!")
1997-07-21 05:37:32 +00:00
cgd
dab9e38937
find the compiler more correctly: if user has set 'CC' use it but expand
...
it to a full path using the user's path, before setting the path used by
the script. If it can't be found, try using the standard path used by the
script to find it (/bin:/usr/bin:/usr/ucb), and if it still can't be
found, exit. If user hasn't set CC, try to use cc, again searched for
via their path, then via the standard path.
Also, clean up regexps used to post-process ${CC} -M output, so that
they work on a wider variety of compilers.
1997-07-20 23:27:09 +00:00
cgd
e765fcae61
find nm more correctly: if user has set 'NM', use it but expand it to a
...
full path using the user's path, before setting the path used by the
script. If it can't be found, try using the standard path used by the
script to find it (/bin:/usr/bin), and if it still can't be found, exit.
If user hasn't set NM, try to use nm, again searched for via their path,
then via the standard path.
1997-07-20 23:25:12 +00:00
christos
a8110bb91b
Add prototype for orcmd.
1997-07-20 20:44:23 +00:00
lukem
076ac8bdc3
Send \r with \n in http requests. Allow "content-length" to be missing.
...
From [bin/3891] by Krister Walfridsson <cato@ulysses.df.lth.se>
1997-07-20 12:49:26 +00:00
lukem
b9d5554d5d
* use RCSID() && COPYRIGHT() macros
...
* cleanup for WARNS=1 (including some ugly '(void)&var' bits wrapped in
#ifdef __GNUC__ to shut up gcc warnings WRT setjmp/longjmp)
* use strtol() instead of atoi(), and more extensively check result of
conversion
* use u_int16_t instead of short or int for TCP port addresses
1997-07-20 09:45:35 +00:00
jonathan
623d454fe0
* Rewrite symbol-remapping code, compatible with mips ECOFF toolchain.
...
* delint for -Wall -Wstrict-prototypes -Wmissing-prototypes.
1997-07-20 03:50:54 +00:00
perry
9aea42ec4e
Change the "overlarge UID/GID truncation" from USHRT_MAX, which might
...
someday exceed 16 bits, to an arbitrary constant that won't.
1997-07-19 22:19:35 +00:00
perry
bccc3d5d81
add -o option -- submitted in pr-1857 by Niklas Hallqvist
1997-07-19 19:47:38 +00:00
perry
4c79cc7435
fix 3884 from SAITOH Masanobu
1997-07-18 23:31:00 +00:00
thorpej
469760f207
- Don't deref bad pointer if domain name isn't set.
...
- Fix compiler warnings.
- KNF.
1997-07-18 07:40:42 +00:00
thorpej
00c02e3e6b
- Fix compiler warnings.
...
- KNF.
1997-07-18 07:05:35 +00:00
thorpej
981a9bdece
- Clean up compiler warnings.
...
- KNF.
1997-07-18 06:16:29 +00:00
phil
84d2fe3f1c
Correct 12am and 12pm to be midnight and noon resprectively.
...
Patch from PR 1743.
1997-07-18 01:09:48 +00:00
phil
e285bfacc1
Add a new example to SYNOPSIS, change the example. This is in response
...
to the fact that the /bin/sh set command always sets the exit status to
0, so testing $? will not help discover if getopt found an error if
getopt is used via "set -- `getopt ....`". (POSIX 1003.2 D11 draft says
that the sh set command must return 0 as the exit status.)
I think that POSIX is wrong or that is is not well enough specified to
allow the result of the set to be the exit status of the getopt. But
considering the sequential nature of execution, the set is done last
and is the "last command" and therefore must be the one to set the exit
status. At least there is a work-around for shell scripts.
1997-07-18 00:18:26 +00:00
phil
3417167725
Add a SYNOPSIS section and document the arguments of -n and -p.
...
Closes PR 1616.
1997-07-17 17:08:34 +00:00
perry
c0274208c2
add -T option to display seconds, from jhawk in pr-1548
1997-07-17 02:36:55 +00:00
augustss
78612a1a5b
Sync with audioio.h changes.
1997-07-16 06:55:27 +00:00
mikel
85a9bc4ee4
xref moncontrol(3) instead of obsolete monitor(3), sort xrefs
1997-07-16 06:51:44 +00:00
mikel
576ed679d4
xref mount(8) not nonexistent mount(1)
1997-07-16 05:43:33 +00:00