From 08e0b41ef1db5b9c3c6681378d29e77e2393a0e610cf2e04fa9c377b60ce8409 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Sun, 10 Feb 2008 16:59:05 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/util-linux?expand=0&rev=44 --- util-linux-2.13.1-getfs_fix.patch | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 util-linux-2.13.1-getfs_fix.patch diff --git a/util-linux-2.13.1-getfs_fix.patch b/util-linux-2.13.1-getfs_fix.patch deleted file mode 100644 index fb0faa7..0000000 --- a/util-linux-2.13.1-getfs_fix.patch +++ /dev/null @@ -1,24 +0,0 @@ -Index: util-linux-ng-2.13.1/mount/fstab.c -=================================================================== ---- util-linux-ng-2.13.1.orig/mount/fstab.c -+++ util-linux-ng-2.13.1/mount/fstab.c -@@ -419,11 +419,17 @@ getfs_by_spec (const char *spec) { - struct mntentchn * - getfs_by_devname (const char *devname) { - struct mntentchn *mc, *mc0; -+ char *name; - - mc0 = fstab_head(); -- for (mc = mc0->nxt; mc && mc != mc0; mc = mc->nxt) -- if (streq(mc->m.mnt_fsname, devname)) -+ for (mc = mc0->nxt; mc && mc != mc0; mc = mc->nxt) { -+ name = canonicalize(mc->m.mnt_fsname); -+ if (streq(name, devname)) { -+ free(name); - return mc; -+ } -+ } -+ free(name); - return NULL; - } -