components/coreutils/patches/mountlist.c.patch
author Mike Sullivan <Mike.Sullivan@Oracle.COM>
Wed, 29 Aug 2012 11:05:56 -0700
changeset 957 255465c5756f
parent 581 ac0dbbad1d49
child 987 810b92005f34
child 3083 6826bd655a25
permissions -rw-r--r--
Close of build 04.

*** 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     \