delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2002/02/20/16:31:19

Mailing-List: contact cygwin-apps-help AT cygwin DOT com; run by ezmlm
Sender: cygwin-apps-owner AT cygwin DOT com
List-Subscribe: <mailto:cygwin-apps-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-apps/>
List-Post: <mailto:cygwin-apps AT cygwin DOT com>
List-Help: <mailto:cygwin-apps-help AT cygwin DOT com>, <http://sources.redhat.com/lists.html#faqs>
Delivered-To: mailing list cygwin-apps AT cygwin DOT com
Message-ID: <018a01c1ba55$ff233b10$0200a8c0@lifelesswks>
From: "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au>
To: "Jan Nieuwenhuizen" <janneke AT gnu DOT org>
Cc: <cygwin-apps AT cygwin DOT com>
References: <m31yfhdpkf DOT fsf AT appel DOT lilypond DOT org><009201c1b9f9$99575fc0$0200a8c0 AT lifelesswks> <m3r8ng0wex DOT fsf AT appel DOT lilypond DOT org>
Subject: Re: setup.exe /var, /tmp?
Date: Thu, 21 Feb 2002 08:31:44 +1100
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
X-OriginalArrivalTime: 20 Feb 2002 21:30:55.0203 (UTC) FILETIME=[E0F20B30:01C1BA55]

===
----- Original Message -----
From: "Jan Nieuwenhuizen" <janneke AT gnu DOT org>
> > Please try this patch...
>
> Hmm, this doesn't help.  Similar fix applied to install.cc also
> doesn't help.  After removing c:/cygwin and doing a fresh install, you
> get the error message:
>
>     cannot open log file C:/cygwin/var/log/setup.log.full for writing.

Install.cc doesn't need that fix. It needs a different one I think - see
if this helps.

As for the graphics problem, I can't reproduce it here,
Rob

Index: install.cc
===================================================================
RCS file: /cvs/src/src/winsup/cinstall/install.cc,v
retrieving revision 2.41.2.1
diff -u -p -r2.41.2.1 install.cc
--- install.cc 2002/02/19 02:47:59 2.41.2.1
+++ install.cc 2002/02/20 21:29:52
@@ -426,13 +426,13 @@ do_install_thread (HINSTANCE h, HWND own

   next_dialog = IDD_DESKTOP;

-  io_stream::mkpath_p (PATH_TO_DIR, get_root_dir ());
+  io_stream::mkpath_p (PATH_TO_DIR, String ("file://") + get_root_dir
());

   for (i = 0; standard_dirs[i]; i++)
     {
       String p = cygpath (standard_dirs[i]);
       if (p.size())
- io_stream::mkpath_p (PATH_TO_DIR, p);
+ io_stream::mkpath_p (PATH_TO_DIR, String ("file://") + p);
     }

   /* Create /var/run/utmp */
Index: log.cc
===================================================================
RCS file: /cvs/src/src/winsup/cinstall/log.cc,v
retrieving revision 2.9.2.1
diff -u -p -r2.9.2.1 log.cc
--- log.cc 2002/02/19 00:43:14 2.9.2.1
+++ log.cc 2002/02/20 21:29:52
@@ -88,7 +88,7 @@ log_save (int babble, String const &file
     return;
   been_here = 1;

-  io_stream::mkpath_p (PATH_TO_FILE, filename);
+  io_stream::mkpath_p (PATH_TO_FILE, String("file://")+filename);

   io_stream *f = io_stream::open(String("file://")+filename, append ?
"at" : "wt");
   if (!f)
Index: package_meta.cc
===================================================================
RCS file: /cvs/src/src/winsup/cinstall/package_meta.cc,v
retrieving revision 2.17.2.1
diff -u -p -r2.17.2.1 package_meta.cc
--- package_meta.cc 2002/02/19 03:50:23 2.17.2.1
+++ package_meta.cc 2002/02/20 21:29:52
@@ -43,21 +43,21 @@ static const char *cvsid = "\n%%% $Id: p
 #include "package_db.h"

 static const char *standard_dirs[] = {
-  "/bin",
-  "/etc",
-  "/lib",
-  "/tmp",
-  "/usr",
-  "/usr/bin",
-  "/usr/lib",
-  "/usr/src",
-  "/usr/local",
-  "/usr/local/bin",
-  "/usr/local/etc",
-  "/usr/local/lib",
-  "/usr/tmp",
-  "/var/run",
-  "/var/tmp",
+  "bin",
+  "etc",
+  "lib",
+  "tmp",
+  "usr",
+  "usr/bin",
+  "usr/lib",
+  "usr/src",
+  "usr/local",
+  "usr/local/bin",
+  "usr/local/etc",
+  "usr/local/lib",
+  "usr/tmp",
+  "var/run",
+  "var/tmp",
   0
 };



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019