components/coreutils/patches/file-type.c.patch
changeset 1689 f62328c11ab6
equal deleted inserted replaced
1688:3f0c67b12bf7 1689:f62328c11ab6
       
     1 Add support for the Solaris "door" file type with the GNU stat command
       
     2 (CR #16575088)
       
     3 
       
     4 This patch will be submitted upstream.
       
     5 
       
     6 --- coreutils-8.16/lib/file-type.c.orig	2014-02-04 08:45:32.295255617 -0800
       
     7 +++ coreutils-8.16/lib/file-type.c	2014-02-04 14:31:27.647845083 -0800
       
     8 @@ -55,6 +55,9 @@
       
     9    if (S_ISSOCK (st->st_mode))
       
    10      return _("socket");
       
    11  
       
    12 +  if (S_ISDOOR (st->st_mode))
       
    13 +    return _("door");
       
    14 +
       
    15    if (S_TYPEISMQ (st))
       
    16      return _("message queue");
       
    17