pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/34818: mtree doesn't know about solaris door files
>Number: 34818
>Category: pkg
>Synopsis: mtree doesn't recognize door files on solaris
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Oct 14 20:35:00 +0000 2006
>Originator: rad%twig.com@localhost
>Release: mtree-20040722
>Organization:
>Environment:
SunOS verge 5.8 Generic_117350-02 sun4u sparc SUNW,Ultra-2
Architecture: sun4u
Machine: sparc
>Description:
mtree does not recognize door files
>How-To-Repeat:
/usr/pkg/sbin/mtree -c -p /etc/sysevent
>Fix:
*** misc.c.orig Sat Oct 14 16:51:17 2006
--- misc.c Sat Oct 14 16:54:03 2006
***************
*** 106,111 ****
--- 106,114 ----
{"block", F_BLOCK, },
{"char", F_CHAR, },
{"dir", F_DIR, },
+ #ifdef S_IFDOOR
+ {"door", F_DOOR, },
+ #endif
{"fifo", F_FIFO, },
{"file", F_FILE, },
{"link", F_LINK, },
***************
*** 305,310 ****
--- 308,317 ----
#ifdef S_IFSOCK
case S_IFSOCK:
return ("socket");
+ #endif
+ #ifdef S_IFDOOR
+ case S_IFDOOR:
+ return ("door");
#endif
default:
return ("unknown");
*** mtree.h.orig Sat Oct 14 16:53:10 2006
--- mtree.h Sat Oct 14 20:10:15 2006
***************
*** 91,96 ****
--- 91,99 ----
#define F_FILE 0x010 /* regular file */
#define F_LINK 0x020 /* symbolic link */
#define F_SOCK 0x040 /* socket */
+ #ifdef S_IFDOOR
+ #define F_DOOR 0x080 /* door */
+ #endif
int type; /* file type */
char name[1]; /* file name (must be last) */
Home |
Main Index |
Thread Index |
Old Index