help-hurd
[Top][All Lists]
Advanced

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

Re: static linking and iso9660fs


From: Greg Buchholz
Subject: Re: static linking and iso9660fs
Date: Sun, 31 Aug 2003 07:01:07 +0100 (BST)

        Worked like a charm...

address@hidden:/src/hurd/isofs$ ldd iso9660fs.static
        not a dynamic executable

Thanks a lot,

Greg


On Sun, 31 Aug 2003, Marcus Brinkmann wrote:

> 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]