ams brought to my attention my patch for libparted was wrong.  Sorry these are my fist 
patches
I have ever made. :) Here it is corrected.

I am deeply Sorry
hde

--- /home/hde/parted-1.6.11/libparted/gnu.c     2004-04-24 22:34:00.000000000 -0500
+++ /home/hde/PATCHED_parted-1.6.11/libparted/gnu.c     2004-08-13 09:57:20.000000000 
-0500
@@ -235,7 +235,16 @@
        arch_specific->consume = 1;
 
  retry_open:
-       err = store_typed_open (dev->path, 0, NULL, &arch_specific->store);
+       /* Simple test to determine if the user uses a path or TYPE:NAME. */
+       if (strchr (path, '/') == NULL)
+         {
+           err = store_typed_open (dev->path, 0, NULL, &arch_specific->store); 
+         }
+       else
+         {
+           err = store_open (dev->path, 0, NULL, &arch_specific->store);
+         }
+
        if (err) {
                error_t rw_err = err;



_______________________________________________
Bug-hurd mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/bug-hurd

Reply via email to