SHA256
1
0
forked from pool/coreutils

Avoid crash in "df --total" due to new coreutils-df-always-hide-rootfs.patch.

OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=168
This commit is contained in:
Bernhard Voelker 2012-12-03 01:06:11 +00:00 committed by Git OBS Bridge
parent 8b2a2a7a3e
commit 1efa7ee86c
2 changed files with 6 additions and 1 deletions

View File

@ -6,7 +6,7 @@ Index: coreutils-8.17/src/df.c
if (!selected_fstype (fstype) || excluded_fstype (fstype))
return;
+ if (STRNCMP_LIT (fstype, "rootfs") == 0)
+ if (fstype && (STRNCMP_LIT (fstype, "rootfs") == 0))
+ return;
+
/* If MOUNT_POINT is NULL, then the file system is not mounted, and this

View File

@ -1,3 +1,8 @@
Mon Dec 3 00:45:43 UTC 2012 - mail@bernhard-voelker.de
- Avoid crash in "df --total" due to new
coreutils-df-always-hide-rootfs.patch.
-------------------------------------------------------------------
Wed Nov 28 12:25:18 UTC 2012 - rmilasan@suse.com