components/coreutils/patches/mountlist.c.patch
author Vladimir Marek <Vladimir.Marek@oracle.com>
Mon, 21 Nov 2011 07:20:21 -0800
changeset 591 d3cce09912d0
parent 581 ac0dbbad1d49
child 987 810b92005f34
child 3083 6826bd655a25
permissions -rw-r--r--
7114186 Can't publish components in s11-sru branch

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