gwr
b99b7ecf12
Fix some warnings, and cosmetic things (spaces/tabs, etc.)
1996-10-09 18:07:14 +00:00
christos
dc089e1ea1
Add -X flag, which strips only debugging and compiler identification
...
symbols. RCSid police and gcc -Wall cleanup.
1996-10-08 22:00:18 +00:00
cgd
9c646fddb7
Don't treat a char buffer like a structure since alignment constraints can
...
make that fail on some machines. Rather, since the code wants to access
the data both ways, use a structure and treat that structure as an array
of chars where appropriate.
1996-10-08 15:50:53 +00:00
explorer
3f3e868348
use %lu, not %u. This covers more than my original %d -> %u change...
1996-10-08 01:18:10 +00:00
explorer
3d7986bab5
Netstat -s should use %u for u_long parameters... Closes bin/2817 by me
1996-10-07 18:42:25 +00:00
cgd
d703de28b2
include stdlib.h to bring malloc()'s prototype into scope.
1996-10-06 18:27:25 +00:00
christos
1b1e1884b3
Changes from file-3.21
1996-10-05 20:20:24 +00:00
cgd
6964f6b023
treat arrays used with XDR_INLINE as arrays of 'int32_t's, rather than
...
arrays of 'long's.
1996-10-01 04:13:53 +00:00
jonathan
0506626d5f
Fix Makefile boilerplate:
...
Use elfstrip to strip itself only in elfstrip, not elf2aout or elf2ecoff.
1996-09-29 22:23:01 +00:00
jonathan
559daf5070
Add RCS id lines to Ted Lemon's original code.
...
Update elf2ecoff to compile against NetBSD-1.2 distribtion ECOFF headers.
1996-09-29 22:01:44 +00:00
jonathan
fb8fff0110
Commit minimal Makefiles and man pages for ELf toolchain utilties
...
elf2aout, elf2ecoff, elfstrip
1996-09-29 21:53:11 +00:00
jonathan
55e1f3d7f3
Import Ted Lemon's ELF toolchain utilties used to build kernels
...
for the pmax port in NetBSD 1.1 and 1.2.
1996-09-29 21:48:29 +00:00
thorpej
93f0bfac6d
Grok local timezone when determining "today".
...
From Tatoku Ogaito <tacha@tera.fukui-med.ac.jp>, PR #2534 .
1996-09-27 03:32:07 +00:00
thorpej
d6430a5271
Document the -l option.
...
From Dave Huang <khym@bga.com>, PR #2601 .
1996-09-27 02:49:50 +00:00
thorpej
dff3ccad44
Fix extra "make:" and newline in error message.
...
From enami tsugutomo <enami@ba2.so-net.or.jp>, PR #2651 .
1996-09-27 02:36:58 +00:00
thorpej
1d4301453f
RCS id police.
1996-09-27 01:56:55 +00:00
thorpej
e8e306239b
Correct behavior of setting number of saves to 0.
...
From Kenneth Stailey <kstailey@dol-esa.gov>, PR #2724 .
1996-09-27 01:55:26 +00:00
thorpej
19f013a504
RCS id police.
1996-09-27 01:46:08 +00:00
thorpej
13a88ddb50
Correct time display for 12:xx case.
...
From Dave Huang <khym@bga.com>, PR #2734 .
1996-09-27 01:44:58 +00:00
thorpej
f549601f76
Back out previous. Please beat me about the head and shoulders with
...
a large stick if I ever attempt to touch file(1) again.
1996-09-26 19:51:28 +00:00
thorpej
c535ad0cdc
Move the definition of MSB (in byte 5) to sit next to the other definitions
...
for byte 5 values... No functional change, just adds some clarity.
1996-09-26 19:37:15 +00:00
jtc
a4eaf78058
Added a "-l" flag so that it is possible to distinguish between weak
...
and global symbols. When this flag is used, an asterisk is printed
after the key letter for weak symbols.
Prior art for this flag comes from Solaris.
1996-09-21 00:34:35 +00:00
thorpej
a500813c14
RCS id police.
1996-09-19 19:39:36 +00:00
thorpej
29cf09f47a
RCS id police.
1996-09-19 06:27:04 +00:00
thorpej
0b02f897d7
Decode long (GNU-style) options. Changes originally from Niklas Hallqvist,
...
but modified some by me.
1996-09-19 06:10:02 +00:00
explorer
e1fa4673e0
Don't display skey error on s/key logins... This gives attackers some
...
information
1996-09-18 21:23:37 +00:00
christos
453e90716c
- Fix bug where the first line after a conditionally skipped was not ready
...
in its entirety if it contained a continuation.
- Print the whole error line, not just the first 20 characters of it.
1996-09-13 04:22:09 +00:00
thorpej
65f3b15dc2
When iterating the host list, do not access memory that has just been
...
free()'d. From Matt Beal <beal@umiacs.umd.edu>, PR #2747 .
1996-09-10 18:48:57 +00:00
thorpej
ec67ea7102
When checking the entry point of an executable, use N_PAGSIZ() rather
...
than __LDPGSZ directly.
1996-09-07 22:07:15 +00:00
explorer
d3a4eeb1fe
Fix some potential buffer overflow problems.
...
From David Holland <dholland@hcs.harvard.edu>
1996-09-07 21:05:37 +00:00
christos
bb97544b1b
Fix bug reported by Greg Hudson where leaf (source only) nodes were
...
referenced only by their basename and not by their full pathname. This
breaks when .PATH or MAKEOBJDIR are used. There might be Makefiles around
that try to work around this bug by prepending ${.CURDIR} to the sources,
and they should be found and fixed. Also a lot of the gunk in suff.c that
was attempting to work around the same problem could be removed.
1996-08-30 23:21:10 +00:00
thorpej
bbb4184355
Tidy up some RCS ids a bit.
1996-08-30 17:59:37 +00:00
abrown
091ed31b08
Add missing braces to for-loop to make compress work again after changes
...
between versions 1.9 and 1.10 (dumped core when not used as a filter).
1996-08-20 18:24:46 +00:00
christos
091b5c0118
Add estrdup(), a checked version of strdup and use it.
1996-08-13 16:42:00 +00:00
christos
22770fe8ea
Add strdup() since ultrix is missing it.
...
From Larry Schwimmer <rosebud@cyclone.Stanford.EDU>
1996-08-13 16:41:15 +00:00
christos
ba78477e9d
Various cleanups from: Larry Schwimmer <rosebud@cyclone.Stanford.EDU>
1996-08-13 16:40:31 +00:00
christos
1bc899a1ff
Protect __P from being multiply defined (for systems that already define it)
1996-08-13 16:39:30 +00:00
explorer
d54b3d99f1
call regfree() -- closes pr bin/2691.
...
Bug noticed and fixed by Charles Amos <amos@umiacs.umd.edu>
Submitted by Mike Grupenhoff
1996-08-13 03:24:18 +00:00
explorer
661c82521c
clear the screen at the correct time to avoid leaving garbage on the screen.
...
This happens when switching from address to :numbers display.
From FreeBSD pr bin/1425.
1996-08-11 04:19:16 +00:00
explorer
1350e82a8f
remove nlist lookup of _dk_*
1996-08-11 04:16:28 +00:00
explorer
186c10db45
fix pr bin/2659 in a different way
1996-08-10 19:47:32 +00:00
thorpej
51956e9393
Slight semantics change: ALWAYS use YP if the system is bound to a
...
YP server. This is required if the passwd database is to stay in sync
if this program is run on the YP server. Note, local passwd database
operations can still be performed by passing the -l flag.
1996-08-09 09:22:11 +00:00
thorpej
27643ee095
Slight semantics change: ALWAYS use YP if the system is bound to a
...
YP server. This is required if the passwd database is to stay in sync
if this program is run on the YP server. Note, local passwd database
operations can still be performed by passing the -l flag.
Also, some minor cleanup and RCS id police.
1996-08-09 09:19:33 +00:00
mycroft
916902678d
Remove straggling references to dk_ndrive and dk_xfer.
1996-08-08 04:11:27 +00:00
explorer
00933138c8
Allocate space for 'ipcs -m' correctly; this floated across a FreeBSD
...
mailing list, and seems correct
1996-07-19 23:58:33 +00:00
thorpej
3aab4f7d4f
RCS id police.
1996-07-12 00:46:18 +00:00
thorpej
cf0afdf885
From Christos: kill the last bits of sprintf(), and use regcomp/regexec
...
rather than re_comp/re_exec. (I committed my sprintf sweep-up before
I realized that Christos had already done it...)
1996-07-12 00:38:50 +00:00
thorpej
336eeb5f1c
Use snprintf() whenever feasible.
1996-07-12 00:06:32 +00:00
thorpej
145e30f8dd
Fix typo/thinko in last change: an occurrence of "while" should have
...
been a "for".
1996-07-03 23:17:51 +00:00
mrg
a2c61dd4d4
fix lossage caused by compress' usage of /dev/stdout and /dev/stdin
...
combined with the (broken?) versions of these files provided with
the fdesc mount. fixes PR#774 & PR#957.
1996-06-30 12:41:44 +00:00
christos
ca282f350d
Fix minor nits that prevented this to compile with a non ansi compiler.
1996-06-28 17:07:39 +00:00
mrg
779746748d
KNF.
1996-06-23 11:21:48 +00:00
mrg
00333c9e38
fix incorrect (dated?) comment.
1996-06-23 11:16:39 +00:00
mrg
c7ac10f4db
Deal with the case where `$TERM/<baudrate>' exceeds 1024 chars.
1996-06-23 11:09:32 +00:00
mrg
c9e514192e
look for USD.doc in the right place.
1996-06-23 05:59:51 +00:00
mrg
adc186a9c0
delete this file ONCE MORE. SIGH!
1996-06-23 05:51:30 +00:00
mrg
922d5cf939
delete these files ONCE MORE. SIGH!
1996-06-23 05:48:55 +00:00
mrg
62d4acd78d
snprintf() adds the last nul for us
1996-06-19 08:17:49 +00:00
mrg
08847f7836
use strncat/snprintf
1996-06-19 06:02:24 +00:00
cgd
418b1071e0
include bsd.own.mk at the top, so checks of EXPORTABLE_SYSTEM work as
...
intended.
1996-06-14 17:22:05 +00:00
christos
d89b74b288
Fix PR/2546: For non canonical input processing set VMIN=1,VTIME=0. Otherwise
...
things might not work if these are not set properly in the
current tty.
1996-06-13 19:59:31 +00:00
mrg
050b6cd211
pull in core-dump fix from bostic (part of nvi 1.67)
1996-06-10 12:39:47 +00:00
mrg
2a28f67a41
make "ex -s" work. massaged by bostic from pr#2518
1996-06-10 12:37:00 +00:00
mrg
19b430625c
fix bug in wrapsearch/command line args. from bostic.
1996-06-10 12:28:53 +00:00
jtk
bfd87b38e4
merge fix from 1.2 branch: pr#2438 on tn3270/libtelnet build fixes for domestic libtelnet
1996-06-09 16:09:56 +00:00
christos
88b833a7cd
- Fix PR/105: Implement dot locking protocol and check return value of flock.
...
- Fix PR/2247: Don't call unknown users "ubluit". Issue an error message.
- Fix/add prototypes.
- Fix warnings.
- Use POSIX signal mask calls.
- RCSid police.
1996-06-08 19:48:09 +00:00
thorpej
5db2537ade
Fix missing `)' in the sideways view of interfaces (i.e. netstat -w 1).
...
Bug pointed out by Chris G. Demetriou.
1996-06-07 21:43:26 +00:00
thorpej
8baabb16e5
RCS id police.
1996-06-07 01:39:10 +00:00
thorpej
2a295146f3
Discard setgid privileges if not reading the running kernel as suggested
...
by Mike Grupenhoff <ashmir@umiacs.umd.edu> in PR #2485 .
1996-06-07 01:36:39 +00:00
thorpej
cb237a9633
Discard setgid privileges if not reading the running kernel as suggested
...
by Mike Grupenhoff <kashmir@umiacs.umd.edu> in PR #2485 .
While I'm here, update for modern libkvm interfaces, and be more
careful to check for error conditions reported by kvm_read(3).
1996-06-07 01:26:38 +00:00
cgd
cbeadd1248
the kernel 'boottime' variable is a timeval. copy it out of kernel
...
memory as such (not as a time_t).
1996-06-05 00:18:58 +00:00
cgd
207dfda94d
bump MAXIF (the maximum number of interfaces for which information is kept,
...
for 'netstat -w <delay>') to 100, from 10. 10 was definitely not sufficient
for many hosts; 100 should be for most if not all. This code really should
dynamically allocate the information structures, based on the number of
interfaces in the kernel, account for interfaces that are added or removed,
etc., but given its current structure that would require substantial changes.
1996-06-04 20:22:23 +00:00
cgd
525c9d6e37
if doing 'netstat -I <intf> -w <delay>', and netstat can't find an
...
interface of the given name, print an error message and exit.
This whole section of code needs to be re-thought, if interfaces
can be dynamically added or removed.
1996-06-04 20:09:03 +00:00
christos
15d37e3539
Recognize SVR4 style long filename entries in archives.
1996-06-02 21:09:33 +00:00
mrg
988867d90a
we use /usr/sbin/sendmail
1996-06-02 04:53:40 +00:00
mrg
60b63d67e8
we do not want generated files.
1996-06-02 04:46:12 +00:00
mrg
89b7050608
oops, forgot to remove this.
1996-06-02 04:41:52 +00:00
thorpej
7a26f6a8ac
Pull down yp/xdr fixes from release branch.
1996-05-29 20:00:52 +00:00
christos
62be8b7e25
Fix bug where make will always exit with 0, even when one or more parallel
...
jobs failed. (Only affects parallel make code)
1996-05-29 15:28:05 +00:00
christos
5c1983c016
- Move -D flags from Makefile to config.h and explain what they do. Add
...
-Wall -Wno-unused to CFLAGS. Add new define SYSVVARSUB to enable SysV
style variable substitutions and enable them.
- Add SunOS style command substitutions via SUNSHCMD
- Fix core dump with '{variable = value'
1996-05-28 23:34:35 +00:00
pk
9ea738a4b4
Install `catalog' files into ${DESTDIR}.
1996-05-26 22:57:49 +00:00
mycroft
445ad1968f
Make this work again.
1996-05-24 11:57:16 +00:00
mrg
e8f046f42e
patch from keith; fixes a core dump.
1996-05-21 22:52:06 +00:00
mrg
6b86dc1440
use == not =. pr#2449 (aaron)
1996-05-21 22:07:04 +00:00
mrg
4b88cc7b60
add support for whiteouts. pr#2394 (Mike Long <mike.long@analog.com>)
1996-05-21 13:43:50 +00:00
mrg
0272dd3aaf
print 1day not 1days. pr#2259
1996-05-21 13:21:07 +00:00
mrg
bd664fdbdb
in recvf() initialise the fd to -1 so that we can not close it later
...
if it was never used (for e.g., with symlinks). pr#1822.
1996-05-21 12:11:54 +00:00
mrg
cb6b56f884
oops, this got missed in the import somehow.
1996-05-20 18:45:49 +00:00
mrg
095b103c63
these files are either deleted (in nvi) or not necessary
1996-05-20 09:02:48 +00:00
mrg
aa26de9899
disable mmap().
1996-05-20 06:23:31 +00:00
mrg
c5a3d99868
don't need these.
1996-05-20 05:25:19 +00:00
mrg
7195e9a699
don't create /usr/share/vi/catalog here
1996-05-20 05:01:36 +00:00
cgd
90d6b3a054
a better (more careful) fix for problem fixed by rev 1.9 (the
...
rolled-forward patch to fix a 'comparison can never be true due to
limited range...' compiler warning).
1996-05-20 04:49:48 +00:00
mrg
3c0a0f8698
merge in fix lost in upgrade.
1996-05-20 04:31:56 +00:00
mrg
12cc64d022
merge in nvi 1.66
1996-05-20 03:47:00 +00:00
mrg
490196e2bb
import of nvi 1.66
1996-05-20 02:01:36 +00:00
mrg
a6b8efa9e3
import of nvi 1.66
1996-05-20 02:00:50 +00:00
mrg
9113251c61
import of nvi 1.66
1996-05-20 01:53:18 +00:00
jtc
01120f4477
Updated to use <util.h>.
...
From Greg Hudson <ghudson@MIT.EDU>.
1996-05-15 23:46:50 +00:00
jtc
370990b210
Updated to use new password file functions in libutil.
...
From Greg Hudson <ghudson@MIT.EDU>.
1996-05-15 21:50:39 +00:00
jtc
8abc97cf05
New message catalog compiler implementation that generates a more
...
efficient machine independent external format. The new format is
like what is used on svr4 systems, except it uses fixed sized
fields and a constant byte order.
1996-05-13 23:22:02 +00:00
christos
f0f4eea0fd
Decode unknown ioctl commands to _IO{R,W,}('c',x[,y]), instead of 0xabcdef00
1996-05-13 21:12:25 +00:00
thorpej
b2fd6338ed
RCS id police.
1996-05-13 02:43:35 +00:00
mycroft
0b70b24514
Avoid spewing if there is no MFC.
1996-05-11 13:51:27 +00:00
thorpej
1eaf5ee379
New userland code to read the statistics kept by the NetBSD generic
...
disk framework, from John M. Vinopal <banshee@gabriella.resort.com>
1996-05-10 23:16:30 +00:00
pk
de62b93008
Document one more option.
1996-05-09 23:21:50 +00:00
pk
6419f7602d
Fix a bunch of bugs:
...
- avoid divide-by-zero trap when specifying small widths
- do not overrun entry array when printing output tables
- cleanup storage allocation for entries
- use err/warn etc.
1996-05-09 23:20:37 +00:00
mark
2754bf6ea9
Use an integer instead of a char with getc() and ungetc() in mf_fgets()
...
so that it works with compilers that default to unsigned chars
Note: getc() and ungetc() are prototyped to use ints rather than
chars.
1996-05-08 21:36:05 +00:00
jtc
273e6cc624
Include appropriate header files to bring prototypes into scope.
...
Removed explicit errno declarations.
1996-05-07 18:32:22 +00:00
jtc
4a22fd1c39
Changed so that the default yp domain is not retrieved when a domain is
...
specified on the command line with the -d option.
1996-05-07 18:27:46 +00:00
thorpej
527565ac15
Kill a couple of unnecessary calls to strlen().
1996-05-07 05:26:02 +00:00
thorpej
22afdc2c33
Update for the changes to struct ifnet. While I'm here, fix a couple
...
of long-standing bugs:
- Actually deal with the fact that the kernel ifnet list is
a TAILQ; it just happened to work before.
- Use kvm_openfiles() instead of kvm_open(). The code passed
arguments to kvm_open() as if it were kvm_openfiles(), but
apparently went unnoticed since the prototypes are the same.
Amusing bit: there were XXX's in the code which seemed to
apologize for a verbose libkvm, when it happened to be a
bug in netstat!
1996-05-07 02:55:00 +00:00
jtc
16bd82bcf3
Changed to return non-zero when a key is not matched.
...
This is a non-documented behavior of traditional ypmatch.
1996-05-07 01:24:52 +00:00
jtc
f5b6798f9a
Changed to print a colon after the key when -k option is specified.
...
This is the behavior of the traditional ypmatch utility.
1996-05-07 00:44:20 +00:00
pk
a5d6cd101b
Fence off NULL args in getcmd() (fixes/works around PR#824).
1996-05-07 00:16:55 +00:00
is
d3eda4d607
Patterns for OS9 and OS9/68k modules.
1996-05-06 18:24:01 +00:00
mhitch
8082a458ec
Change -N and -M option string to specify the options have an argument.
...
Fixes PR#2374.
1996-05-05 19:12:03 +00:00
pk
a1edfa1874
Apply `topdir' prefix to relative paths in `special srcdir <prog> <path>'
...
lines.
1996-05-04 14:37:23 +00:00
cgd
d0ec1c6b6f
fix usage message, clean up RPC error printing.
1996-05-01 18:14:10 +00:00
jtc
0791e398aa
Move invariant (!notrans) out of map alias loop
1996-04-30 22:50:53 +00:00
jtc
68ffd31858
Use 'includes' instead of 'afterinstall' target to install headers
1996-04-25 01:23:37 +00:00
ragge
ae3f8c2815
Updated to work correctly, pointed out by Tom Ivar Helbekkmo.
1996-04-20 14:56:37 +00:00
jtc
9faba78d91
Update copyright notices, this has been assigned to the NetBSD Foundation.
...
Fix bug where err() was called instead of errx().
1996-04-20 01:15:12 +00:00
jtc
68a63eb204
Use errx() instead of err() to report failure of kvm_getprocs() call,
...
as errno doesn't have a meaningful value in this case. Reported by
Mike Grupenhoff <kashmir@umiacs.umd.edu> in PR #2289 .
1996-04-08 21:32:05 +00:00
jtc
7423e425f2
Changed to use 1900 + tm_year instead of hardcoding "19" as the century.
...
From PR #2308 by Stephen J. Roznowski <sjr@zombie.ncsc.mil>.
This change is not strictly necessary, as these files are only used to
test yacc. But I could not think of any compelling reason not to make
these change when everything else in the source tree was updated.
1996-04-08 19:10:47 +00:00
jtc
cf957d3a75
Changed to use 1900 + tm_year instead of hardcoding "19" as the century.
...
From PR #2308 by Stephen J. Roznowski <sjr@zombie.ncsc.mil>.
1996-04-08 18:57:49 +00:00
thorpej
69aab31531
RCS Id police.
1996-04-06 06:00:58 +00:00
cgd
acf9d62a7b
update for the fact that 'allevents' is now a TAILQ.
1996-04-04 00:27:50 +00:00
mark
e184b31e47
Include arm32.h when required.
1996-04-01 21:54:06 +00:00
mark
9384681ff5
Initial commit of the machine dependant gprof files for the arm32 port.
1996-04-01 21:51:22 +00:00
mark
dad2775914
Define PTRDIFF_IS_LONG and SIZEOF_IS_ULONG for the arm32 port.
1996-04-01 21:47:57 +00:00
mark
6acb166069
Provide a read_names() function for the arm32 port.
1996-04-01 21:45:25 +00:00
mark
d786999078
Use an integer instead of a char to store the getopt() return value in
...
order to match the function prototype and to work with compilers that
default to unsigned chars.
Compare the getopt() return value with -1 instead of EOF.
1996-04-01 21:43:53 +00:00
mark
f8fcb56bce
Use an integer instead of a char to store the getopt() return value in
...
order to match the function prototype and to work with compilers that
default to unsigned chars.
Compare the getopt() return value with -1 instead of EOF.
1996-04-01 21:31:33 +00:00
mark
57472e9fbc
Added information about NetBSD/arm32 executables.
1996-04-01 21:29:51 +00:00
christos
c7f6ddc626
make emalloc and erealloc return void *; closes PR/2276
1996-03-31 21:30:05 +00:00
jtc
fea2f4c4ca
Added erealloc() function that calls enomem() if the allocation fails
...
(this is like the existing emalloc() function). Changed all realloc()
calls to erealloc().
1996-03-29 02:17:13 +00:00
mrg
65e7d88ab1
cast realloc() calls to shutup c++ warnings
1996-03-25 00:36:18 +00:00
jtk
d03349ad69
sync up with domestic fixes
1996-03-24 22:03:48 +00:00
jtc
cac62b2d65
Be pedantic, main() returns int in C.
1996-03-21 17:56:15 +00:00
tls
da9420b27e
Add FreeBSD object files; close out pr#1719
1996-03-20 08:20:21 +00:00
jtc
62bdd99390
Sync with 4.4lite2
1996-03-19 03:21:27 +00:00
jtc
e758ad3dac
imported from 44lite2
1996-03-19 02:06:46 +00:00
jtc
8f3d20ea80
Added `extern "C"' to getenv() declaration when compiling with C++.
1996-03-19 01:59:27 +00:00
jtc
e6ec329595
Fix typo. From Masanobu Saitoh in PR #2197 .
1996-03-18 23:16:57 +00:00
ragge
d05395713d
Removed a couple of #ifdef vax causing systat to malfunction.
1996-03-15 22:19:23 +00:00
christos
0acf990595
Add PHONY attribute and target. This is the first step to cleanup the
...
xinstall and xlint crud.
1996-03-15 21:52:32 +00:00
christos
6750270dc6
data and date aren't the same...
1996-03-12 18:04:27 +00:00
mrg
3bf34254eb
fix stdin-missing-paren-in-prompt bug. pr#2158 from enami tsugutomo
1996-03-12 05:15:24 +00:00
christos
57cad0d107
Jonathan Stone's fixes:
...
main.c: Remove double include of <sys/resource.h>; if MACHINE is defined, use
that instead of uname.
Makefile: Add util.c.
1996-03-11 13:45:31 +00:00
thorpej
ab5476b242
Only build exportable telnet/libtelnet if the domestic version doesn't
...
exist in the source tree or defined(EXPORTABLE_SYSTEM). This works around
the fact that telnet(1) will break during a "make build" because the
exportable libtelnet will get installed while the domestic telnet(1) binary
is still in place. (XXX)
1996-03-10 05:45:38 +00:00
jtc
95151c4196
unused file
1996-03-07 06:52:51 +00:00
christos
9779dee0b1
Fix PR/2118; apply sysincludes patch.
1996-03-06 00:15:17 +00:00
jtc
27cbf79a35
define YYLEX and YYEMPTY macros, as expected by some parsers written for bison
1996-03-05 01:07:55 +00:00
phil
e496287dfc
Add processing of "%expect num".
1996-03-05 00:33:19 +00:00
thorpej
c5f7cf3a9e
RCS id police.
1996-03-03 17:21:25 +00:00
mrg
aca9ab527c
do not complain about missing terminal attributes in more mode
1996-02-29 07:20:55 +00:00
mrg
9db49696aa
turn on -f (force open of non-regular files) in more mode.
1996-02-29 06:54:06 +00:00
thorpej
077a490a9f
RCS id cosmetics.
1996-02-28 21:03:49 +00:00
jtc
088d06a21e
use const qualifer for crctab
1996-02-27 21:29:53 +00:00
cgd
a0a5237453
what's the point of having prototypes if they're not actually _used_
...
in the appropriate places? include extern.h in these files, and fix
up the bugs that its inclusion uncovered.
1996-02-27 21:17:25 +00:00
jtk
bf9897158a
put back in a change I accidentally dropped from telnet.95.10.23
1996-02-24 20:02:02 +00:00
jtk
0058997e19
restore last of the lost local changes.
1996-02-24 18:43:37 +00:00
jtk
07f5d8ea64
replace another lost change: "help" is a valid hostname.
1996-02-24 18:33:50 +00:00
jtk
42a670f945
restore local change mistakenly overrun in import of 95.10.23
...
telnet--keep track of a client-side close and just turn off one
direction of the socket; keep running until server side closes down too.
1996-02-24 07:32:00 +00:00
jtk
583a8146a9
update to 95.10.23 version of telnet
...
also, RCS ID police
1996-02-24 01:18:25 +00:00
mrg
5aaba7ba7b
turn on -G in more mode (no search highlight). discovered by cgd
1996-02-21 00:39:16 +00:00
fvdl
beb0929ea8
Fix NFS include files; sync with Lite2
1996-02-20 16:04:47 +00:00
jtc
f2a05c8ae1
USE_OLD_TTY no longer needed
1996-02-20 00:14:43 +00:00
jtc
6f400e259c
made cmdtab const
1996-02-19 21:54:32 +00:00
pk
8f3621c4b6
Convey rpcgen's version into generated header files. This allows programs
...
to contain support for previous (and future) versions of rpcgen.
[ Note: the current version generates some function prototype templates
differently from rpcgen pre-dating June 1995.
]
1996-02-19 11:12:43 +00:00
fvdl
aa58cf9320
Bring in NFSv3 code by Rick Macklem (from Lite2).
1996-02-18 12:02:00 +00:00
christos
1b11cdf58d
if PR/2090, sysvinclude too optimistic, did not check for space after the
...
include keyword
1996-02-17 13:28:09 +00:00
cgd
faf2b8bb49
since we're going to use the mem*() functions, we need them prototyped
...
so that the return types work right on the Alpha.
1996-02-16 03:08:39 +00:00
tls
ebe345eab2
I seem to have forgotten to commit the patch in PR1608 when I closed it. Fix VLNEXT handling.
1996-02-15 00:59:16 +00:00
ghudson
bd8bd7340f
Don't rely on select() not to modify the timeval argument. Also,
...
simplify the code by passing in NULL rather than an empty fd_set to
indicate no file descriptors.
1996-02-13 16:49:10 +00:00
mycroft
b4a40b06a9
Make ww_index and related variables explicitly unsigned.
1996-02-08 21:48:51 +00:00
mycroft
c5f36c1ce7
Compress struct ww somewhat.
1996-02-08 21:07:57 +00:00
mycroft
486a2f1ade
Minor cleanup for 8-bit cleanliness. From der Mouse, PR 1322.
...
Eliminate the use of char variables for holding booleans.
1996-02-08 20:44:57 +00:00
mycroft
1a97a35609
Fix off-by-one error in checking field numbers. From der Mouse, PR 1356.
1996-02-08 18:24:16 +00:00
thorpej
fb02474c1f
In ParseDoInclude(), make a temporary copy of the current file name
...
while searching for ""-type include files, since the current file name
might not be a writeable string.
1996-02-07 23:04:04 +00:00
christos
8862d696fa
fix pr/1421 and pr/1997
1996-02-04 22:20:27 +00:00
christos
b941a324f5
Support SVR4 style archives.
1996-02-04 20:34:41 +00:00
mrg
dc8adb9e7c
don't warn about missing files with -s. POSIX doesn't define a specific
...
action, and, most other implimentations use this (sane) method. (from jtc).
1996-02-01 03:32:41 +00:00
jtc
0366d49b2d
Fixed to use ffs instead of ufs; See PR #1790 , etc.
1996-02-01 02:33:52 +00:00
jtc
dd05bd5124
Rename struct timespec fields to conform to POSIX.1b
1996-02-01 00:04:52 +00:00
mycroft
d4b276c3d5
Update to match kernel.
1996-01-31 04:01:48 +00:00
thorpej
9ceb2e3fc2
Disks now share a common interface for "unlock" and "eject". Teach
...
eject(1) how to use it. There is now a single eject_disk() rather
than eject_floppy(), eject_cdrom(), etc.
1996-01-30 18:35:47 +00:00
mrg
b8842d3846
don't emit ti/te sequences where they will cause lossage
1996-01-22 20:36:07 +00:00
mrg
74c88ac929
alter description for -d to match reality
1996-01-22 20:36:02 +00:00
mrg
a6fe8f7e38
more is less.
...
less is more.
QED.
1996-01-22 10:08:31 +00:00
mrg
9b6032417d
finished implimentation of more's -d switch
1996-01-22 05:38:24 +00:00
mrg
0048551bc4
more -> less
1996-01-22 04:07:22 +00:00
mrg
b53f5a6212
initial import of less290
1996-01-22 03:14:17 +00:00
mycroft
4b28075484
Add a `-q' option, to be quiet about cycles. From der Mouse, PR 1204.
1996-01-17 20:37:49 +00:00
pk
ca1b8e8285
Add capability to read archives (from Thomas Eberhardt; PR#497).
1996-01-14 23:07:11 +00:00
pk
16060cce1f
Use err() & warn().
1996-01-14 23:04:03 +00:00
thorpej
b62a077e9a
Document the -follow option, per David Brownlee <abs@mono.city.ac.uk>
...
in PR #1113 .
1996-01-14 03:52:44 +00:00
pk
e09468dc31
Handle multichar comment and quote delimiters (up to 5 characters, per the
...
manual page). Takes care of PR#485.
1996-01-13 23:25:23 +00:00
pk
9151edd345
Fetch `-p' documentation from a previous version of the man page.
1996-01-09 22:36:19 +00:00
pk
94f289c7bb
Fix formatting of timestamp (Mike Grupenhoff; PR#1906).
1996-01-07 00:48:24 +00:00
tls
5a03ea3e48
contrary to unpopular opinion, 'help' is a perfectly valid hostname.
1996-01-05 04:19:30 +00:00
tls
a3e32ad737
and once more, courtesy of CVS being weird.
1996-01-04 22:32:15 +00:00
tls
e0dccd2ef1
oops, accidentally commited krb version on last change -- delete what isn't supposed to be there any more
1996-01-04 22:28:21 +00:00
tls
aaffe4da8f
typo in last commit
1996-01-04 22:25:50 +00:00
jtc
76450a80cf
merge in change accidently made to release branch
1996-01-04 18:25:47 +00:00
tls
f53c6669e7
fix incorrect prototypes for krb functions. I think some of the fixing is ultimately going to have to be done in the functions themselves again -- the Young libdes thinks some functions take *C_Block where the MIT one just takes C_Block.
1996-01-04 17:19:43 +00:00
thorpej
4e1c709e0c
Make tn3270 compile again, from Lennart Augustsson <augustss@cs.chalmers.se>
...
in PR #1873 .
1996-01-01 02:16:34 +00:00
jonathan
c82a4ed224
Update Makefiles for usr.bin/systat and usr.sbin/iostat to be
...
consistent with usr.bin/vmstat/Makefile wrt CLFAGS and -I, since
all three compile vmstat/names.c. (Now compiles on a pmax.)
1995-12-22 08:04:24 +00:00
mycroft
7c55315acb
We don't need non-blocking mode without SIGIO.
1995-12-21 11:05:58 +00:00
mycroft
0c627dfad5
Eliminate the use of SIGIO, and some other cleanup.
1995-12-21 10:45:28 +00:00
mycroft
02fedf5cab
Use POSIX signals. Always set FNONBLOCK on the tty.
1995-12-21 08:39:50 +00:00
mycroft
52b61da0eb
Our VMIN works fine.
1995-12-21 05:24:49 +00:00
jonathan
bdb182a2cc
Change xinstall to work with strip from GNU binutils, for mips and alpha ports.
...
When using a strip that uses a temp file and moves that to the target,
unlinking the original, install would set the modes of the
original (now unlinked) file, not the new stripped one.
Fixed by re-opening the fd used for fchown/chmod after stripping.
1995-12-20 10:25:17 +00:00
cgd
3beadd2412
don't forget to remove the _symbol_ temp file.
1995-12-20 04:45:11 +00:00
jonathan
3716ffd555
Use GNU-binutils friendly lorder script on mips as well as alpha.
1995-12-18 07:59:12 +00:00
jonathan
39890661ee
Eliminate separate invocation of nm for each .o file on command line.
...
Add check for dependencies introduced by symbol types 'G' (mips gp-relative
constant pool) and 'R' (readonly data).
1995-12-18 07:45:17 +00:00
jonathan
96d023c99d
Fix pmax read_names() to compile with updated (release 1.1) names for
...
pmax device-driver structures.
1995-12-17 05:30:05 +00:00
jonathan
9b69a8f7e5
Add PTRDIFF_IS_LONG and SIZEOF_IS_ULONG config entries for (32-bit) mips.
1995-12-17 02:53:11 +00:00
christos
f0874be2f5
- Added .WAIT to synchronize between sources like other pmake variants.
...
- Updated documentation to include .ORDER .PARALLEL .NO_PARALLEL .NONPARALLEL
1995-12-16 05:03:09 +00:00
cgd
ff5fc3cf84
delete bogus declaration of abort() and include stdlib.h, so that this
...
compiles w/o warning.
1995-12-11 23:22:09 +00:00
jtc
0076a482bb
fix typo
1995-12-05 03:33:39 +00:00
jtc
7439a63b22
Rename uuencode.format(5) to uuencode(5) as recommended by PR #1786
1995-12-05 03:02:31 +00:00
jtc
aa84d55d99
environmental -> environment
1995-12-05 02:55:55 +00:00
tls
fff3137419
this probably needs to be a syscall to work with our new core format, per pk
1995-12-04 09:57:13 +00:00
neil
b488cc87de
Added World AIDS Day. Which is today.
...
12/01 World AIDS Day
1995-12-01 09:42:09 +00:00
jtc
db5284ed0a
merge in changes from 1.1 release branch
1995-11-28 20:58:08 +00:00
cgd
0cfde2b269
add -Dunix to CFLAGS
1995-11-22 21:52:48 +00:00
christos
6611cb1d0d
Updates for POSIX/SVR4 compiling:
...
arch.c: Don't require ranlib stuff. Not everybody has it.
dir.c: SunOS-4 != Solaris; change #ifdef sun to #if sun && !__svr4__
job.c, compat.c: Don't use 'union wait', use int and the W*() macros.
main.c: Check for uname() == -1; some unames return > 0...
util.c, job.c: Add signal() with BSD semantics for svr4, don't use bsd
sigmask and friends.
1995-11-22 17:39:53 +00:00
cgd
738ad05ece
fix parallel build changes: at minimum, tools also needs to be
...
included in subdir list if making 'obj' or 'lint'. I don't particularly
trust this way of adding things; !make(install) was much more obvious,
and safer in the face of addition of new build targets.
1995-11-22 05:38:58 +00:00
jtc
c13a492707
Describe PROFDIR environment variable
1995-11-21 22:24:55 +00:00
thorpej
f90cf6bd46
New-style RCS id.
1995-11-17 09:49:19 +00:00
thorpej
884264fa45
Resolve CVS conflicts that appeared in a comment, and thus went unnoticed.
...
Pointed out to me by Niklas, who heard about it from Theo.
1995-11-15 16:11:17 +00:00
cgd
e3c5125de9
pull in make.h. (PAlloc() now uses emalloc(), which is prototyped in
...
make.h. If the prototype is not in scope on the Alpha, I see lots
of "cast to pointer from integer of different size" warnings.)
1995-11-10 21:27:27 +00:00
christos
027abce852
- Turn compat mode on by default. It gets turned off when the -j without
...
the -B flag is specified. [Thus you can use -j 1 to turn it off].
- Fix malloc -> emalloc as Gordon noted.
1995-11-08 02:30:53 +00:00
pk
3ff316b75a
sparc support.
1995-11-05 18:02:58 +00:00
christos
61067003d8
Minor:
...
- ${.PREFIX} should never contain a full pathname
- Fixed gcc -Wall warnings
Major:
- compatMake is now FALSE. This means that we are now running in
full pmake mode:
* rules on dependency lines can be executed in parallel and or
out of sequence:
foo: bar baz
can fire the rule for baz before the rule for bar is fired.
To enforce bar to be fired before baz, another rule needs to be
added. [bar: baz]
* adjacent shell commands in a target are now executed by a single
invocation of the shell, not one invocation of the shell per line
(compatMake can be turned off using the -B flag)
- The -j flag now works... I.e. make -j 4 will fork up to four jobs in
parallel when it can. The target name is printed before each burst
of output caused by the target execution as '--- target ---', when j > 1
- I have changed all the Makefiles so that they work with make -j N, and
I have tested the whole netbsd by:
'make -j 4 cleandir; make -j 4 depend; make -j 4; make -j 4 install'
- I have not compiled or tested this version of make with -DREMOTE.
1995-11-02 23:54:35 +00:00
pk
577cacfbd8
Make more 8-bit clean (from Andreas Gustafsson; PR#1190).
1995-11-01 00:45:22 +00:00
ws
337d0ee3b1
Always ensure space for trailing NULL in argv
1995-10-30 17:36:27 +00:00
pk
258108ce0f
Convert to termios (from Scott Reynolds; PR#1621).
...
8-bit patches (from Matthieu Herrb; PR#1384).
1995-10-29 00:49:38 +00:00
christos
b2b8843794
Update to file-3.19.
...
- Magic fixes
- MAGIC environment variable processing
- Better LEGAL.NOTICE
- -m magic : separated list of magic files processing
1995-10-27 23:33:14 +00:00
jpo
ee102f4854
don't rely on macros predefined by cpp
1995-10-23 14:29:30 +00:00
jpo
aa1bae17a4
updated
1995-10-23 13:45:31 +00:00
jpo
6df3d70406
use MB_LEN_MAX instead of MB_CUR_MAX for array declaration, because
...
MB_CUR_MAX may be a non-constant expression
1995-10-23 13:38:51 +00:00
pk
a95b89315d
fdeject -> eject.
1995-10-22 16:54:40 +00:00
pk
264a953bbb
Superseded by eject(1).
1995-10-22 16:50:55 +00:00
pk
764fa4b6ef
Download from `netbsd-1-1' branch.
1995-10-22 16:48:52 +00:00
ghudson
ca9d87a5e5
Display the ending time as well as the starting time of processes.
1995-10-22 01:43:40 +00:00
christos
5debbee36d
Makefile changes for parallel make support
1995-10-22 00:13:41 +00:00
jtc
fbd6724aad
Fix spelling error (Michael K. Sanders; PR #1617 )
1995-10-19 07:52:46 +00:00