lukem
ac4e9aa74a
WARNSify, fix .Nm usage, deprecate register, use <err.h>
1997-10-19 03:32:11 +00:00
lukem
180f5dc383
WARNSify, fix .Nm usage, getopt returns -1 not EOF
1997-10-19 03:23:46 +00:00
lukem
e8ca1c7c50
getopt returns -1 not EOF
1997-10-19 03:18:54 +00:00
lukem
74502993fd
fix .Nm usage
1997-10-19 03:18:18 +00:00
lukem
b048688222
WARNSify, fix .Nm usage, deprecate register, use <err.h>, KNFify (with indent!;)
1997-10-19 03:17:12 +00:00
lukem
e7e6d7b7b9
don't define WARNS=1 here
1997-10-19 03:16:58 +00:00
lukem
f371ce2cb8
WARNSify, fix .Nm usage, deprecate register, use err() from <err.h>
1997-10-19 02:45:44 +00:00
lukem
c6810a0286
WARNSify, fix .Nm usage, deprecate register
1997-10-19 02:34:02 +00:00
lukem
78a738b31b
use err.h for err() prototype, deprecate register, fix .Nm usage
1997-10-19 02:23:41 +00:00
lukem
8c012c7268
WARNSify, fix .Nm usage
1997-10-19 02:13:39 +00:00
lukem
fb9ee7e315
WARNSify
1997-10-19 02:12:40 +00:00
mrg
8f798dca81
merge lite-2.
1997-10-18 16:48:29 +00:00
mrg
226284be12
merge lite-2.
1997-10-18 16:04:21 +00:00
matt
6db79ef042
Allow mailboxes to be in <cr><lf> format.
1997-10-18 15:48:48 +00:00
mrg
09366313d3
"merge" lite-2. our printf is already kinda different...minor changes only.
1997-10-18 15:38:01 +00:00
lukem
e74da31dcc
don't define WARNS=1 here
1997-10-18 15:31:20 +00:00
lukem
30809d6452
WARNSify, fix .Nm usage, deprecate register
1997-10-18 15:28:04 +00:00
lukem
bbfdb6ffc5
WARNSify, fix .Nm usage, deprecate register
1997-10-18 15:14:48 +00:00
lukem
e207462d6e
WARNSify, fix .Nm usage
1997-10-18 15:05:40 +00:00
mrg
acc19d2fa6
"merge" lite-2. (our strip was already radically different and only rcsids were changed)
1997-10-18 15:04:56 +00:00
lukem
c5a3c5334f
WARNSify, fix .Nm usage
1997-10-18 15:02:15 +00:00
lukem
6533f941fe
s/index/strchr
1997-10-18 15:01:05 +00:00
lukem
0c2c736d5a
WARNSify, fix .Nm usage
1997-10-18 15:00:11 +00:00
lukem
b01545b899
WARNSify
1997-10-18 14:53:48 +00:00
lukem
906b60f5e0
getopt returns -1 not EOF
1997-10-18 14:49:41 +00:00
lukem
1d3ba85e36
WARNSify
1997-10-18 14:48:22 +00:00
lukem
d2316002cc
fix up .Nm usage
1997-10-18 14:46:54 +00:00
lukem
95737fee5b
WARNSify, fix .Nm usage
1997-10-18 14:45:55 +00:00
lukem
397a8a0855
WARNSify (big job!), fix .Nm usage
1997-10-18 14:44:21 +00:00
mrg
0026c9e93a
merge lite-2.
1997-10-18 14:34:39 +00:00
lukem
0fbfce3460
WARNSify, fix .Nm usage
1997-10-18 13:54:51 +00:00
mrg
7397398466
merge lite-2.
1997-10-18 13:53:56 +00:00
lukem
043bfc9260
KNFify (with indent(1))
1997-10-18 13:53:19 +00:00
lukem
c8accd1a9f
disable WARNS until an ecoff user can clean this up
1997-10-18 13:50:18 +00:00
lukem
38fdbc9351
fix up .Nm usage
1997-10-18 13:50:02 +00:00
lukem
ae88474da7
WARNSify, fix .Nm usage
1997-10-18 13:48:35 +00:00
lukem
b9d1fbcf87
WARNSify, fix .Nm usage, getopt returns -1 not EOF
1997-10-18 13:38:09 +00:00
lukem
6c98363c96
WARNSify, fix .Nm usage, getopt returns -1 not EOF
1997-10-18 13:21:42 +00:00
lukem
13ba69e21a
WARNSify, fix .Nm usage
1997-10-18 13:21:41 +00:00
lukem
263324f188
WARNSify, fix .Nm usage, getopt returns -1 not EOF, deprecate register
1997-10-18 13:21:28 +00:00
lukem
46f4e7d336
WARNSify, fix .Nm usage, getopt returns -1 not EOF
1997-10-18 13:18:15 +00:00
mrg
3ac0787450
merge lite-2; also WARNSify the 2 warnings left.
1997-10-18 13:15:18 +00:00
lukem
227b039655
test against != NULL not == NULL....
1997-10-18 13:07:39 +00:00
lukem
b27d0b84f5
include ../Makefile.inc if it exists
1997-10-18 13:05:22 +00:00
lukem
07d881c8e1
disable WARNS until usr.sbin cron is cleaned up
1997-10-18 13:04:59 +00:00
lukem
2124f91f12
getopt returns -1 not EOF
1997-10-18 13:04:29 +00:00
lukem
7202b75851
WARNSify, fix .Nm usage, getopt returns -1 not EOF
1997-10-18 13:02:59 +00:00
lukem
f6d6033f97
WARNSify, fix .Nm usage, getopt returns -1 not EOF, deprecate register
1997-10-18 13:00:12 +00:00
lukem
9e1c8cadc6
WARNSify, fix .Nm usage, getopt returns -1 not EOF
1997-10-18 12:59:04 +00:00
lukem
9992ac3ea9
getopt returns -1 not EOF
1997-10-18 12:54:24 +00:00
lukem
18ce25404d
WARNSify, fix .Nm usage
1997-10-18 12:52:04 +00:00
lukem
ad23fe25bd
WARNSify, fix .Nm usage, bzero -> memset
1997-10-18 12:49:10 +00:00
lukem
782ba3a9bb
don' define WARNS=1 here
1997-10-18 12:49:08 +00:00
lukem
5645d77b1c
WARNSify, fix .Nm usage, bzero -> memset
1997-10-18 12:48:40 +00:00
lukem
5f18af1fa6
WARNSify, fix .Nm usage
1997-10-18 12:39:50 +00:00
lukem
5c1befb6a9
WARNSify, fix .Nm usage, deprecate register
1997-10-18 12:38:05 +00:00
lukem
b749a32930
WARNSify, fix .Nm usage
1997-10-18 12:31:01 +00:00
lukem
0b3de1cab3
WARNSify, fix .Nm usage, deprecate register
1997-10-18 12:27:31 +00:00
lukem
b4d27c3a21
WARNSify, fix .Nm usage
1997-10-18 12:24:53 +00:00
lukem
8ebe3a25b5
getopt returns -1 not EOF
1997-10-18 12:23:21 +00:00
lukem
80baf83f8c
WARNSify, fix .Nm usage
1997-10-18 12:12:38 +00:00
lukem
e3e553a90c
fix .Nm usage
1997-10-18 12:05:22 +00:00
lukem
7cb59a4b6c
WARNSify, fix .Nm usage
1997-10-18 12:04:01 +00:00
lukem
30bd602219
s/bcmp/memcmp
1997-10-18 11:56:11 +00:00
lukem
ffe5b43454
WARNSify, fix .Nm usage
1997-10-18 11:52:32 +00:00
lukem
10a4ee85e0
WARNSify, fix .Nm usage
1997-10-18 11:47:18 +00:00
mrg
3740466adc
merge lite-2.
1997-10-18 11:38:27 +00:00
lukem
99071d1bef
KNFify, generate prototypes, etc (to shut up WARNS on generated code)
1997-10-18 10:53:37 +00:00
lukem
03e194f678
- don't generate register variables
...
- always include syslog.h if -L; remove test for #ifdef SYSLOG
- create ANSI C function prototype in server write_program()
- clean up .Nm usage in man page
- document -L in man page
1997-10-17 15:51:48 +00:00
lukem
76da6c89a7
WARNSify
1997-10-17 11:36:51 +00:00
enami
dd88a36ade
Fix typo; `symbolic link' -> `a symbolic link'.
1997-10-17 08:10:22 +00:00
mikel
d7350315cf
now needs -I to find headers from ../man
1997-10-17 07:08:51 +00:00
mikel
4d52d27c85
cleanup for WARNS=1; also avoid feeding relative pathnames to
...
#include, and avoid using array contents out of scope.
1997-10-17 07:08:06 +00:00
mikel
462a1eae17
add support for globbing _whatdb entries in man.conf; from Mike
...
Grupenhoff in PR bin/1904 with some improvements by myself.
1997-10-17 06:58:52 +00:00
mikel
d00b77f18b
now needs -I to find headers from ../man
1997-10-17 06:51:04 +00:00
mikel
9653f53ecf
cleanup for WARNS=1; also avoid using relative paths with #include, and
...
avoid using the contents of an array outside of its scope.
1997-10-17 06:49:16 +00:00
mikel
78b44c8f92
cleanup for WARNS=1
1997-10-17 06:42:09 +00:00
augustss
8bbf1c89e8
Test for valid mixer class the right way. From PR 4279.
1997-10-16 23:28:17 +00:00
mikel
effc153920
add support for globbing _whatdb entries in man.conf; from Mike
...
Grupenhoff in PR bin/1904.
1997-10-16 08:44:23 +00:00
christos
49e050d183
PR/4257: Jaromir Dolecek: Compensate for the libedit changes.
1997-10-14 16:31:22 +00:00
christos
73d7366361
Change CFLAGS to CPPFLAGS
1997-10-14 15:09:22 +00:00
lukem
2aa5d6b785
WARNSify, use <termcap.h>
1997-10-14 02:07:55 +00:00
lukem
a04cd750cc
WARNSify, use <termcap.h> instead of <curses.h>
1997-10-14 01:46:32 +00:00
lukem
2122942c25
WARNSify, use <termcap.h>, rename setmode() to setulmode() to prevent nameclash
1997-10-14 01:40:20 +00:00
lukem
c72c1882ab
WARNSify, use <termcap.h>
1997-10-14 01:28:47 +00:00
mycroft
83ef48db0a
Undo part of the previous; don't allow logins if we've passed pw_change.
...
The semantics of this are not well documented. *sigh*
1997-10-12 15:21:24 +00:00
mycroft
97734d5e35
Refuse login only when we've past pw_expire, not pw_change. Check pw_expire
...
first.
1997-10-12 15:11:24 +00:00
mycroft
879c3292d6
Several things:
...
* Change the semantics of the `-s' option somewhat. If specified, allow
either Kerberos or S/Key login, but not a plain password.
* Eliminate the special `s/key' password; just type it at the prompt.
* Remove the root instance special case. This is a serious security hole
waiting to happen, and no other system works this way.
* Don't force a password change if Kerberos was used. Also, don't call
/bin/passwd at all if the password change isn't required.
1997-10-12 15:05:24 +00:00
mycroft
2b4b3f1ded
SRCS must be defined *before* bsd.prog.mk is included...
1997-10-12 14:07:38 +00:00
mycroft
fc2c065578
Get rid of special cases for `s/key' password.
1997-10-12 14:07:06 +00:00
mycroft
d91c72fbd3
Minor changes.
1997-10-12 13:10:16 +00:00
mycroft
37d3b7eb77
Eliminate redundant library inclusion.
1997-10-12 12:56:51 +00:00
mycroft
e6751fc584
Minor changes.
1997-10-12 12:54:55 +00:00
mycroft
4163fb775c
Make this compile without SKEY.
1997-10-12 12:54:20 +00:00
mycroft
1434f98d69
If we compile without SKEY, abort if a -s option is used, rather than silently
...
failing to enforce it.
1997-10-12 12:42:38 +00:00
mycroft
40471d4e79
Pull in bsd.own.mk for SKEY, KERBEROS, KERBEROS5.
1997-10-12 12:39:17 +00:00
mycroft
5171059387
Fix uninitialized variable.
1997-10-12 12:31:40 +00:00
mikel
d9c915fd1a
add missing .Nm argument
1997-10-12 05:51:47 +00:00
mycroft
db43b6b7a0
And a little more...
1997-10-11 22:19:12 +00:00
mycroft
bfa2e15a32
Fix the format of the output slightly.
1997-10-11 22:16:45 +00:00
christos
935794817d
- Rename "inline" variable to "doinline" so that we don't need -ansi
...
- Fix gcc warnings and add netbsd rcsid's
- add WARNS to the Makefile
- Add errx() to unhandled cases where appropriate.
1997-10-11 21:01:26 +00:00
christos
470e6b8604
CFLAGS->CPPFLAGS; Conditionalize SKEY
1997-10-11 19:19:11 +00:00
christos
5f3d5ce5cf
Conditionalize SKEY support. CFLAGS->CPPFLAGS
1997-10-11 19:16:28 +00:00
christos
06a0ab2d5f
CFLAGS->CPPFLAGS, and general cleanup; add WARNS
1997-10-11 19:13:39 +00:00
augustss
64e2e4badb
Print properties differently.
...
Change indentation.
1997-10-11 13:40:26 +00:00
mycroft
088478fe61
If the ETA is too large to fit on the display (i.e. 100 hours or more), don't
...
try to display it.
Also, eliminate many extra calls to strlen().
1997-10-11 12:05:15 +00:00
mycroft
fe47ecc300
Also need -I. to get menu_defs.h in an obj dir.
1997-10-11 11:49:36 +00:00
mycroft
ffc08ff2c0
Clean this up, and make it work with obj directories.
1997-10-11 11:46:49 +00:00
mycroft
5ec8e0144d
Clean up this garbage.
1997-10-11 11:37:21 +00:00
mycroft
af65e81265
Make these executables world-readable.
1997-10-11 11:05:28 +00:00
mycroft
e96e918e60
Use bsd.subdir.mk as appropriate.
1997-10-11 09:34:07 +00:00
enami
b34354ff76
Add h option to usage.
1997-10-11 03:12:17 +00:00
mycroft
1999e9c4b7
Fix more white space lossage.
1997-10-09 17:58:15 +00:00
mycroft
7b80581cc5
More KNF.
1997-10-09 16:54:38 +00:00
mycroft
97d989af48
Output the declaration for the loop index variable in the same block as the
...
rest of the vector inline code.
1997-10-09 16:31:12 +00:00
mycroft
daa885fdce
Fix another white space glitch.
1997-10-09 15:19:48 +00:00
mycroft
eefe653830
Clean up some minor white space nonsense in the output.
1997-10-09 15:13:19 +00:00
mycroft
a377886de6
Make the output more KNF-like, and only output the inlining variables when
...
needed.
1997-10-09 15:12:24 +00:00
jtc
3ee7ba138d
Fix tipo inherited from old version of TNF copyright template.
1997-10-08 22:31:53 +00:00
jtc
3bc5599f8b
Fix tipo inherited from old version of TNF copyright template.
1997-10-08 22:19:18 +00:00
christos
2cb3df576d
Pr/4180: Erik Bertelsen: rdist does not produce intelligible error messages
...
and core dumps when the remote host is down:
- avoid core dumps by checking lfp before using it.
- use rcmd's err descriptor to grab and print the message.
1997-10-08 19:16:24 +00:00
christos
b1179df85c
Don't need -I${.CURDIR}
1997-10-08 19:13:39 +00:00
augustss
b217726cdc
Get rid of warnings.
1997-10-07 13:55:03 +00:00
mrg
11eb9f8e06
WARNS?=1
1997-10-07 09:19:40 +00:00
hubertf
a06fe60f95
/etc/magic entries for the clisp common lisp system added.
...
Closes PR bin/4186 by Jim Wise <jimw@fornost.turner.com>
1997-10-07 04:39:35 +00:00
enami
7c1dbc2781
Document new flag -h.
1997-10-06 13:52:35 +00:00
enami
d104b0b843
Introduce new flag, -h, to manupilate access/modification time of
...
symbolic link.
1997-10-06 13:46:52 +00:00
thorpej
75b410b331
If printing a u_long, use the %lu format.
1997-10-03 17:58:00 +00:00
enami
5e13aa5a50
- Include <string.h> to import the proto type of strlen().
...
- Add an empty line before inclusion of local header.
1997-10-03 16:37:25 +00:00
enami
5a3584034e
Make this compile on NetBSD/alpha; use %ld and cast to u_long to print
...
a variable of type size_t.
1997-10-03 16:06:26 +00:00
hubertf
171499408a
Fix a few minor formatting problems by inserting spaces.
1997-10-03 01:23:30 +00:00
hubertf
0be33fb678
-msU -> -ms
...
closes PR misc/4203 by Jim Wise <jimw@fornost.turner.com>
1997-10-03 01:22:13 +00:00
is
5379dca61e
/etc/magic -> /usr/share/misc/magic
1997-09-30 17:00:30 +00:00
lukem
2ba9e97765
wrap #include <sys/cdefs.h>, __RCSID(...) stuff in #ifndef MAKE_BOOTSTRAP
1997-09-28 03:30:58 +00:00
phil
7fadacf3cf
Add msgc and menuc to subdirs.
1997-09-26 21:22:33 +00:00
phil
584c2298f0
Import a simple message system with 'compiled' messages. Used by
...
the net system install program.
1997-09-26 21:16:38 +00:00
phil
08d5389ae7
Correct the usage() for reality.
1997-09-26 21:08:05 +00:00
phil
95f3bf39d9
Add a curses based menu compiler system. (Used by the new system install
...
program sysinst.)
1997-09-26 17:54:09 +00:00
lukem
a09466a728
add a space to restart message. from geoff wing in [bin/4161]
1997-09-26 15:22:46 +00:00
christos
6dea7d9ed2
Fix another gcc warning.
1997-09-26 15:14:08 +00:00
christos
a004ae7f41
PR/4140: David A. Holland: use svr4 style archives for ELF environments
1997-09-26 13:29:05 +00:00
christos
dbcb6055f7
PR/4150: sigint/sighup stays blocked after first letter cancellation.
1997-09-25 19:56:15 +00:00
hubertf
9950ba9dbb
Fix type: srt-root -> src-root
1997-09-24 00:47:34 +00:00
fair
7eaeaff5f2
fix some ints that should be "time_t" per PR#4139
1997-09-23 21:15:07 +00:00
christos
7b8cd5e6e3
Expand variables within variables correctly; eg.
...
foo.123=abc
bar=123
all:
echo ${foo.${bar}}
1997-09-22 17:11:12 +00:00
mrg
6b39891881
update for less332.
1997-09-21 12:45:04 +00:00
mrg
8a84baa498
merge less 332.
1997-09-21 12:40:58 +00:00
mrg
ae2bff5948
oops, this is less 332, not 322.
1997-09-21 12:34:31 +00:00
mrg
5eb1412525
less 322.
1997-09-21 12:22:44 +00:00
lukem
8732be2e09
More cleanups from Todd Miller <Todd.Miller@courtesan.com>:
...
* Use an int, not "union wait".
* Move the "parsed_url" label so that the next statement is not an "else" --
some ansi C compilers don't like it the old way (SGI's for example).
* Deal with the possibility of getlogin(2) failing.
* Don't error out if the remote server doesn't support the "MDTM" command.
1997-09-21 01:06:30 +00:00
lukem
b0f016ea70
- cleanup for WARNS=1
...
- use fgetln() correctly; the last line may not have a trailing \n
1997-09-20 14:55:00 +00:00
mikel
6e9797c617
set WARNS?=1
1997-09-20 05:51:40 +00:00
mikel
f08412063c
update for use with WARNS=1:
...
- use <sys/cdefs.h> __COPYRIGHT() and __RCSID() macros
- add parens and main() prototype to shut up gcc -Wall
also replace {,r}index() with str{,r}chr(), nuke 'register', and
otherwise KNFify and clean up
1997-09-20 05:50:45 +00:00
mikel
28cd33c439
xref syslog(3) not nonexistent syslog(8)
1997-09-20 05:24:36 +00:00
lukem
87f4122c62
* cleanup for WARNS=1
...
* deprecate register
* rindex -> strrchr
* fix .Nm usage
1997-09-15 10:58:35 +00:00
lukem
87453d32bd
Fixes from Todd Miller <Todd.Miller@courtesan.com>:
...
* use size_t instead of int in places
* use symbolic constants when using access()
1997-09-13 09:05:52 +00:00
mikel
37c88d8964
resize a pathname buffer to MAXPATHLEN; from Matthias Scheler in PR 4101
1997-09-10 07:13:51 +00:00
drochner
44280f34ac
enable WARNS
1997-09-09 11:07:43 +00:00
drochner
5145a54834
-fix error message for nonexistent key
...
- -Wall fixes
1997-09-09 11:06:31 +00:00
agc
b69f871588
Bump number of elements in specials array from 100 to 1000.
...
Typedefs are added to this array, and it silently ignores
any attempts to enter more elements when the array is full.
1997-09-09 09:28:19 +00:00
jtc
5b466bef97
Changed order of STANDARDS and HISTORY subheads to conform with
...
specification in mdoc(7).
1997-09-09 07:26:02 +00:00
mrg
2703290213
add -g flag: do not show non real name gecos info.
1997-09-09 02:41:06 +00:00
mrg
8e81f950a4
Ensure that option processing is complete before externally supplied
...
arguments are passed to sendmail.
1997-08-28 08:13:41 +00:00
thorpej
a73d0efd45
Enhancements from Ty Sarna <tsarna@endicor.com>, per PR #3935 . Allow
...
user to:
- get entries from a file other than "calendar".
- get entries for a different date than today.
- get entries for a whole week in advance, or only one day.
1997-08-26 19:58:10 +00:00
thorpej
a436ba4f68
Change an instance of a time_t to a (more appropriate) off_t, PR #4037 ,
...
enami tsugutomo.
1997-08-26 18:52:13 +00:00
kleink
66105c37fc
Lseek(2) usage cleanup: the use of L_SET/L_INCR/L_XTND is deprecated,
...
use SEEK_SET/SEEK_CUR/SEEK_END instead.
1997-08-25 19:31:43 +00:00
augustss
4d52119684
Don't try opening the device O_RDWR.
1997-08-25 19:03:12 +00:00
kleink
6b71fbbcbe
Add reference to nice(1).
1997-08-25 16:43:47 +00:00
kleink
8287c17d78
Add references to [gs]etpriority(2).
1997-08-25 16:42:36 +00:00
mikel
cc3132afa3
set WARNS?=1
1997-08-25 06:43:02 +00:00
mikel
58d8fb4ee7
sync usage string with manpage
...
use <sys/cdefs.h> __RCSID() and __COPYRIGHT() macros
fix prototypes and add parens for gcc -Wall
1997-08-25 06:42:19 +00:00
augustss
ad6d4eb815
Print class correctly for linked fields.
1997-08-24 23:20:04 +00:00
kleink
e021da65e2
* Fix compiler warnings
...
* Style: lseek(2) L_SET vs. SEEK_SET; getopt(3) EOF vs. -1
1997-08-24 13:57:54 +00:00
drochner
3cb8fe8b6b
Fix compiler warnings (because new prototypes came into scope
...
with latest "rpc.h" changes). It's -Wall ready now.
1997-08-24 10:53:16 +00:00
lukem
fa55e11566
* sanitize long output, fixing buffer overflows whilst doing so
...
* clean up for WARNS?=1
1997-08-24 02:40:40 +00:00
lukem
64c651fb96
support $TMPDIR
1997-08-23 07:32:50 +00:00
jonathan
3153b91d91
Add elf32 for mips.
...
(probably doesn't work, due to GP-register-relative relocs.)
1997-08-20 01:21:37 +00:00
mycroft
3110c7add1
Various changes to keep up with krb5, mostly addition of the kcontext
...
structure. From PR 3826, by Chris Jones.
1997-08-19 17:26:13 +00:00
augustss
653833821e
Change to use /dev/audioctl.
1997-08-18 21:35:26 +00:00
lukem
2fec2a28f5
bugs fixed:
...
* don't interpret '-' or '|' when a local filename is determined from
the remote name (i.e, in mget, and in get with only one argument).
This is implemented using an extra argument to recvrequest().
Fixes a major security hole.
* clean up memory leak when using globulize()
* clean up a couple of comments
* fix wording in TNF copyright
features added:
* support for TIS fwtk gate-ftp servers:
* read defaults from $FTPSERVER && $FTPSERVERPORT
* start in gate-ftp mode if invoked as 'gate-ftp'
* toggle or set with 'gate [host [port]]'
1997-08-18 10:20:13 +00:00
lukem
049da32c75
* add functionality to `force password change at next login'. to use,
...
set the pw_change field of the user to -1 (defined in <pwd.h> as
_PASSWORD_CHGNOW). based on [bin/936] by Simon Gerraty <sjg@quick.com.au>
* clean up for WARNS?=1
1997-08-16 13:50:43 +00:00
fair
80b4ae52e8
fix PR#3278, add some other dates taken from historical sources available on the web
1997-08-14 11:28:07 +00:00
mikel
7b94178928
include <unistd.h> for prototypes and cleanup unused variables; from
...
Enami Tsugutomo in PR bin/3972.
while I'm here, sort #includes according to KNF.
1997-08-12 06:07:23 +00:00
fair
7493d7febf
add shlock
1997-08-10 04:10:27 +00:00
hannken
dd99907a60
Get rid of compiler warning:
...
`warning: `cmp' might be used uninitialized in this function'.
1997-08-08 11:08:10 +00:00
fair
611f2c3b46
program to make lock files for shell scripts
1997-08-06 00:38:11 +00:00
jeremy
ebf4cbfe8e
Major re-write.
...
Resolves some outstanding ambiguities and documents the tolerances of uuencode
and uudecode. [PR/3268]
1997-08-03 08:51:33 +00:00
perry
88a54d8a99
1) RCSid police
...
2) Add __RCSIDs where apropriate.
3) WARNS=1, and clean up sources for WARNS=1 (including replacement of
a mktemp with a mkstemp even though it was probably safe...)
4) Some other small cosmetic changes
1997-08-02 21:30:05 +00:00
perry
7de054cd87
add crunch, and re-sort/format SUBDIR
1997-08-02 20:39:48 +00:00
mikel
c106897e5e
add 'atalk' to list of arguments recognized by -f, minor cleanup
1997-08-01 05:03:14 +00:00
mikel
e578379504
minor cleanup
1997-08-01 04:37:36 +00:00
mikel
19dd0c6f4e
set WARNS?=1
1997-08-01 04:33:03 +00:00
mikel
2c00d4fdb3
make exit codes match manpage
...
use <sys/cdefs.h> __COPYRIGHT and __RCSID macros, prototype main()
1997-08-01 04:32:44 +00:00
mikel
fdf1615bca
fix typo
1997-08-01 04:31:04 +00:00
phil
27984d173e
Set appropiate flag when wanting to skip a patch. Fixes only true
...
bug reported in PR 2215.
1997-07-29 19:49:35 +00:00
augustss
f18d1df87b
Modernize for new audio features.
1997-07-27 01:28:04 +00:00
perry
9f1056ccbf
Major modernization.
...
1) register variables have been killed, except for the ones in the
generated skeleton (which should probably also be killed soon).
2) __P(())ified prototypes for all functions.
3) new style __RCSID's, and #include <sys/cdefs.h>'s.
4) all warnings generated with WARNS=1 (i.e. all warnings you get from
gcc with -Wall -Wstrict-prototypes -Wmissing-prototypes) have been
fixed, although not always in the best possible way.
in particular on #4 , in a couple of places I got "control reaches end
of non-void function" errors, and sadly __dead doesn't seem to really
work, so I inserted a couple of exit() calls in strategic
places. These should be nuked if someone can get __dead to Do The
Right Thing.
There were also a couple of places where "while (foo = bar)" things
cropped up and I didn't do the best conceivable thing, but I usually
did.
These fixes should probably go back to the byacc maintainers.
1997-07-25 16:46:27 +00:00
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
mikel
830d7a544f
xref mknod(8) not nonexistent mknod(1), sort xrefs
1997-07-16 04:42:32 +00:00
mark
68401510be
Fixed recognition of NetBSD/arm32 shared libraries and dynamically
...
linked executables.
1997-07-16 02:50:45 +00:00
mark
cdc0d0bd29
Build fdformat on arm32 systems.
1997-07-16 02:43:35 +00:00