The attached patch should fix gobs and gobs of "io_stream_cygfile: fopen
failed 2 No such file or directory" log messages for initial installs.
The ChangeLog is below.
        Igor
==============================================================================
ChangeLog:
2005-09-27  Igor Pechtchanski  <[EMAIL PROTECTED]>

        * package_db.cc (packagedb::packagedb): Remember missing package
        database file.

-- 
                                http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_                [EMAIL PROTECTED]
ZZZzz /,`.-'`'    -.  ;-;;,_            [EMAIL PROTECTED]
     |,4-  ) )-,_. ,\ (  `'-'           Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL     a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA
Index: package_db.cc
===================================================================
RCS file: /cvs/cygwin-apps/setup/package_db.cc,v
retrieving revision 2.29
diff -u -p -r2.29 package_db.cc
--- package_db.cc       5 May 2005 22:48:35 -0000       2.29
+++ package_db.cc       30 Sep 2005 03:24:27 -0000
@@ -53,6 +53,7 @@ packagedb::packagedb ()
     {
       /* no parameters. Read in the local installation database. */
       db = io_stream::open ("cygfile:///etc/setup/installed.db", "rt");
+      installeddbread = 1;
       if (!db)
        return;
       /* flush_local_db_package_data */
@@ -123,7 +124,6 @@ packagedb::packagedb ()
            // unknown dbversion
            exit (1);
        }
-      installeddbread = 1;
     }
 }
 

Reply via email to