Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Feb 2003 00:48:25 +0900 (JST)
From:      n-kogane@syd.odn.ne.jp
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   misc/47908: /stand/sysinstall can't display document files
Message-ID:  <200302041548.AAA00703@kces1.koganemaru.co.jp>

next in thread | raw e-mail | index | archive | help

>Number:         47908
>Category:       misc
>Synopsis:       /stand/sysinstall can't display document files
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 04 07:50:13 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Nobuyuki Koganemaru
>Release:        FreeBSD 5.0-RELEASE i386
>Organization:
KOGANEMARU Computer Engineering Service Corporation.
>Environment:
System: FreeBSD kcesx11.koganemaru.co.jp 5.0-RELEASE FreeBSD 5.0-RELEASE #0: Thu Jan 16 22:16:53 GMT 2003 root@hollin.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC i386


>Description:
	/stand/sysinstall can't display document files.
	
>How-To-Repeat:
	% /stans/sysinstall
	[Main Menu] -> [Doc] -> [Copyright] 
	                     -> other files
	[Main Menu] -> [Usage]

	try to following commands.
	% /stand/gunzip </stand/help/COPYRIGHT.hlp	# OK
	% /usr/bin/gunzip </stand/help/COPYRIGHT.hlp	# NG

	It is better to compress document files, for disk space saveing.
>Fix:

--- usr.sbin/sysinstall/system.c.orig	Sat Oct 12 07:30:09 2002
+++ usr.sbin/sysinstall/system.c	Wed Feb  5 01:10:47 2003
@@ -110,7 +110,7 @@
 static char *
 expand(char *fname)
 {
-    char *gunzip = RunningAsInit ? "/stand/gunzip" : "/usr/bin/gunzip";
+    char *gunzip = "/stand/gunzip";
 
     if (!directory_exists(DOC_TMP_DIR)) {
 	Mkdir(DOC_TMP_DIR);

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200302041548.AAA00703>