diff -r abb7ba207fc9 -r ac0dbbad1d49 components/coreutils/patches/mountlist.c.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/components/coreutils/patches/mountlist.c.patch Mon Nov 14 09:16:05 2011 -0800 @@ -0,0 +1,26 @@ +*** coreutils-8.5/lib/mountlist.c.orig Wed Nov 9 06:19:54 2011 +--- coreutils-8.5/lib/mountlist.c Wed Nov 9 07:25:30 2011 +*************** +*** 157,166 **** + #endif + + #ifndef ME_REMOTE +! /* A file system is `remote' if its Fs_name contains a `:' +! or if (it is of type (smbfs or cifs) and its Fs_name starts with `//'). */ + # define ME_REMOTE(Fs_name, Fs_type) \ +! (strchr (Fs_name, ':') != NULL \ + || ((Fs_name)[0] == '/' \ + && (Fs_name)[1] == '/' \ + && (strcmp (Fs_type, "smbfs") == 0 \ +--- 157,167 ---- + #endif + + #ifndef ME_REMOTE +! /* A file system is `remote' if its Fs_name contains a `:' (and isn't of +! type pcfs), or if (it is of type (smbfs or cifs) and its Fs_name starts +! with `//'). */ + # define ME_REMOTE(Fs_name, Fs_type) \ +! ((strchr (Fs_name, ':') != NULL && strcmp (Fs_type, "pcfs") != 0) \ + || ((Fs_name)[0] == '/' \ + && (Fs_name)[1] == '/' \ + && (strcmp (Fs_type, "smbfs") == 0 \