[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Libstore && libparted patches.
From: |
Alfred M. Szmidt |
Subject: |
Re: Libstore && libparted patches. |
Date: |
Sat, 14 Aug 2004 21:56:40 +0200 (CEST) |
--- /home/hde/PATCHED_parted-1.6.11/libparted/gnu.c 2004-08-13
09:57:20.000000000 -0500
+++ /home/hde/parted-1.6.11/libparted/gnu.c 2004-04-24 22:34:00.000000000
-0500
@@ -235,16 +235,7 @@
arch_specific->consume = 1;
retry_open:
- /* 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);
- }
-
+ err = store_typed_open (dev->path, 0, NULL, &arch_specific->store);
if (err) {
error_t rw_err = err;
Why is this change needed in parted?