Commit Graph

1130 Commits

Author SHA1 Message Date
Bruce Evans
311fae7c8a Recovered from -Wall cleanup in ss_internal.h. This depended on
ss_internal.h bogusly declaring things in <stdlib.h>.
1996-09-05 18:20:47 +00:00
Bruce Evans
1f36dc1f9e Finished adjustments for cleaning up declaration of zopen(). Moving the
declaration from <stdio.h> to "zopen.h" left it undeclared here.
1996-09-05 18:15:43 +00:00
Bruce Evans
5b963fa12e Fixed DPADD. 1996-09-05 17:16:10 +00:00
Bill Paul
de6669b2e2 Reset password change time to zero. (This has no effect with standard
RPC calls to rpc.yppasswdd, but when using the special superuser-only
AF_UNIX socket access method, the server will properly handle all the
additional fields, including pw_change.)

I would also like to take this opportunity to say that Sprint sucks.
1996-09-05 15:57:41 +00:00
John Polstra
2b45e3794c Make "file foo.core" print the program name properly again. 1996-09-05 15:55:57 +00:00
Peter Wemm
e547f8e83a Be more careful with mmap. If it fails, fall back to a plain compare or
copy.

Dont leave stray INS@xxxx temp files around, especially when installing
something less than 8MB and the destination runs out of space, etc.

It still doesn't clean up the temp files on SEGV or other signals etc.
1996-09-05 07:54:08 +00:00
Peter Wemm
8a4854e0f7 accidently removed the "dont compare > 8MB files hack".
didn't rewind the files after the read()s in the non-mmap compare.
1996-09-05 07:33:24 +00:00
Peter Wemm
7b7fc30379 Only attempt to mmap() files from a ufs or cd9660 fs for comparing or
installing.  mmap'ing stuff over a nfs mount took out my machine during
a 'make world' last night while I was asleep.  I started out with a list
of fs's to avoid, when I realised that I really didn't know which ones
were safe with mmap, so I went for the ones I knew and implemented a
fallback compare.
1996-09-05 07:27:43 +00:00
Bruce Evans
680b396b51 Removed unused `-I.'s from CFLAGS.
"." means the object directory, so it is just confusing to use it
when nothing is included from the object directory unless the object
directory is also the source directory.  It is confusing for "."
not to mean the source directory anyway, so used `-I.'s should be
replaced by `-I${.OBJDIR}'.
1996-09-04 22:25:35 +00:00
Bruce Evans
209eb93fec Removed fib. It was never used, and is unusable without libforms, which
has already gone away.
1996-09-03 14:30:09 +00:00
Peter Wemm
80396a110a Fix -Wall warning in skeleton parser 1996-09-03 10:56:32 +00:00
Joerg Wunsch
ec9b6b00a2 Make the yacc skeleton aware of C++. It was previously broken in the
YYDEBUG case (getenv() declared wrong).
1996-09-03 08:00:26 +00:00
Wolfram Schneider
0df7f79cbe Fix to work with obj directories: -I. -> -I${.CURDIR}
Submitted by: Bruce
1996-09-01 16:03:28 +00:00
Wolfram Schneider
dbaf42882f optimized search algorithm
faster IO due mmap(2) [-m | -s]
better error check for damaged databases
support for databases in network byte order (SunOS/sparc)
optional case insensitve search [-i]
optional multiple databases
optional multiple pattern
new enviroment variable LOCATE_PATH for database(s)
[-S] print some statistic about the database
[-l number] limit output to number file names
[-c] suppress normal output; instead print a count of matching file names
1996-08-31 23:14:54 +00:00
Jordan K. Hubbard
7ae26f1450 Allow proper ftp verbosity with a new -v flag. 1996-08-31 22:03:05 +00:00
Wolfram Schneider
1a1ee31f10 NULL -> '\0'
Submitted by: Bruce, see also c-faq 5.6 and 5.9
1996-08-31 14:51:18 +00:00
Bruce Evans
454f40052a Fixed a missing colon in `notyet' code. 1996-08-31 14:22:33 +00:00
Bruce Evans
274beb73fe Listed all the environment variables (MACHINE and PWD were missing).
Documented PWD.  MACHINE and MAKEOBJDIR are are still undocumented
except in main.c.  I will be changing MAKEOBJDIR back to its old
behaviour so that the comment in main.c actually applies.

