Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/minoura-xpg4dl]: src Sync w/ netbsd-1-5-base.
details: https://anonhg.NetBSD.org/src/rev/adebdee8f797
branches: minoura-xpg4dl
changeset: 486687:adebdee8f797
user: minoura <minoura%NetBSD.org@localhost>
date: Thu Jun 22 14:57:40 2000 +0000
description:
Sync w/ netbsd-1-5-base.
diffstat:
Makefile | 12 +-
bin/csh/csh.c | 8 +-
bin/csh/csh.h | 10 +-
bin/csh/dol.c | 34 +-
bin/csh/err.c | 6 +-
bin/csh/file.c | 8 +-
bin/csh/func.c | 6 +-
bin/csh/glob.c | 10 +-
bin/csh/lex.c | 48 +-
bin/csh/set.c | 8 +-
bin/ed/Makefile | 10 +-
bin/ls/extern.h | 4 +-
bin/ls/ls.1 | 4 +-
bin/ls/ls.c | 6 +-
bin/ls/ls.h | 3 +-
bin/ls/print.c | 16 +-
bin/ls/util.c | 20 +-
bin/pax/file_subs.c | 7 +-
bin/pax/gen_subs.c | 8 +-
bin/ps/extern.h | 55 +-
bin/ps/keyword.c | 152 +++---
bin/ps/nlist.c | 42 +-
bin/ps/print.c | 588 ++++++++++++++++++++------
bin/ps/ps.c | 114 +++-
bin/ps/ps.h | 20 +-
bin/rcp/Makefile | 18 +-
libexec/Makefile | 10 +-
libexec/atrun/atrun.h | 14 +-
libexec/ftpd/Makefile | 25 +-
libexec/ftpd/cmds.c | 787 +++++++++++++++++++++++++++++++++++
libexec/ftpd/conf.c | 49 +-
libexec/ftpd/extern.h | 48 +-
libexec/ftpd/ftpcmd.y | 339 +++++---------
libexec/ftpd/ftpd.8 | 23 +-
libexec/ftpd/ftpd.c | 480 ++++++--------------
libexec/ftpd/ftpusers.5 | 21 +-
libexec/ftpd/version.h | 4 +-
libexec/hprop/Makefile | 40 +
libexec/hpropd/Makefile | 39 +
libexec/kadmind/Makefile | 42 +
libexec/kdc/Makefile | 47 ++
libexec/kfd/Makefile | 27 +
libexec/kpasswdd/Makefile | 35 +
libexec/ld.aout_so/arch/arm32/md.h | 3 +-
libexec/ld.aout_so/arch/i386/md.h | 3 +-
libexec/ld.aout_so/arch/m68k/md.h | 3 +-
libexec/ld.aout_so/arch/ns32k/md.h | 3 +-
libexec/ld.aout_so/arch/powerpc/md.h | 3 +-
libexec/ld.aout_so/arch/sparc/md.h | 3 +-
libexec/ld.aout_so/arch/vax/md.h | 3 +-
libexec/ld.elf_so/rtld.c | 20 +-
libexec/ld.elf_so/sysident.h | 18 +-
libexec/rlogind/rlogind.8 | 15 +-
libexec/rpc.rquotad/rquotad.c | 89 +--
libexec/rpc.rstatd/rstat_proc.c | 57 +-
libexec/rpc.rstatd/rstatd.c | 102 ++-
libexec/rpc.rusersd/rusers_proc.c | 52 +-
libexec/rpc.rusersd/rusersd.c | 77 +-
libexec/rpc.rwalld/rwalld.c | 100 ++--
libexec/rpc.sprayd/sprayd.c | 67 +-
libexec/rshd/rshd.8 | 15 +-
libexec/telnetd/Makefile | 20 +-
62 files changed, 2570 insertions(+), 1330 deletions(-)
diffs (truncated from 6724 to 300 lines):
diff -r a726ba7e4062 -r adebdee8f797 Makefile
--- a/Makefile Tue Jun 20 06:02:38 2000 +0000
+++ b/Makefile Thu Jun 22 14:57:40 2000 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.117 2000/05/21 07:33:05 mrg Exp $
+# $NetBSD: Makefile,v 1.117.2.1 2000/06/22 14:57:40 minoura Exp $
# This is the top-level makefile for building NetBSD. For an outline of
# how to build a snapshot or release, as well as other release engineering
@@ -36,12 +36,7 @@
# more information on this.)
# snapshot: a synonym for release.
-SRCTOP=.
-.include <bsd.crypto.mk> # for configuration variables.
-
-.if defined(CRYPTOPATH)
-.sinclude "${CRYPTOPATH}/Makefile.frag"
-.endif
+.include <bsd.own.mk>
MKOBJDIRS ?= no
HAVE_EGCS!= ${CXX} --version | egrep "^(2\.[89]|egcs)" ; echo
@@ -152,9 +147,6 @@
(cd ${.CURDIR}/gnu/lib && \
${MAKE} ${_M} ${_J} MKSHARE=no dependall && \
${MAKE} ${_M} MKSHARE=no install)
-.if target(cryptobuild)
- ${MAKE} ${_M} ${_J} cryptobuild
-.endif
${MAKE} ${_M} ${_J} dependall && ${MAKE} ${_M} _BUILD= install
.if defined(DOMESTIC) && !defined(EXPORTABLE_SYSTEM)
(cd ${.CURDIR}/${DOMESTIC} && ${MAKE} ${_M} ${_J} _SLAVE_BUILD= build)
diff -r a726ba7e4062 -r adebdee8f797 bin/csh/csh.c
--- a/bin/csh/csh.c Tue Jun 20 06:02:38 2000 +0000
+++ b/bin/csh/csh.c Thu Jun 22 14:57:40 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: csh.c,v 1.24 1998/07/28 11:41:41 mycroft Exp $ */
+/* $NetBSD: csh.c,v 1.24.8.1 2000/06/22 15:03:41 minoura Exp $ */
/*-
* Copyright (c) 1980, 1991, 1993
@@ -43,7 +43,7 @@
#if 0
static char sccsid[] = "@(#)csh.c 8.2 (Berkeley) 10/12/93";
#else
-__RCSID("$NetBSD: csh.c,v 1.24 1998/07/28 11:41:41 mycroft Exp $");
+__RCSID("$NetBSD: csh.c,v 1.24.8.1 2000/06/22 15:03:41 minoura Exp $");
#endif
#endif /* not lint */
@@ -801,7 +801,7 @@
void
rechist()
{
- Char buf[BUFSIZ], hbuf[BUFSIZ], *hfile;
+ Char buf[BUFSIZE], hbuf[BUFSIZE], *hfile;
int fp, ftmp, oldidfds;
struct varent *shist;
@@ -1148,7 +1148,7 @@
{
Char *f;
bool hflg = 0;
- Char buf[BUFSIZ];
+ Char buf[BUFSIZE];
v++;
if (*v && eq(*v, STRmh)) {
diff -r a726ba7e4062 -r adebdee8f797 bin/csh/csh.h
--- a/bin/csh/csh.h Tue Jun 20 06:02:38 2000 +0000
+++ b/bin/csh/csh.h Thu Jun 22 14:57:40 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: csh.h,v 1.11 1998/07/28 02:47:19 mycroft Exp $ */
+/* $NetBSD: csh.h,v 1.11.8.1 2000/06/22 15:03:41 minoura Exp $ */
/*-
* Copyright (c) 1980, 1991, 1993
@@ -38,12 +38,12 @@
/*
* Fundamental definitions which may vary from system to system.
*
- * BUFSIZ The i/o buffering size; also limits word size
+ * BUFSIZE The i/o buffering size; also limits word size
* MAILINTVL How often to mailcheck; more often is more expensive
*/
-#ifndef BUFSIZ
-#define BUFSIZ 1024 /* default buffer size */
-#endif /* BUFSIZ */
+#ifndef BUFSIZE
+#define BUFSIZE 4096 /* default buffer size */
+#endif /* BUFSIZE */
#define FORKSLEEP 10 /* delay loop on non-interactive fork failure */
#define MAILINTVL 600 /* 10 minutes */
diff -r a726ba7e4062 -r adebdee8f797 bin/csh/dol.c
--- a/bin/csh/dol.c Tue Jun 20 06:02:38 2000 +0000
+++ b/bin/csh/dol.c Thu Jun 22 14:57:40 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dol.c,v 1.13 1998/08/19 01:31:46 thorpej Exp $ */
+/* $NetBSD: dol.c,v 1.13.8.1 2000/06/22 15:03:41 minoura Exp $ */
/*-
* Copyright (c) 1980, 1991, 1993
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)dol.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: dol.c,v 1.13 1998/08/19 01:31:46 thorpej Exp $");
+__RCSID("$NetBSD: dol.c,v 1.13.8.1 2000/06/22 15:03:41 minoura Exp $");
#endif
#endif /* not lint */
@@ -81,7 +81,7 @@
* words within this expansion, the count of remaining words, and the
* information about any : modifier which is being applied.
*/
-#define MAXWLEN (BUFSIZ - 4)
+#define MAXWLEN (BUFSIZE - 4)
#define MAXMOD MAXWLEN /* This cannot overflow */
static Char *dolp; /* Remaining chars from this word */
static Char **dolnxt; /* Further words */
@@ -226,7 +226,7 @@
Dword()
{
int c, c1;
- Char wbuf[BUFSIZ];
+ Char wbuf[BUFSIZE];
Char *wp = wbuf;
int i = MAXWLEN;
bool dolflg;
@@ -415,7 +415,7 @@
int subscr = 0, lwb = 1, upb = 0;
bool dimen = 0, bitset = 0;
char tnp;
- Char wbuf[BUFSIZ];
+ Char wbuf[BUFSIZE];
static Char *dolbang = NULL;
dolnmod = dolmcnt = dolwcnt = 0;
@@ -451,7 +451,7 @@
stderror(ERR_NOTALLOWED, "$?#");
for (np = wbuf; read(OLDSTD, &tnp, 1) == 1; np++) {
*np = (unsigned char) tnp;
- if (np >= &wbuf[BUFSIZ - 1])
+ if (np >= &wbuf[BUFSIZE - 1])
stderror(ERR_LTOOLONG);
if (tnp == '\n')
break;
@@ -847,7 +847,7 @@
{
int c;
Char *Dv[2];
- Char obuf[BUFSIZ], lbuf[BUFSIZ], mbuf[BUFSIZ];
+ Char obuf[BUFSIZE], lbuf[BUFSIZE], mbuf[BUFSIZE];
int ocnt, lcnt, mcnt;
Char *lbp, *obp, *mbp;
Char **vp;
@@ -864,14 +864,14 @@
trim(Dv);
rscan(Dv, Dtestq);
quoted = gflag;
- ocnt = BUFSIZ;
+ ocnt = BUFSIZE;
obp = obuf;
for (;;) {
/*
* Read up a line
*/
lbp = lbuf;
- lcnt = BUFSIZ - 4;
+ lcnt = BUFSIZE - 4;
for (;;) {
c = readc(1); /* 1 -> Want EOF returns */
if (c < 0 || c == '\n')
@@ -890,7 +890,7 @@
* Check for EOF or compare to terminator -- before expansion
*/
if (c < 0 || eq(lbuf, term)) {
- (void) write(0, short2str(obuf), (size_t) (BUFSIZ - ocnt));
+ (void) write(0, short2str(obuf), (size_t) (BUFSIZE - ocnt));
(void) lseek(0, (off_t) 0, SEEK_SET);
return;
}
@@ -904,9 +904,9 @@
for (lbp = lbuf; (c = *lbp++) != '\0';) {
*obp++ = c;
if (--ocnt == 0) {
- (void) write(0, short2str(obuf), BUFSIZ);
+ (void) write(0, short2str(obuf), BUFSIZE);
obp = obuf;
- ocnt = BUFSIZ;
+ ocnt = BUFSIZE;
}
}
continue;
@@ -919,7 +919,7 @@
Dcp = lbuf;
Dvp = Dv + 1;
mbp = mbuf;
- mcnt = BUFSIZ - 4;
+ mcnt = BUFSIZE - 4;
for (;;) {
c = DgetC(DODOL);
if (c == DEOF)
@@ -968,16 +968,16 @@
for (mbp = *vp; *mbp; mbp++) {
*obp++ = *mbp & TRIM;
if (--ocnt == 0) {
- (void) write(0, short2str(obuf), BUFSIZ);
+ (void) write(0, short2str(obuf), BUFSIZE);
obp = obuf;
- ocnt = BUFSIZ;
+ ocnt = BUFSIZE;
}
}
*obp++ = '\n';
if (--ocnt == 0) {
- (void) write(0, short2str(obuf), BUFSIZ);
+ (void) write(0, short2str(obuf), BUFSIZE);
obp = obuf;
- ocnt = BUFSIZ;
+ ocnt = BUFSIZE;
}
}
if (pargv)
diff -r a726ba7e4062 -r adebdee8f797 bin/csh/err.c
--- a/bin/csh/err.c Tue Jun 20 06:02:38 2000 +0000
+++ b/bin/csh/err.c Thu Jun 22 14:57:40 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: err.c,v 1.13 1998/07/28 11:41:42 mycroft Exp $ */
+/* $NetBSD: err.c,v 1.13.8.1 2000/06/22 15:03:41 minoura Exp $ */
/*-
* Copyright (c) 1980, 1991, 1993
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)err.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: err.c,v 1.13 1998/07/28 11:41:42 mycroft Exp $");
+__RCSID("$NetBSD: err.c,v 1.13.8.1 2000/06/22 15:03:41 minoura Exp $");
#endif
#endif /* not lint */
@@ -302,7 +302,7 @@
#endif
{
if (seterr == 0) {
- char berr[BUFSIZ];
+ char berr[BUFSIZE];
va_list va;
#if __STDC__
diff -r a726ba7e4062 -r adebdee8f797 bin/csh/file.c
--- a/bin/csh/file.c Tue Jun 20 06:02:38 2000 +0000
+++ b/bin/csh/file.c Thu Jun 22 14:57:40 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: file.c,v 1.16 1999/03/23 09:29:51 itohy Exp $ */
+/* $NetBSD: file.c,v 1.16.8.1 2000/06/22 15:03:41 minoura Exp $ */
/*-
* Copyright (c) 1980, 1991, 1993
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)file.c 8.2 (Berkeley) 3/19/94";
#else
-__RCSID("$NetBSD: file.c,v 1.16 1999/03/23 09:29:51 itohy Exp $");
+__RCSID("$NetBSD: file.c,v 1.16.8.1 2000/06/22 15:03:41 minoura Exp $");
#endif
#endif /* not lint */
@@ -680,12 +680,12 @@
int inputline_size;
{
int numitems, num_read;
- char tinputline[BUFSIZ];
+ char tinputline[BUFSIZE];
setup_tty(ON);
- while ((num_read = read(SHIN, tinputline, BUFSIZ)) > 0) {
+ while ((num_read = read(SHIN, tinputline, BUFSIZE)) > 0) {
int i;
static Char delims[] = {' ', '\'', '"', '\t', ';', '&', '<',
'>', '(', ')', '|', '^', '%', '\0'};
diff -r a726ba7e4062 -r adebdee8f797 bin/csh/func.c
--- a/bin/csh/func.c Tue Jun 20 06:02:38 2000 +0000
+++ b/bin/csh/func.c Thu Jun 22 14:57:40 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: func.c,v 1.17 1998/08/19 01:31:46 thorpej Exp $ */
+/* $NetBSD: func.c,v 1.17.8.1 2000/06/22 15:03:42 minoura Exp $ */
/*-
* Copyright (c) 1980, 1991, 1993
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)func.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: func.c,v 1.17 1998/08/19 01:31:46 thorpej Exp $");
Home |
Main Index |
Thread Index |
Old Index