help-hurd
[Top][All Lists]
Advanced

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

Re: static linking and iso9660fs


From: Marcus Brinkmann
Subject: Re: static linking and iso9660fs
Date: Sun, 31 Aug 2003 03:53:16 +0200
User-agent: Mutt/1.5.4i

On Sun, Aug 31, 2003 at 02:14:08AM +0100, Greg Buchholz wrote:
> Whoops, can't believe I made that mistake.  But now I'm back to my
> original problem, ld can't resolve the diskfs functions correctly.
> Here's the error message...

Please try the below patch.  If it helps, I can check it in.


2003-08-31  Marcus Brinkmann  <address@hidden>

        * main.c (diskfs_readonly, diskfs_hard_readonly): Removed.
        (main): Set diskfs_readonly and diskfs_hard_readonly to one.

--- isofs/main.c.~1.7.~ 1970-01-01 01:00:01.000000000 +0100
+++ isofs/main.c        2003-08-31 03:51:22.000000000 +0200
@@ -39,8 +39,6 @@ int diskfs_link_max = INT_MAX;
 int diskfs_name_max = 255;     /* see iso9660.h: struct dirrect::namelen */
 int diskfs_maxsymlinks = 8;
 
-/* This filesystem is never capable of writing.  */
-int diskfs_readonly = 1, diskfs_hard_readonly = 1;
 
 /* Fetch the root node */
 static void
@@ -130,6 +128,10 @@ main (int argc, char **argv)
 {
   mach_port_t bootstrap;
 
+  /* This filesystem is never capable of writing.  */
+  diskfs_readonly = 1;
+  diskfs_hard_readonly = 1;
+
   /* Initialize the diskfs library, parse arguments, and open the store.
      This starts the first diskfs thread for us.  */
   store = diskfs_init_main (NULL, argc, argv, &store_parsed, &bootstrap);
 
-- 
`Rhubarb is no Egyptian god.' GNU      http://www.gnu.org    address@hidden
Marcus Brinkmann              The Hurd http://www.gnu.org/software/hurd/
address@hidden
http://www.marcus-brinkmann.de/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]