Removed irrelevant misformatted text about make's name being argv[0].
1996-08-31 14:21:15 +00:00
Julian Elischer
a8d3784533 fix printing of netranges in the i and r displays for netatalk 1996-08-31 07:43:01 +00:00
Peter Wemm
98e01bb564 fix prototypes/forward declarations/return type
kill obsolete updatedb.csh, it's been rewritten in sh now.
1996-08-30 03:08:26 +00:00
Peter Wemm
a0e7cb0fad delete unused #include <string.h> 1996-08-30 03:06:15 +00:00
Peter Wemm
c6105ccefd Make the dependencies work a little better.. 1996-08-30 03:04:49 +00:00
Peter Wemm
fdbf3aa181 build bind-4.9.4-P1 dnsquery in it's own directory 1996-08-29 21:54:39 +00:00
Peter Wemm
2e8660d070 build bind-4.9.4-P1 host in it's own directory 1996-08-29 21:53:39 +00:00
Peter Wemm
9531e548b6 build bind-4.9.4-P1 dig in it's own directory 1996-08-29 21:51:42 +00:00
Wolfram Schneider
b8923d4cc0 [HISTORY] command appeared in Version 1 AT&T UNIX
Obtained from: A Quarter Century of UNIX, Peter H. Salus, page 41
1996-08-29 18:06:19 +00:00
Wolfram Schneider
5a80fb277e sync copyright with /usr/share/examples/etc/bsd-style-copyright 1996-08-27 20:04:45 +00:00
Adam David
44cf272f78 complete err() changes, actually use warn() in most instances 1996-08-26 20:37:48 +00:00
Peter Wemm
c3fd5728c2 Dont forget to #include <err.h> 1996-08-25 21:14:19 +00:00
Peter Wemm
ac5512704d Argh! caught! *blush*.. This program was supplying it's own 'err' routine
which was slightly different to the libc one.  To save any more cunfusion,
use the libc one.
1996-08-25 21:12:01 +00:00
Peter Wemm
0a6f6077af Fix some bogons:
- timeval in select loop was depending on not having the remaining time
  returned from select(), causing a busy spin on an implementation that
  does implement it.
- the err() usage was pretty bogus, some of the error messages had
  strerror attached manually and then reattached by err().
1996-08-25 21:03:50 +00:00
Alexander Langer
6361832ca8 Add synopsis for yppasswd. 1996-08-24 23:27:04 +00:00
Mike Pritchard
33d83c832e Change a stray reference to pstat to vmstat.
Pointed-out-by: bde
1996-08-24 16:12:53 +00:00
Peter Wemm
ca7e3117d4 Locate the text inode, closes PR#1070 1996-08-24 13:43:46 +00:00
Peter Wemm
1c17fc996d Quick attempt to decode DTYPE_PIPE files and print something meaningful
for them.  Otherwise, it does strange things when it hits one..
1996-08-24 08:01:29 +00:00
Peter Wemm
f2cfcae49f s/__unused/__sex_unused/ - this is simply a placeholder variable that
conflicts with what I added to cdefs.h a while ago.  I never noticed this
since I used nvi-1.71..
1996-08-24 03:49:14 +00:00
Mike Pritchard
1c1f145f2b Convert to mdoc format. 1996-08-23 21:40:59 +00:00
Mike Pritchard
c0b0bcf4d3 Use the .Bx macro where appropriate. 1996-08-23 20:36:11 +00:00
Poul-Henning Kamp
8d612dd2fc Try to make netstat more smart about port numbers.
Feedback most welcome.
1996-08-23 19:05:34 +00:00
Poul-Henning Kamp
b2420a13ab Fix a couple of file-descriptor leaks. 1996-08-23 09:33:32 +00:00
Jordan K. Hubbard
89fc51f330 Don't make -l warn when it's not used, so we can potentially set it
all the time if we want to use "link" behavior for file URLs (and not
have fetch whine at us when they're not).
1996-08-23 06:21:17 +00:00
Mike Pritchard
0f7785061e Use the .At macro where appropriate. 1996-08-23 01:06:24 +00:00
Mike Pritchard
85cf659a76 Use the .Fx macro where appropriate. 1996-08-23 00:57:08 +00:00
Jordan K. Hubbard
f0abcb4154 Print the correct thing when interrupted by a signal. 1996-08-22 23:25:24 +00:00
Jordan K. Hubbard
fc6fcbf9fc 1. Understand file:/path style URLs.
2. Add a -l flag for symlinking to rather than copying file:/path style URLs.
3. Add a -T flag for setting the timeout interval (overrides FTP_TIMEOUT if set)
1996-08-22 21:30:51 +00:00
Wolfram Schneider
7ec1929d53 code cleanup 1996-08-22 18:46:13 +00:00
Mike Pritchard
1ba266ef5e Add kzip(8) as supplied with PR# 1507, with some minor cleanup by me.
Submitted by:	 David E. O'Brien <obrien@nuxi.com>
1996-08-21 19:07:22 +00:00
Jordan K. Hubbard
608051dc0d Fix a small potential bogon I noticed here with restarts. 1996-08-21 01:27:25 +00:00
Wolfram Schneider
6127186d3c a header file for zopen.3
Pointed out by: Philippe Charnier <charnier@lirmm.fr>
1996-08-20 20:49:39 +00:00
Andrey A. Chernov
e132ded975 Fix non-break space attrs 1996-08-20 14:36:56 +00:00