Commit Graph

2258 Commits

Author SHA1 Message Date
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