Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-6]: src/distrib/utils/sysinst Pull up revision 1.78 (requested ...



details:   https://anonhg.NetBSD.org/src/rev/d8e38804dea5
branches:  netbsd-1-6
changeset: 527783:d8e38804dea5
user:      lukem <lukem%NetBSD.org@localhost>
date:      Thu Jun 06 09:58:35 2002 +0000

description:
Pull up revision 1.78 (requested by lukem in ticket #188):
- Replace make(1) and -D FTP_HOST with SYSINST_FTP_HOST.
  Defaults to "ftp.netbsd.org"
- Replace make(1) and -D FTP_DIR with SYSINST_FTP_DIR.
  Defaults to "pub/NetBSD/NetBSD-" + VER + "/" + MACH.
  (FTP_DIR used to override "pub/NetBSD/NetBSD-", which meant the
  path name had to contain the release version in it)
- Add make(1) and -D SYSINST_CDROM_DIR.
  Defaults to "/" + mach.
- only append ftp_prefix to ftp_dir and cdrom_dir once, just after
  the options are parsed.  Do this in newly added set_defaults().

diffstat:

 distrib/utils/sysinst/net.c |  7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)

diffs (21 lines):

diff -r b6da7aa36a5b -r d8e38804dea5 distrib/utils/sysinst/net.c
--- a/distrib/utils/sysinst/net.c       Thu Jun 06 09:58:26 2002 +0000
+++ b/distrib/utils/sysinst/net.c       Thu Jun 06 09:58:35 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: net.c,v 1.76.2.1 2002/05/24 22:37:40 perry Exp $       */
+/*     $NetBSD: net.c,v 1.76.2.2 2002/06/06 09:58:35 lukem Exp $       */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -690,11 +690,6 @@
 
        cd_dist_dir("ftp");
 
-       /* Fill in final values for ftp_dir. */
-       strncat(ftp_dir, rel, STRSIZE - strlen(ftp_dir));
-       strcat(ftp_dir, "/");
-       strncat(ftp_dir, machine, STRSIZE - strlen(ftp_dir));
-       strncat(ftp_dir, ftp_prefix, STRSIZE - strlen(ftp_dir));
        process_menu(MENU_ftpsource);
 
        list = dist_list;



Home | Main Index | Thread Index | Old Index