Subject: Re: bug#15023: Coreutils on IRIX

From: "Rainer M. Canavan" <[email-masked]>
Date: Mon, 5 Aug 2013 20:39:52 +0200 (CEST)

Paul Eggert <[email-masked]> wrote:
> Thanks for the bug report.
> 
> Let's try to fix the first bug first.  What is the output of the following command?
> 
> c99 -I. -I./lib -Ilib -I./lib -Isrc -I./src -I/usr/nekoware/include \
>   -O3 -mips4 -OPT:Olimit=0:roundoff=3 -TARG:platform=IP27:proc=r10000 -n32 \
>   -E lib/set-mode-acl.c

Hi,

the output follows below.

rainer

#line 1 "lib/set-mode-acl.c"

#line 1 "./lib/config.h"

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 
#line 3027 "./lib/config.h"

 

 

 

#line 3062 "./lib/config.h"

 

 

 

 

 

 

 
#line 3147 "./lib/config.h"

#line 3166 "./lib/config.h"

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 
#line 21 "lib/set-mode-acl.c"

#line 1 "lib/acl.h"

#line 1 "./lib/sys/types.h"

 
#line 1 "lib/sys/types.h"

 
#line 1 "./lib/sys/types.h"

 
#line 1 "/usr/include/sys/types.h"

 

#ident	"$Revision: 3.148 $"

#line 1 "/usr/include/standards.h"

#ident "$Id: standards.h,v 1.22 2002/08/07 14:51:48 raji Exp $"

 

#line 85 "/usr/include/standards.h"

#line 111 "/usr/include/standards.h"

 
#line 143 "/usr/include/standards.h"

#line 157 "/usr/include/standards.h"

#line 166 "/usr/include/standards.h"

#line 182 "/usr/include/standards.h"

 

#line 235 "/usr/include/standards.h"

 

#line 30 "/usr/include/sys/types.h"
#line 1 "/usr/include/sgidefs.h"

#ident "$Revision: 1.11 $"

 

 

 

 

#line 135 "/usr/include/sgidefs.h"

typedef int __int32_t;
typedef unsigned  __uint32_t;

#line 145 "/usr/include/sgidefs.h"

typedef long long __int64_t;
typedef unsigned long long  __uint64_t;

#line 215 "/usr/include/sgidefs.h"

typedef __int32_t __psint_t;
typedef __uint32_t __psunsigned_t;

#line 239 "/usr/include/sgidefs.h"

typedef __int32_t __scint_t;
typedef __uint32_t __scunsigned_t;

#line 31 "/usr/include/sys/types.h"
#line 1 "/usr/include/internal/sgimacros.h"

 

#line 82 "/usr/include/internal/sgimacros.h"

#line 98 "/usr/include/internal/sgimacros.h"

#line 107 "/usr/include/internal/sgimacros.h"

#line 32 "/usr/include/sys/types.h"

typedef unsigned char   uchar_t;
typedef unsigned short  ushort_t;
typedef unsigned int    uint_t;
typedef unsigned long   ulong_t;

#line 1 "/usr/include/sys/pthread.h"

typedef unsigned int 		pthread_t;		 

typedef struct { long __D[5]; } pthread_attr_t;		 
typedef struct { long __D[8]; } pthread_mutex_t;	 
typedef struct { long __D[2]; } pthread_mutexattr_t;	 
typedef struct { long __D[8]; } pthread_cond_t;		 
typedef struct { long __D[2]; } pthread_condattr_t;	 
typedef struct { long __D[16]; } pthread_rwlock_t;	 
typedef struct { long __D[4]; } pthread_rwlockattr_t;	 
typedef int			pthread_key_t;		 
typedef int			pthread_once_t;		 
typedef struct { long __D[2]; } pthread_barrierattr_t;	 
typedef struct { long __D[16]; } pthread_barrier_t;	 
typedef struct { long __D[4]; } pthread_spinlock_t;	 

#line 42 "/usr/include/sys/types.h"

typedef long blksize_t;
typedef long suseconds_t;

typedef	long	xtiscalar_t;
typedef	unsigned long	xtiuscalar_t;

typedef xtiscalar_t t_scalar_t;
typedef xtiuscalar_t t_uscalar_t;

typedef	char *		addr_t;		 
typedef	char *		caddr_t;	 

typedef	__int64_t	daddr_t;	 

typedef	long		pgno_t;		 
typedef	__uint32_t	pfn_t;		 
typedef	short		cnt_t;		 
typedef unsigned long	basictime_t;
typedef __int64_t	micro_t;

typedef __int32_t	pgcnt_t;	 

typedef enum { B_FALSE, B_TRUE } boolean_t;

typedef long			id_t;	 

 

typedef ulong_t	major_t;	 
typedef ulong_t	minor_t;	 

typedef	ushort_t o_mode_t;		 
typedef short	o_dev_t;		 
typedef	ushort_t o_uid_t;		 
typedef	o_uid_t	o_gid_t;		 
typedef	short	o_nlink_t;		 
typedef short	o_pid_t;		 
typedef __uint32_t o_ino_t;		 

typedef	unsigned long	mode_t;		 
typedef	unsigned long	dev_t;		 
typedef	long		uid_t;
typedef	long		gid_t;
typedef unsigned long	nlink_t;	 
typedef long		pid_t;		 
#line 148 "/usr/include/sys/types.h"

typedef int tid_t;                       

typedef dev_t	vertex_hdl_t;		 

typedef	__uint64_t	ino_t;		 

typedef __uint64_t	ino64_t;	 

#line 167 "/usr/include/sys/types.h"
typedef __int64_t	off_t;		 

typedef	__int64_t	off64_t;	 

typedef __scint_t	__scoff_t;	 

typedef __scoff_t	scoff_t;	 

typedef	__int64_t	blkcnt64_t;
typedef	__uint64_t	fsblkcnt64_t;
typedef	__uint64_t	fsfilcnt64_t;

typedef	__int64_t	blkcnt_t;	 
typedef	__uint64_t	fsblkcnt_t;	 
typedef	__uint64_t	fsfilcnt_t;	 

typedef	long		swblk_t;
typedef	unsigned long	paddr_t;	 
typedef	unsigned long	iopaddr_t;	 
typedef	int		key_t;		 
typedef	unsigned char	use_t;		 
typedef	long		sysid_t;
typedef	short		index_t;

typedef signed short	nasid_t;         
typedef signed short	cnodeid_t;	 
typedef	signed char  	partid_t;	 
typedef signed short 	moduleid_t;	 
typedef signed short 	cmoduleid_t;	 
typedef	uchar_t		clusterid_t;	 

typedef unsigned int 	lock_t;		 
typedef	signed short	cpuid_t;	 
typedef	unsigned char	pri_t;		 
typedef __uint64_t	accum_t;	 
typedef __int64_t	prid_t;		 
typedef __int64_t	ash_t;		 
typedef short		cell_t;		 
typedef int		credid_t;	 
typedef __int64_t	jid_t;		 

typedef __int32_t	ncpus_t;
typedef	__uint64_t	id_type_t;

typedef unsigned int size_t;

typedef int    ssize_t;

typedef	long		time_t;		 

typedef	long		clock_t;  

typedef long wchar_t;

typedef int             clockid_t;

typedef int		timer_t;

typedef	unsigned int	useconds_t;

typedef __scunsigned_t	bitnum_t;	 
typedef __scunsigned_t	bitlen_t;	 

typedef int processorid_t;		 
typedef int toid_t;			 
typedef	long *qaddr_t;		       
typedef __uint32_t inst_t;		 

typedef __uint64_t machreg_t;

typedef __uint64_t fpreg_t;

typedef signed char             int8_t;
typedef unsigned char           uint8_t;
typedef signed short            int16_t;
typedef unsigned short          uint16_t;
typedef signed int              int32_t;
typedef unsigned int            uint32_t;
typedef __int64_t 		int64_t;
typedef __uint64_t		uint64_t;
typedef __int64_t 		intmax_t;
typedef __uint64_t		uintmax_t;
typedef signed long int         intptr_t;
typedef unsigned long int       uintptr_t;

typedef	unsigned char	u_int8_t;
typedef	unsigned short	u_int16_t;
typedef	__uint32_t	u_int32_t;

 
typedef	long	hostid_t;

 
#line 1 "/usr/include/sys/bsd_types.h"

#ident	"$Revision: 1.2 $"

typedef	struct { int r[1]; } *	physadr;
typedef	unsigned char	unchar;
typedef	unsigned char	u_char;
typedef	unsigned short	ushort;
typedef	unsigned short	u_short;
typedef	unsigned int	uint;
typedef	unsigned int	u_int;
typedef	unsigned long	ulong;
typedef	unsigned long	u_long;
typedef	struct	_quad { long val[2]; } quad;

#line 1 "./lib/sys/select.h"

 
#line 52 "./lib/sys/select.h"

#line 1 "lib/sys/select.h"

 
#line 66 "lib/sys/select.h"

#line 1 "./lib/sys/types.h"

 
#line 1 "lib/sys/types.h"

 
#line 1 "./lib/sys/types.h"

 
#line 1 "/usr/include/sys/types.h"

 

#line 28 "./lib/sys/types.h"

#line 43 "./lib/sys/types.h"

#line 28 "lib/sys/types.h"

#line 28 "./lib/sys/types.h"

#line 73 "lib/sys/select.h"

#line 1 "./lib/sys/time.h"

 
#line 1 "lib/sys/time.h"

 
#line 1 "./lib/sys/time.h"

 
#line 1 "/usr/include/sys/time.h"

 

#ident	"$Revision: 3.59 $"

#line 35 "/usr/include/sys/time.h"

#line 51 "/usr/include/sys/time.h"

#line 62 "/usr/include/sys/time.h"

typedef __int64_t stamp_t;  

typedef struct USTMSCpair
{
  stamp_t ust;  
  stamp_t msc;  
} USTMSCpair;

struct timeval {

	time_t	tv_sec;		 
	long	tv_usec;	 
};

struct __irix5_timeval {
        __int32_t    tv_sec;          
        __int32_t    tv_usec;         
};

struct	itimerval {
	struct	timeval it_interval;	 
	struct	timeval it_value;	 
};

 

struct timezone {
	int	tz_minuteswest;	 
	int	tz_dsttime;	 
};

#line 156 "/usr/include/sys/time.h"

#line 1 "/usr/include/sys/timespec.h"

#ident	"$Revision: 1.11 $"

#line 1 "./lib/sys/types.h"

#line 42 "/usr/include/sys/timespec.h"

typedef struct timespec {

	time_t  tv_sec;		 

	long    tv_nsec;

} timespec_t;

#line 161 "/usr/include/sys/time.h"

#line 1 "./lib/sys/types.h"

#line 165 "/usr/include/sys/time.h"

extern int getitimer(int, struct itimerval *);
extern int setitimer(int, const struct itimerval *, struct itimerval *);
extern int utimes(const char *, const struct timeval [2]);

#line 1 "./lib/sys/select.h"

 
#line 66 "./lib/sys/select.h"

#line 1 "./lib/sys/types.h"

#line 73 "./lib/sys/select.h"

#line 1 "./lib/sys/time.h"

 
#line 1 "lib/sys/time.h"

 
#line 1 "./lib/sys/time.h"

 
#line 1 "/usr/include/sys/time.h"

 

#line 31 "./lib/sys/time.h"

 

 

 

#line 162 "./lib/sys/time.h"

#line 180 "./lib/sys/time.h"

#line 205 "./lib/sys/time.h"

#line 223 "./lib/sys/time.h"

#line 248 "./lib/sys/time.h"

#line 276 "./lib/sys/time.h"

#line 304 "./lib/sys/time.h"

 
#line 318 "./lib/sys/time.h"

#line 335 "./lib/sys/time.h"

#line 356 "./lib/sys/time.h"

#line 366 "./lib/sys/time.h"

#line 387 "./lib/sys/time.h"

#line 398 "./lib/sys/time.h"
extern int rpl_gettimeofday (struct timeval *restrict, void *restrict);

extern int _gl_cxxalias_dummy;
#line 414 "./lib/sys/time.h"
extern int _gl_cxxalias_dummy;
#line 422 "./lib/sys/time.h"

#line 513 "./lib/sys/time.h"

#line 31 "lib/sys/time.h"

#line 31 "./lib/sys/time.h"

#line 83 "./lib/sys/select.h"

 
#line 1 "lib/sys/select.h"

 
#line 66 "lib/sys/select.h"

#line 1 "./lib/sys/types.h"

#line 73 "lib/sys/select.h"

 

#line 1 "./lib/sys/select.h"

 
#line 66 "./lib/sys/select.h"

#line 1 "./lib/sys/types.h"

#line 73 "./lib/sys/select.h"

 

#line 1 "/usr/include/sys/select.h"

 

#ident	"$Revision: 1.18 $"

 

typedef	long	fd_mask_t;
typedef	unsigned long	ufd_mask_t;

typedef struct fd_set {

	fd_mask_t	fds_bits[(((1024)+(((int)(sizeof(fd_mask_t) * 8))-1))/((int)(sizeof(fd_mask_t) * 8)))];
} fd_set;

#line 1 "./lib/string.h"

 
#line 1 "lib/string.h"

 
#line 1 "./lib/string.h"

 
#line 1 "/usr/include/string.h"

#line 1 "/usr/include/internal/string_core.h"

#ident "$Revision: 1.5 $"

 

 

#line 50 "/usr/include/internal/string_core.h"

extern void *memcpy(void * __restrict, const void * __restrict, size_t);
extern void *memmove(void *, const void *, size_t);
extern char *strcpy(char * __restrict, const char * __restrict);
extern char *strncpy(char * __restrict, const char * __restrict, size_t);

extern char *strcat(char * __restrict, const char * __restrict);
extern char *strncat(char * __restrict, const char * __restrict, size_t);

extern void *memccpy(void *, const void *, int, size_t);
extern int memcmp(const void *, const void *, size_t);
extern int strcmp(const char *, const char *);
extern int strcoll(const char *, const char *);
extern int strncmp(const char *, const char *, size_t);
extern size_t strxfrm(char * __restrict, const char * __restrict, size_t);

extern void *memchr(const void *, int, size_t);
extern char *strchr(const char *, int);

extern size_t strcspn(const char *, const char *);
#pragma int_to_unsigned strcspn

extern char *strpbrk(const char *, const char *);
extern char *strrchr(const char *, int);

extern size_t strspn(const char *, const char *);
#pragma int_to_unsigned strspn

extern char *strstr(const char *, const char *);

extern char *strtok(char * __restrict, const char * __restrict);

extern void *memset(void *, int, size_t);
extern char *strerror(int);
extern size_t strlen(const char *);
#pragma int_to_unsigned strlen

extern int ffs(int);
 
extern int strcasecmp(const char *, const char *);
extern int strncasecmp(const char *, const char *,
		 size_t);

extern  size_t strlcat(char *, const char *,
		 size_t);
extern  size_t strlcpy(char *, const char *,
		 size_t);

#pragma optional strlcat
#pragma optional strlcpy

extern char *strdup(const char *);

extern char *strtok_r(char *, const char *, char **);

#pragma intrinsic (strcpy)  
#pragma intrinsic (strcmp)  
#pragma intrinsic (strlen)  

#pragma intrinsic (memcpy)
#pragma intrinsic (memmove)
#pragma intrinsic (memset)

#pragma intrinsic (memcmp)

#line 234 "/usr/include/internal/string_core.h"

#line 5 "/usr/include/string.h"

#line 28 "./lib/string.h"

#line 1 "/usr/include/stddef.h"

#line 1 "/usr/include/internal/stddef_core.h"

 

#ident "$Revision: 1.2 $"

typedef int 	ptrdiff_t;

#line 51 "/usr/include/internal/stddef_core.h"

#line 65 "/usr/include/internal/stddef_core.h"

#line 5 "/usr/include/stddef.h"

#line 34 "./lib/string.h"

 

#line 311 "./lib/string.h"

#line 323 "./lib/string.h"

#line 340 "./lib/string.h"

#line 361 "./lib/string.h"

#line 371 "./lib/string.h"

#line 386 "./lib/string.h"

#line 401 "./lib/string.h"

#line 419 "./lib/string.h"

extern int _gl_cxxalias_dummy;
#line 432 "./lib/string.h"
extern int _gl_cxxalias_dummy;
#line 440 "./lib/string.h"

#line 476 "./lib/string.h"

extern void * mempcpy (void *restrict __dest, void const *restrict __src, size_t __n);

extern int _gl_cxxalias_dummy;

extern int _gl_cxxalias_dummy;
#line 497 "./lib/string.h"

extern void * memrchr (void const *, int, size_t);

extern int _gl_cxxalias_dummy;
#line 516 "./lib/string.h"
extern int _gl_cxxalias_dummy;
#line 525 "./lib/string.h"

extern void * rawmemchr (void const *__s, int __c_in);

extern int _gl_cxxalias_dummy;
#line 546 "./lib/string.h"
extern int _gl_cxxalias_dummy;
#line 555 "./lib/string.h"

extern char * stpcpy (char *restrict __dst, char const *restrict __src);

extern int _gl_cxxalias_dummy;

extern int _gl_cxxalias_dummy;
#line 573 "./lib/string.h"

#line 591 "./lib/string.h"
extern char * stpncpy (char *restrict __dst, char const *restrict __src, size_t __n);

extern int _gl_cxxalias_dummy;

extern int _gl_cxxalias_dummy;
#line 608 "./lib/string.h"

#line 618 "./lib/string.h"

#line 632 "./lib/string.h"
extern char * strchrnul (char const *__s, int __c_in);

extern int _gl_cxxalias_dummy;
#line 648 "./lib/string.h"
extern int _gl_cxxalias_dummy;
#line 657 "./lib/string.h"

#line 675 "./lib/string.h"
extern int _gl_cxxalias_dummy;

extern int _gl_cxxalias_dummy;
#line 685 "./lib/string.h"

#line 693 "./lib/string.h"
extern char * rpl_strncat (char *dest, const char *src, size_t n);

extern int _gl_cxxalias_dummy;

extern int _gl_cxxalias_dummy;
#line 707 "./lib/string.h"

#line 720 "./lib/string.h"
extern char * strndup (char const *__string, size_t __n);

extern int _gl_cxxalias_dummy;

extern int _gl_cxxalias_dummy;
#line 733 "./lib/string.h"

#line 749 "./lib/string.h"
extern size_t strnlen (char const *__string, size_t __maxlen);

extern int _gl_cxxalias_dummy;

extern int _gl_cxxalias_dummy;
#line 763 "./lib/string.h"

#line 775 "./lib/string.h"

#line 783 "./lib/string.h"

extern int _gl_cxxalias_dummy;
#line 795 "./lib/string.h"
extern int _gl_cxxalias_dummy;
#line 814 "./lib/string.h"

#line 824 "./lib/string.h"

#line 834 "./lib/string.h"

#line 873 "./lib/string.h"

#line 884 "./lib/string.h"

extern int _gl_cxxalias_dummy;
#line 897 "./lib/string.h"
extern int _gl_cxxalias_dummy;
#line 912 "./lib/string.h"

#line 961 "./lib/string.h"

#line 1024 "./lib/string.h"

 
#line 1044 "./lib/string.h"
extern size_t mbslen (const char *string);

extern int _gl_cxxalias_dummy;

extern int _gl_cxxalias_dummy;

#line 1059 "./lib/string.h"

#line 1081 "./lib/string.h"

#line 1103 "./lib/string.h"

extern char * mbsstr (const char *haystack, const char *needle)
     
     ;

extern int mbscasecmp (const char *s1, const char *s2)
     
     ;

#line 1140 "./lib/string.h"

#line 1154 "./lib/string.h"

#line 1165 "./lib/string.h"

#line 1176 "./lib/string.h"

#line 1198 "./lib/string.h"

#line 1209 "./lib/string.h"

#line 1228 "./lib/string.h"

#line 1249 "./lib/string.h"

#line 1257 "./lib/string.h"
extern char * rpl_strerror (int);
extern int _gl_cxxalias_dummy;

extern int _gl_cxxalias_dummy;
#line 1269 "./lib/string.h"

#line 1298 "./lib/string.h"

#line 1308 "./lib/string.h"
extern char * strsignal (int __sig);

extern int _gl_cxxalias_dummy;

extern int _gl_cxxalias_dummy;
#line 1322 "./lib/string.h"

#line 1338 "./lib/string.h"

#line 28 "lib/string.h"

#line 28 "./lib/string.h"

#line 81 "/usr/include/sys/select.h"

#line 94 "/usr/include/sys/select.h"

#line 106 "/usr/include/sys/select.h"

typedef	long	fd_mask;

#line 95 "./lib/sys/select.h"

#line 1 "./lib/signal.h"

#line 39 "./lib/signal.h"

#line 1 "./lib/sys/types.h"

#line 50 "./lib/signal.h"

#line 1 "lib/signal.h"

 

#line 1 "./lib/signal.h"

 

#line 1 "/usr/include/signal.h"

#line 1 "/usr/include/internal/signal_core.h"

#ident "$Revision: 1.5 $"

 

#line 1 "/usr/include/sys/signal.h"

 

#ident	"$Revision: 3.148 $"

 
#line 73 "/usr/include/sys/signal.h"

#line 1 "./lib/sys/types.h"

#line 82 "/usr/include/sys/signal.h"

 

typedef void	(*SIG_PF) ();

#line 1 "/usr/include/sys/sigevent.h"

#ident	"$Revision: 1.9 $"

#line 1 "./lib/sys/types.h"

#line 31 "/usr/include/sys/sigevent.h"

typedef union sigval {
	int	sival_int;
	void	*sival_ptr;
} sigval_t;
#line 48 "/usr/include/sys/sigevent.h"

typedef union notifyinfo {
	int	nisigno;			 
	void	(*nifunc) (sigval_t);	 	 
} notifyinfo_t;

typedef struct sigevent {
	int			sigev_notify;
	notifyinfo_t		sigev_notifyinfo;
	sigval_t		sigev_value;
	void 			(*sigev_notify_function) (sigval_t);
        pthread_attr_t 		*sigev_notify_attributes;
	unsigned long		sigev_reserved[11];
	unsigned long		sigev_pad[6];
} sigevent_t;

#line 117 "/usr/include/sys/signal.h"

#line 1 "/usr/include/sys/siginfo.h"

 

#ident "$Revision: 1.28 $"

 

typedef struct __siginfo {
	int	si_signo;		 
	int 	si_code;		 
	int	si_errno;		 
	union {

		int	si_pad[((128 / sizeof(__int32_t)) - 3)];	 

		struct {			 
			pid_t	__pid;		 
			union {
				struct {
					uid_t	__uid;
				} __kill;
				struct {
					clock_t __utime;
					int __status;
					clock_t __stime;
					int __swap;
				} __cld;
			} __pdata;
		} __proc;			

		struct {	 
			void 	*__addr;	 
		} __fault;

		struct {			 
		 
			int	__fd;	 
			long	__band;
		} __file;

		union sigval	__value;

	} __data;

} siginfo_t;

#line 109 "/usr/include/sys/siginfo.h"

#line 117 "/usr/include/sys/siginfo.h"

 
#line 140 "/usr/include/sys/siginfo.h"

#line 155 "/usr/include/sys/siginfo.h"

 
#line 174 "/usr/include/sys/siginfo.h"

 
#line 196 "/usr/include/sys/siginfo.h"

#line 209 "/usr/include/sys/siginfo.h"

#line 124 "/usr/include/sys/signal.h"

typedef struct {                 
        __uint32_t __sigbits[4];
} sigset_t;

typedef union __sighandler {
    	void (*sa_handler1)();  

    	void (*sa_sigaction1)(int, siginfo_t *, void *);

} __sighandler_t;

typedef struct sigaction {
	int sa_flags;			 
    	__sighandler_t sa_sighandler;	 
	sigset_t sa_mask;		 
					 
	int sa_resv[2];
} sigaction_t;

 
#line 178 "/usr/include/sys/signal.h"

 

					 

struct sigstack {
	void	*ss_sp;			 
	int	ss_onstack;		 
};

#line 1 "/usr/include/sys/ucontext.h"

 

#ident "$Revision: 1.37 $"

#line 44 "/usr/include/sys/ucontext.h"

#line 1 "./lib/sys/types.h"

#line 47 "/usr/include/sys/ucontext.h"

#line 54 "/usr/include/sys/ucontext.h"

typedef struct _sigaltstack {
	void	*ss_sp;
	size_t	ss_size;
	int	ss_flags;
} stack_t;
#line 69 "/usr/include/sys/ucontext.h"

#line 116 "/usr/include/sys/ucontext.h"

typedef machreg_t greg_t;

typedef greg_t gregset_t[37];

typedef struct __fpregset {
	union {
		double		__fp_dregs[32];

		struct {
			__uint32_t	_fp_fill;
			float		_fp_fregs;
		} __fp_fregs[32];
#line 150 "/usr/include/sys/ucontext.h"
		machreg_t	__fp_regs[32];
	} __fp_r;
	__uint32_t 	__fp_csr;
	__uint32_t	__fp_pad;
} fpregset_t;

typedef struct {
	gregset_t	__gregs;	 
	fpregset_t 	__fpregs;	 
} mcontext_t;

typedef struct __ucontext {
	unsigned long	uc_flags;
	struct __ucontext *uc_link;
	sigset_t   	uc_sigmask;
	stack_t 	uc_stack;
	mcontext_t 	uc_mcontext;
	long		uc_filler[49];
} ucontext_t;

 

#line 250 "/usr/include/sys/ucontext.h"

#line 289 "/usr/include/sys/ucontext.h"

#line 341 "/usr/include/sys/ucontext.h"

#line 224 "/usr/include/sys/signal.h"

#line 277 "/usr/include/sys/signal.h"

extern void	(*bsd_signal(int, void (*)(int)))(int);
extern int	killpg(pid_t, int);
extern int	sigstack(struct sigstack *, struct sigstack *);

extern void	(*signal(int,void (*)()))();

 
typedef struct sigcontext {
	__uint32_t	sc_regmask;	 
	__uint32_t	sc_status;	 
	__uint64_t	sc_pc;		 

	__uint64_t	sc_regs[32];	 

	__uint64_t	sc_fpregs[32];	 
	__uint32_t	sc_ownedfp;	 
	__uint32_t	sc_fpc_csr;	 
	__uint32_t	sc_fpc_eir;	 
					 
	__uint32_t	sc_ssflags;	 
	__uint64_t	sc_mdhi;	 
	__uint64_t	sc_mdlo;

	__uint64_t	sc_cause;	 
	__uint64_t	sc_badvaddr;	 
	__uint64_t	sc_triggersave;	 
	sigset_t	sc_sigset;	 
	__uint64_t	sc_fp_rounded_result;	 
	__uint64_t	sc_pad[31];
} sigcontext_t;

 

#line 370 "/usr/include/sys/signal.h"

#line 383 "/usr/include/sys/signal.h"

#line 398 "/usr/include/sys/signal.h"

#line 120 "/usr/include/internal/signal_core.h"

typedef int 	sig_atomic_t;
extern int raise(int);

extern int kill(pid_t, int);

extern int sigaction(int, const struct sigaction *, struct sigaction *);
extern int sigpending(sigset_t *);
extern int sigprocmask(int, const sigset_t *, sigset_t *);
extern int sigsuspend(const sigset_t *);
extern int sigaddset(sigset_t *, int);
extern int sigdelset(sigset_t *, int);
extern int sigemptyset(sigset_t *);
extern int sigfillset(sigset_t *);
extern int sigismember(const sigset_t *, int);

extern int sigqueue(pid_t , int, const union sigval);
extern int sigwaitinfo(const sigset_t *, siginfo_t *);
extern int sigtimedwait(const sigset_t *, siginfo_t *, const timespec_t *);
extern int sigwait(const sigset_t *, int *);

#line 1 "./lib/sys/types.h"

#line 169 "/usr/include/internal/signal_core.h"

extern int pthread_kill(pthread_t, int);
extern int pthread_sigmask(int, const sigset_t *, sigset_t *);

extern int sigpause(int);

extern void (*sigset(int,void (*)()))();

extern int sighold(int);
extern int sigrelse(int);
extern int sigignore(int);
extern int siginterrupt(int, int);

extern int _sigaltstack(const stack_t *, stack_t *);
#line 199 "/usr/include/internal/signal_core.h"

extern char *_sys_siglist[];
extern int _sys_nsig;

#line 1 "./lib/sys/types.h"

#line 211 "/usr/include/internal/signal_core.h"
#line 1 "/usr/include/sys/procset.h"

 

#ident "$Revision: 1.12 $"

#line 1 "./lib/sys/types.h"

#line 25 "/usr/include/sys/procset.h"

 

typedef enum idtype

{
	P_PID,		 
	P_PPID,		 
	P_PGID,		 
			 
	P_SID,		 
	P_CID,		 
	P_UID,		 
	P_GID,		 
	P_ALL		 
} idtype_t;

typedef enum idop {
	POP_DIFF,	 

	POP_AND,	 

	POP_OR,		 

	POP_XOR		 

} idop_t;

typedef struct procset {
	idop_t		p_op;	 

	idtype_t	p_lidtype;

	id_t		p_lid;	 

	idtype_t	p_ridtype;

	id_t		p_rid;	 
} procset_t;

#line 114 "/usr/include/sys/procset.h"

#line 125 "/usr/include/sys/procset.h"

#line 212 "/usr/include/internal/signal_core.h"

extern int (*ssignal(int, int (*)(int)))(int);
extern int gsignal(int);
extern int sigsend(idtype_t, id_t, int);
extern int sigsendset(const procset_t *, int);

 

extern int sgi_altersigs(int, sigset_t *, int[]);
extern int sgi_sigffset(sigset_t *, int);
extern int sgi_dumpset(sigset_t *);

#line 5 "/usr/include/signal.h"

#line 37 "./lib/signal.h"

#line 37 "lib/signal.h"

#line 53 "./lib/signal.h"

 
#line 324 "./lib/signal.h"

#line 336 "./lib/signal.h"

#line 353 "./lib/signal.h"

#line 374 "./lib/signal.h"

#line 384 "./lib/signal.h"

#line 396 "./lib/signal.h"

#line 404 "./lib/signal.h"

typedef void (*sighandler_t) (int);
#line 418 "./lib/signal.h"

#line 429 "./lib/signal.h"

#line 465 "./lib/signal.h"

#line 479 "./lib/signal.h"
extern int _gl_cxxalias_dummy;

extern int _gl_cxxalias_dummy;
#line 488 "./lib/signal.h"

#line 509 "./lib/signal.h"

#line 520 "./lib/signal.h"
extern int _gl_cxxalias_dummy;
extern int _gl_cxxalias_dummy;

#line 532 "./lib/signal.h"
extern int _gl_cxxalias_dummy;
extern int _gl_cxxalias_dummy;

#line 545 "./lib/signal.h"
extern int _gl_cxxalias_dummy;
extern int _gl_cxxalias_dummy;

#line 558 "./lib/signal.h"
extern int _gl_cxxalias_dummy;
extern int _gl_cxxalias_dummy;

#line 570 "./lib/signal.h"
extern int _gl_cxxalias_dummy;
extern int _gl_cxxalias_dummy;

extern int _gl_cxxalias_dummy;
extern int _gl_cxxalias_dummy;

#line 592 "./lib/signal.h"
extern int _gl_cxxalias_dummy;

extern int _gl_cxxalias_dummy;

typedef void (*_gl_function_taking_int_returning_void_t) (int);
#line 617 "./lib/signal.h"
extern int _gl_cxxalias_dummy;

extern int _gl_cxxalias_dummy;

#line 664 "./lib/signal.h"

#line 738 "./lib/signal.h"

extern int _gl_cxxalias_dummy;

extern int _gl_cxxalias_dummy;

#line 750 "./lib/signal.h"

#line 104 "./lib/sys/select.h"

#line 131 "./lib/sys/select.h"

#line 388 "./lib/sys/select.h"

#line 405 "./lib/sys/select.h"

#line 426 "./lib/sys/select.h"

#line 436 "./lib/sys/select.h"

#line 467 "./lib/sys/select.h"

#line 549 "./lib/sys/select.h"

#line 581 "./lib/sys/select.h"

#line 593 "./lib/sys/select.h"
extern int _gl_cxxalias_dummy;

extern int _gl_cxxalias_dummy;
#line 607 "./lib/sys/select.h"

#line 95 "lib/sys/select.h"

#line 1 "./lib/signal.h"

#line 39 "./lib/signal.h"

#line 104 "lib/sys/select.h"

#line 95 "./lib/sys/select.h"

#line 1 "./lib/signal.h"

#line 39 "./lib/signal.h"

#line 104 "./lib/sys/select.h"

#line 179 "/usr/include/sys/time.h"

extern int select(int, fd_set *, fd_set *, fd_set *, struct timeval *);
#line 196 "/usr/include/sys/time.h"

extern int adjtime(struct timeval *, struct timeval *);
extern int BSDgettimeofday(struct timeval *, struct timezone *);
extern int BSDsettimeofday(struct timeval *, struct timezone *);
extern int utimets(const char *, const struct timespec [2]);

#pragma optional utimets

extern int rpl_gettimeofday(struct timeval *,...);
extern int settimeofday(struct timeval *,...);

#line 1 "./lib/time.h"

 
#line 36 "./lib/time.h"

#line 1 "lib/time.h"

 

#line 1 "./lib/time.h"

 

#line 1 "/usr/include/time.h"

#line 1 "/usr/include/internal/time_core.h"

#ident "$Revision: 1.7 $"

 

#line 1 "./lib/sys/types.h"

#line 35 "/usr/include/internal/time_core.h"

#line 53 "/usr/include/internal/time_core.h"

#line 63 "/usr/include/internal/time_core.h"

#line 73 "/usr/include/internal/time_core.h"

#line 1 "/usr/include/sys/ptimers.h"

#ident "$Id: ptimers.h,v 1.5 2002/08/07 15:19:38 murthy Exp $"

typedef struct itimerspec {
	timespec_t it_interval;	 
	timespec_t it_value;	 
} itimerspec_t;

 

#line 61 "/usr/include/sys/ptimers.h"

#line 82 "/usr/include/internal/time_core.h"

#line 93 "/usr/include/internal/time_core.h"

struct	tm {	 
	int	tm_sec;
	int	tm_min;
	int	tm_hour;
	int	tm_mday;
	int	tm_mon;
	int	tm_year;
	int	tm_wday;
	int	tm_yday;
	int	tm_isdst;
};

 

extern clock_t clock(void);			
extern double difftime(time_t, time_t);		
extern time_t mktime(struct tm *);		
extern time_t time(time_t *);			

extern char *asctime(const struct tm *);		
extern char *ctime (const time_t *);		
extern struct tm *gmtime(const time_t *);		
extern struct tm *localtime(const time_t *);	
extern size_t strftime(char * __restrict, size_t, const char * __restrict, const struct tm * __restrict);

extern uint64_t rdrtc(void);

#pragma optional rdrtc

extern void tzset(void);
extern char *tzname[2];

extern long _sysconf(int);

struct sigevent;
extern int clock_settime(clockid_t, const timespec_t *);
extern int clock_gettime(clockid_t, timespec_t *);
extern int clock_getres(clockid_t, timespec_t *);
extern int nanosleep(const timespec_t *, timespec_t *);
extern int timer_create(clockid_t, struct sigevent *, timer_t *);
extern int timer_delete(timer_t);
extern int timer_settime(timer_t, int, const struct itimerspec *, struct itimerspec *);
extern int timer_gettime(timer_t, struct itimerspec *);
extern int timer_getoverrun(timer_t);

#pragma optional nanosleep

extern time_t timezone;
extern int daylight;
extern char *strptime(const char *, const char *, struct tm *);

extern struct tm *getdate(const char *);
extern int getdate_err;

extern int cftime(char *, char *, const  time_t *);
extern int ascftime(char *, const char *, const struct tm *);
extern time_t altzone;

extern char *asctime_r(const struct tm *, char *);
extern char *ctime_r(const  time_t *, char *);
extern struct tm *gmtime_r(const  time_t *,
                           struct tm *);
extern struct tm *localtime_r(const  time_t *,
                              struct tm *);

#line 5 "/usr/include/time.h"

#line 34 "./lib/time.h"

#line 34 "lib/time.h"

#line 40 "./lib/time.h"

#line 300 "./lib/time.h"

#line 312 "./lib/time.h"

#line 329 "./lib/time.h"

#line 350 "./lib/time.h"

#line 360 "./lib/time.h"

#line 400 "./lib/time.h"

struct __time_t_must_be_integral {
  unsigned int __floating_time_t_unsupported : (time_t) 1;
};

extern int rpl_nanosleep (struct timespec const *__rqtp, struct timespec *__rmtp);

extern int _gl_cxxalias_dummy;
#line 435 "./lib/time.h"
extern int _gl_cxxalias_dummy;

extern time_t rpl_mktime (struct tm *__tp);
extern int _gl_cxxalias_dummy;

extern int _gl_cxxalias_dummy;

#line 472 "./lib/time.h"
extern int _gl_cxxalias_dummy;

extern int _gl_cxxalias_dummy;
#line 494 "./lib/time.h"
extern int _gl_cxxalias_dummy;

extern int _gl_cxxalias_dummy;

#line 517 "./lib/time.h"

#line 535 "./lib/time.h"

#line 559 "./lib/time.h"

#line 236 "/usr/include/sys/time.h"

#line 31 "./lib/sys/time.h"

#line 31 "lib/sys/time.h"

#line 31 "./lib/sys/time.h"

#line 83 "lib/sys/select.h"

 
#line 1 "./lib/sys/select.h"

 
#line 66 "./lib/sys/select.h"

#line 95 "lib/sys/select.h"

#line 1 "./lib/signal.h"

#line 39 "./lib/signal.h"

#line 104 "lib/sys/select.h"

#line 55 "./lib/sys/select.h"

#line 45 "/usr/include/sys/bsd_types.h"

#line 407 "/usr/include/sys/types.h"

typedef __uint64_t k_sigset_t;	 
#line 419 "/usr/include/sys/types.h"

#line 537 "/usr/include/sys/types.h"

#line 28 "./lib/sys/types.h"

#line 28 "lib/sys/types.h"

#line 28 "./lib/sys/types.h"

#line 21 "lib/acl.h"
#line 1 "./lib/sys/stat.h"

 

#line 35 "./lib/sys/stat.h"

#line 1 "./lib/sys/types.h"

#line 42 "./lib/sys/stat.h"

#line 1 "./lib/time.h"

 

#line 1 "lib/time.h"

 

#line 1 "./lib/time.h"

 

#line 34 "lib/time.h"

#line 34 "./lib/time.h"

#line 45 "./lib/sys/stat.h"

#line 1 "lib/sys/stat.h"

 

#line 35 "lib/sys/stat.h"

#line 1 "./lib/sys/types.h"

#line 42 "lib/sys/stat.h"

#line 1 "./lib/time.h"

 

#line 1 "lib/time.h"

 

#line 1 "./lib/time.h"

 

#line 34 "lib/time.h"

#line 34 "./lib/time.h"

#line 45 "lib/sys/stat.h"

#line 1 "./lib/sys/stat.h"

 

#line 35 "./lib/sys/stat.h"

#line 1 "./lib/sys/types.h"

#line 42 "./lib/sys/stat.h"

#line 1 "./lib/time.h"

 

#line 1 "lib/time.h"

 

#line 1 "./lib/time.h"

 

#line 34 "lib/time.h"

#line 34 "./lib/time.h"

#line 45 "./lib/sys/stat.h"

#line 1 "/usr/include/sys/stat.h"

#ident	"$Revision: 3.64 $"

#line 1 "./lib/sys/types.h"

#line 17 "/usr/include/sys/stat.h"

 
struct	stat {
	dev_t	st_dev;
	long	st_pad1[3];	 
	ino_t	st_ino;
	mode_t	st_mode;
	nlink_t st_nlink;
	uid_t 	st_uid;
	gid_t 	st_gid;
	dev_t	st_rdev;
	long	st_pad2[2];	 
	off_t	st_size;
	long	st_pad3;	 
	timespec_t st_atim;	
	timespec_t st_mtim;	
	timespec_t st_ctim;	
	long	st_blksize;

	blkcnt_t st_blocks;
#line 67 "/usr/include/sys/stat.h"
	char	st_fstype[16];
	long	st_projid;
	long	st_pad4[7];	 
};

struct	stat64 {
	dev_t	st_dev;
	long	st_pad1[3];	 
	ino64_t	st_ino;
	mode_t	st_mode;
	nlink_t st_nlink;
	uid_t 	st_uid;
	gid_t 	st_gid;
	dev_t	st_rdev;
	long	st_pad2[2];	 
	off64_t	st_size;
	long	st_pad3;	 
	timespec_t st_atim;	
	timespec_t st_mtim;	
	timespec_t st_ctim;	
	long	st_blksize;
	blkcnt64_t st_blocks;
	char	st_fstype[16];
	long	st_projid;
	long	st_pad4[7];	 
};

#line 108 "/usr/include/sys/stat.h"

 

#line 158 "/usr/include/sys/stat.h"

#line 166 "/usr/include/sys/stat.h"

 

int _fxstat(const int, int, struct stat *);
int _xstat(const int, const char *, struct stat *);
int _lxstat(const int, const char *, struct stat *);
int _xmknod(const int, const char *, mode_t, dev_t);

int fchmod(int, mode_t);

extern int chmod(const char *, mode_t);
extern int mkdir(const char *, mode_t);
extern int mkfifo(const char *, mode_t);
extern mode_t umask(mode_t);

#line 274 "/usr/include/sys/stat.h"

int fstat(int, struct stat *);
int stat(const char *, struct stat *);

int lstat(const char *, struct stat *);
int mknod(const char *, mode_t, dev_t);

int fstat64(int, struct stat64 *);
int lstat64(const char *, struct stat64 *);
int stat64(const char *, struct stat64 *);

#line 48 "./lib/sys/stat.h"

#line 308 "./lib/sys/stat.h"

#line 320 "./lib/sys/stat.h"

#line 337 "./lib/sys/stat.h"

#line 358 "./lib/sys/stat.h"

#line 368 "./lib/sys/stat.h"

 

#line 410 "./lib/sys/stat.h"

#line 418 "./lib/sys/stat.h"

#line 426 "./lib/sys/stat.h"

#line 434 "./lib/sys/stat.h"

#line 446 "./lib/sys/stat.h"

#line 454 "./lib/sys/stat.h"

#line 464 "./lib/sys/stat.h"

#line 476 "./lib/sys/stat.h"

#line 484 "./lib/sys/stat.h"

#line 496 "./lib/sys/stat.h"

#line 504 "./lib/sys/stat.h"

#line 522 "./lib/sys/stat.h"

#line 530 "./lib/sys/stat.h"

 

 
#line 559 "./lib/sys/stat.h"

#line 577 "./lib/sys/stat.h"

#line 590 "./lib/sys/stat.h"

#line 603 "./lib/sys/stat.h"

#line 613 "./lib/sys/stat.h"

extern int fchmodat (int fd, char const *file, mode_t mode, int flag);

extern int _gl_cxxalias_dummy;

extern int _gl_cxxalias_dummy;
#line 646 "./lib/sys/stat.h"

#line 657 "./lib/sys/stat.h"
extern int _gl_cxxalias_dummy;

extern int _gl_cxxalias_dummy;
#line 670 "./lib/sys/stat.h"

#line 685 "./lib/sys/stat.h"
extern int fstatat (int fd, char const *name, struct stat *st, int flags);

extern int _gl_cxxalias_dummy;

extern int _gl_cxxalias_dummy;
#line 700 "./lib/sys/stat.h"

#line 716 "./lib/sys/stat.h"
extern int futimens (int fd, struct timespec const times[2]);

extern int _gl_cxxalias_dummy;
#line 730 "./lib/sys/stat.h"

 

extern int _gl_cxxalias_dummy;
#line 767 "./lib/sys/stat.h"

#line 782 "./lib/sys/stat.h"
extern int rpl_lstat (const char *name, struct stat *buf);

extern int _gl_cxxalias_dummy;

extern int _gl_cxxalias_dummy;
#line 798 "./lib/sys/stat.h"

#line 809 "./lib/sys/stat.h"

#line 829 "./lib/sys/stat.h"
extern int _gl_cxxalias_dummy;

extern int _gl_cxxalias_dummy;

#line 849 "./lib/sys/stat.h"

#line 857 "./lib/sys/stat.h"
extern int rpl_mkfifo (char const *file, mode_t mode);

extern int _gl_cxxalias_dummy;
#line 867 "./lib/sys/stat.h"
extern int _gl_cxxalias_dummy;
#line 875 "./lib/sys/stat.h"

#line 891 "./lib/sys/stat.h"

#line 899 "./lib/sys/stat.h"
extern int rpl_mknod (char const *file, mode_t mode, dev_t dev);

extern int _gl_cxxalias_dummy;
#line 910 "./lib/sys/stat.h"
extern int _gl_cxxalias_dummy;
#line 918 "./lib/sys/stat.h"

#line 936 "./lib/sys/stat.h"

#line 994 "./lib/sys/stat.h"
extern int rpl_stat (const char *name, struct stat *buf)
                      ;
#line 1004 "./lib/sys/stat.h"

#line 1023 "./lib/sys/stat.h"
extern int utimensat (int fd, char const *name, struct timespec const times[2], int flag);

extern int _gl_cxxalias_dummy;
#line 1040 "./lib/sys/stat.h"

#line 48 "lib/sys/stat.h"

#line 48 "./lib/sys/stat.h"

#line 22 "lib/acl.h"

int file_has_acl (char const *, struct stat const *);
int qset_acl (char const *, int, mode_t);
int set_acl (char const *, int, mode_t);
int qcopy_acl (char const *, int, char const *, int, mode_t);
int copy_acl (char const *, int, char const *, int, mode_t);
int chmod_or_fchmod (char const *, int, mode_t);
#line 25 "lib/set-mode-acl.c"

#line 1 "lib/acl-internal.h"

#line 1 "lib/acl.h"

#line 1 "./lib/sys/types.h"

#line 21 "lib/acl.h"
#line 1 "./lib/sys/stat.h"

 

#line 35 "./lib/sys/stat.h"

#line 22 "lib/acl.h"

int file_has_acl (char const *, struct stat const *);
int qset_acl (char const *, int, mode_t);
int set_acl (char const *, int, mode_t);
int qcopy_acl (char const *, int, char const *, int, mode_t);
int copy_acl (char const *, int, char const *, int, mode_t);
int chmod_or_fchmod (char const *, int, mode_t);
#line 21 "lib/acl-internal.h"

#line 1 "/usr/include/stdbool.h"

#line 23 "lib/acl-internal.h"
#line 1 "./lib/stdlib.h"

#line 31 "./lib/stdlib.h"

#line 1 "lib/stdlib.h"

#line 31 "lib/stdlib.h"

#line 1 "./lib/stdlib.h"

#line 31 "./lib/stdlib.h"

#line 1 "/usr/include/stdlib.h"

#line 1 "/usr/include/internal/stdlib_core.h"

#ident "$Revision: 1.6 $"

 

 

#line 64 "/usr/include/internal/stdlib_core.h"

#line 87 "/usr/include/internal/stdlib_core.h"

#line 102 "/usr/include/internal/stdlib_core.h"

#line 112 "/usr/include/internal/stdlib_core.h"

typedef	struct {
	 int	quot;
	 int	rem;
	} div_t;

typedef struct {
	 long	quot;
	 long	rem;
	} ldiv_t;

typedef struct {
	 long long	quot;
	 long long	rem;
	} lldiv_t;

#line 145 "/usr/include/internal/stdlib_core.h"

#line 1 "/usr/include/internal/locale_attr_core.h"

#ident "$Revision: 1.2 $"

 

typedef struct {

    unsigned int	_class [ 257 ];
    signed short	_lower [ 257 ];
    signed short	_upper [ 257 ];

    char		_cswidth [ 7 ];
    char		_fill [ 1 ];

} __ctype_t;

typedef int	(*__isset_func_t)(int);

	typedef long	wint_t;

typedef int	(*__iscodeset_func_t)(int,  wint_t);

typedef struct __attr {

    __ctype_t *		_ctype_tbl;	 

    struct _csinfo {			 
	unsigned char	_eucwidth[3];	 
	unsigned char	_scrwidth[3];	 
	unsigned char	_mb_cur_max;	 
    } _csinfo;

    struct _euc_func {			 
	int		_is_euc;	 
	__isset_func_t	_isset2;	 
	__isset_func_t	_isset3;	 
	__iscodeset_func_t _iscodeset;	 
    } _euc_func;

    struct _collate_res {		 
	unsigned char	_coll_as_cmp;	 
    } _collate_res;

    void *		_fill[15];	 
} __attr_t;

extern __attr_t __libc_attr;

#line 149 "/usr/include/internal/stdlib_core.h"

 

extern double atof(const char *);

extern int atoi(const char *);
extern long int atol(const char *);

extern long long atoll(const char *);

extern double strtod(const char * __restrict, char ** __restrict);

extern float strtof(const char * __restrict, char ** __restrict);

#pragma optional strtof

extern long double strtold(const char * __restrict, char ** __restrict);

extern long int strtol(const char * __restrict, char ** __restrict, int);

extern long long strtoll(const char * __restrict, char ** __restrict, int);

extern unsigned long int strtoul(const char * __restrict, char ** __restrict, int);

extern unsigned long long strtoull(const char * __restrict, char ** __restrict, int);

extern int rand(void);

extern void srand(unsigned int);

extern void *calloc(size_t, size_t);

extern void free(void *);

extern void *malloc(size_t);

extern void *realloc(void *, size_t);

#pragma intrinsic (calloc)
#pragma intrinsic (free)
#pragma intrinsic (malloc)
#pragma intrinsic (realloc)

extern void abort(void);

extern int atexit(void (*)(void));

extern void exit(int);

#pragma intrinsic (exit)

extern void _Exit(int);

extern char *getenv(const char *);

extern int system(const char *);

extern void *bsearch(const void *, const void *, size_t, size_t,
	int (*)(const void *, const void *));

extern void qsort(void *, size_t, size_t,
	int (*)(const void *, const void *));

#line 253 "/usr/include/internal/stdlib_core.h"
extern int abs(int);

extern long int labs(long);

extern long long llabs(long long);

#pragma intrinsic (abs)

#pragma intrinsic (labs)

#pragma intrinsic (llabs)

extern div_t div(int, int);
extern ldiv_t ldiv(long, long);

extern lldiv_t lldiv(long long, long long);

extern int mblen(const char *, size_t);

extern int mbtowc(wchar_t * __restrict, const char * __restrict, size_t);

extern int wctomb(char *, wchar_t);

extern size_t mbstowcs(wchar_t * __restrict, const char * __restrict, size_t);

extern size_t wcstombs(char * __restrict, const wchar_t * __restrict, size_t);

extern int	putenv(const char *);

extern double	drand48(void);
extern double	erand48(unsigned short [3]);
extern long	lrand48(void);
extern long	nrand48(unsigned short [3]);
extern long	mrand48(void);
extern long	jrand48(unsigned short [3]);
extern void	srand48(long);
extern void	lcong48(unsigned short int [7]);
extern void     setkey(const char *);
extern unsigned short * seed48(unsigned short int [3]);

extern long a64l(const char *);
extern char *ecvt(double, int, int *, int *);
extern char *fcvt(double, int, int *, int *);
extern char *gcvt(double, int, char *);
extern int getsubopt(char **, char * const *, char **);
extern int grantpt(int);
extern char *initstate(unsigned int, char *,  size_t);
extern char *l64a(long);
extern char *mktemp(char *);
extern int mkstemp(char *);
extern char *ptsname(int);
extern long random(void);
extern char *realpath(const char *, char *);
extern char *setstate(const char *);
extern void srandom(unsigned);
extern int ttyslot(void);
extern int unlockpt(int);
extern void *valloc( size_t);

#pragma intrinsic (valloc)

extern int rand_r(unsigned int *);

#line 1 "./lib/getopt.h"

 
#line 1 "lib/getopt.h"

 
#line 1 "./lib/getopt.h"

 
#line 1 "/usr/include/getopt.h"

#ident "$Revision: 1.13 $"

extern int	getopt(int, char *const *, const char *);

extern char	*optarg;
extern int	opterr;
extern int	optind;
extern int	optopt;

#line 56 "/usr/include/getopt.h"

extern int	getsubopt(char **, char *const *, char **);
extern void	getoptreset(void);

#line 33 "./lib/getopt.h"

#line 81 "./lib/getopt.h"

#line 105 "./lib/getopt.h"

#line 1 "./lib/ctype.h"

 

 
#line 1 "lib/ctype.h"

 

 
#line 1 "./lib/ctype.h"

 

 
#line 1 "/usr/include/ctype.h"

#line 1 "/usr/include/internal/ctype_core.h"

#ident "$Revision: 1.4 $"

 

#line 44 "/usr/include/internal/ctype_core.h"

#line 62 "/usr/include/internal/ctype_core.h"

extern int isalnum(int);
extern int isalpha(int);

extern int isblank(int);

#pragma optional isblank

extern int __isblank(int);

extern int iscntrl(int);
extern int isdigit(int);
extern int isgraph(int);
extern int islower(int);
extern int isprint(int);
extern int ispunct(int);
extern int isspace(int);
extern int isupper(int);
extern int isxdigit(int);
extern int tolower(int);
extern int toupper(int);

extern int isascii(int);        
extern int toascii(int);        

extern int _tolower(int);
extern int _toupper(int);

#line 121 "/usr/include/internal/ctype_core.h"

#line 128 "/usr/include/internal/ctype_core.h"

#line 163 "/usr/include/internal/ctype_core.h"

#line 189 "/usr/include/internal/ctype_core.h"

#line 5 "/usr/include/ctype.h"

#line 36 "./lib/ctype.h"

#line 296 "./lib/ctype.h"

#line 313 "./lib/ctype.h"

#line 334 "./lib/ctype.h"

#line 344 "./lib/ctype.h"

#line 357 "./lib/ctype.h"

#line 36 "lib/ctype.h"

#line 36 "./lib/ctype.h"

#line 115 "./lib/getopt.h"

#line 127 "./lib/getopt.h"

#line 139 "./lib/getopt.h"

extern char *rpl_optarg;

extern int rpl_optind;

extern int rpl_opterr;

extern int rpl_optopt;

struct rpl_option
{
  const char *name;

  int has_arg;
  int *flag;
  int val;
};

 

extern int rpl_getopt (int ___argc, char *const *___argv, const char *__shortopts)
        ;

extern int rpl_getopt_long (int ___argc, char * *___argv,
                        const char *__shortopts,
                        const struct rpl_option *__longopts, int *__longind)
        ;
extern int rpl_getopt_long_only (int ___argc, char * *___argv,
                             const char *__shortopts,
                             const struct rpl_option *__longopts, int *__longind)
        ;

#line 33 "lib/getopt.h"

#line 33 "./lib/getopt.h"

#line 345 "/usr/include/internal/stdlib_core.h"

extern int atcheckpoint(void (*)(void));
extern int atrestart(void (*)(void));
extern int dup2(int, int);
extern int getpw(int, char *);
extern char *getcwd(char *,  size_t);
extern char *getlogin(void);
extern char *gnu_getpass(const char *);
extern int isatty(int);
extern void l3tol(long *, const char *, int);
extern void ltol3(char *, const long *, int);
extern void *memalign( size_t,  size_t);

#pragma intrinsic (memalign)
extern void swab(const void *, void *, ssize_t);
extern char *ttyname(int);

extern long double atold(const char *);
extern char *qecvt(long double, int, int *, int *);
extern char *qfcvt(long double, int, int *, int *);
extern char *qgcvt(long double, int, char *);
extern char *ecvtl(long double, int, int *, int *);
extern char *fcvtl(long double, int, int *, int *);
extern char *gcvtl(long double, int, char *);

extern char *ecvt_r(double, int, int *, int *, char *);
extern char *fcvt_r(double, int, int *, int *, char *);

extern char *qecvt_r(long double, int, int *, int *, char *);
extern char *qfcvt_r(long double, int, int *, int *, char *);
extern char *ecvtl_r(long double, int, int *, int *, char *);
extern char *fcvtl_r(long double, int, int *, int *, char *);

#line 414 "/usr/include/internal/stdlib_core.h"

#line 5 "/usr/include/stdlib.h"

#line 37 "./lib/stdlib.h"

 

 

#line 90 "./lib/stdlib.h"

 
#line 1 "./lib/unistd.h"

 
#line 1 "lib/unistd.h"

 
#line 1 "./lib/unistd.h"

 
#line 1 "/usr/include/unistd.h"

#ident "$Revision: 1.146 $"

 

#line 39 "/usr/include/unistd.h"

#line 52 "/usr/include/unistd.h"

 

 

#line 102 "/usr/include/unistd.h"

#line 110 "/usr/include/unistd.h"

 

#line 222 "/usr/include/unistd.h"

#line 254 "/usr/include/unistd.h"

#line 268 "/usr/include/unistd.h"

 

#line 1 "./lib/sys/types.h"

#line 279 "/usr/include/unistd.h"
#line 1 "/usr/include/sys/unistd.h"

 

#line 65 "/usr/include/sys/unistd.h"

#line 97 "/usr/include/sys/unistd.h"

#line 115 "/usr/include/sys/unistd.h"

#line 127 "/usr/include/sys/unistd.h"

					 

 
#line 152 "/usr/include/sys/unistd.h"

#line 191 "/usr/include/sys/unistd.h"

#line 280 "/usr/include/unistd.h"

extern int access(const char *, int);
extern unsigned alarm(unsigned);
extern int chdir(const char *);
extern int chown(const char *, uid_t, gid_t);
extern int close(int);
extern char *ctermid(char *);
extern char *cuserid(char *);
extern int dup(int);
extern int dup2(int, int);
extern int execl(const char *, const char *, ...);
extern int execle(const char *, const char *, ...);
extern int execlp(const char *, const char *, ...);
extern int execv(const char *, char *const *);
extern int execve(const char *, char *const *, char *const *);
extern int execvp(const char *, char *const *);
extern void _exit(int);
extern pid_t fork(void);
extern long fpathconf(int, int);

extern char *getcwd(char *, size_t);     
extern gid_t getegid(void);
extern uid_t geteuid(void);
extern gid_t getgid(void);

extern int getgroups(int, gid_t *);

extern char *getlogin(void);

extern pid_t getpgrp(void);

extern pid_t getpid(void);
extern pid_t getppid(void);
extern uid_t getuid(void);
extern int isatty(int);

extern int link(const char *, const char *);
extern int linkfollow(const char *, const char *);
#line 338 "/usr/include/unistd.h"
extern off_t lseek(int, off_t, int);
extern long pathconf(const char *, int);
extern int pause(void);
extern int pipe(int *);
extern ssize_t read(int, void *, size_t);
extern int rmdir(const char *);
extern int setgid(gid_t);
extern int setpgid(pid_t, pid_t);
extern pid_t setsid(void);
extern int setuid(uid_t);
extern unsigned sleep(unsigned);
extern long sysconf(int);
extern pid_t tcgetpgrp(int);
extern int tcsetpgrp(int, pid_t);
extern char *ttyname(int);
extern int unlink(const char *);
extern ssize_t write(int, const void *, size_t);

extern int fdatasync(int);

extern int fsync(int);

extern int ftruncate(int, off_t);	

extern int getlogin_r(char *, size_t);
extern int ttyname_r(int, char *, size_t);
extern int pthread_atfork(void (*)(void), void (*)(void), void (*)(void));

extern size_t   confstr(int, char *, size_t);

extern int chroot(const char *);
extern int nice(int);
extern char     *crypt(const char *, const char *);
extern void     encrypt(char *, int);
extern char     *gnu_getpass(const char *);
extern void     swab(const void *, void *, ssize_t);

extern int brk(void *);
extern int fchown(int, uid_t, gid_t);
extern int fchdir(int);
extern int getdtablesize(void);
extern long gethostid(void);
extern int gethostname(char *, size_t);
extern int getpagesize(void);
extern pid_t getpgid(pid_t);
extern pid_t getsid(pid_t);
extern char *getwd(char *);
extern int lchown(const char *, uid_t, gid_t);
extern int lockf(int, int, off_t);
extern int readlink(const char *, char *, size_t);
extern void *sbrk(ssize_t);

extern pid_t setpgrp(void);

extern int setregid(gid_t, gid_t);
#line 445 "/usr/include/unistd.h"

extern int setreuid(uid_t, uid_t);
extern int symlink(const char *, const char *);
extern void sync(void);
extern int truncate(const char *, off_t);
extern useconds_t ualarm(useconds_t, useconds_t);
extern int usleep(useconds_t);
#line 466 "/usr/include/unistd.h"
extern ssize_t pread(int, void *, size_t, off_t);
extern ssize_t pwrite(int, const void *, size_t, off_t);

 
struct timeval;
extern int select(int, fd_set *, fd_set *, fd_set *, struct timeval *);

#line 1 "./lib/sys/uio.h"

 
#line 1 "./lib/sys/types.h"

#line 29 "./lib/sys/uio.h"

#line 1 "lib/sys/uio.h"

 
#line 1 "./lib/sys/types.h"

#line 29 "lib/sys/uio.h"

#line 1 "./lib/sys/uio.h"

 
#line 1 "./lib/sys/types.h"

#line 29 "./lib/sys/uio.h"

#line 1 "/usr/include/sys/uio.h"

 

#ident	"@(#)uts-3b2:io/uio.h	1.2"
#ident	"$Revision: 1.25 $"

#line 1 "./lib/sys/types.h"

#line 27 "/usr/include/sys/uio.h"

typedef struct iovec {
        void *iov_base;
        size_t  iov_len;
} iovec_t;

extern ssize_t readv(int, const struct iovec *, int);
extern ssize_t writev(int, const struct iovec *, int);

#line 96 "/usr/include/sys/uio.h"

#line 32 "./lib/sys/uio.h"

#line 62 "./lib/sys/uio.h"

#line 32 "lib/sys/uio.h"

#line 32 "./lib/sys/uio.h"

#line 489 "/usr/include/unistd.h"
#line 1 "/usr/include/utime.h"

#ident "$Revision: 1.10 $"

 

#line 1 "/usr/include/sys/utime.h"

 

#line 1 "./lib/sys/types.h"

#line 16 "/usr/include/sys/utime.h"

struct utimbuf {
	time_t actime;		 
	time_t modtime;		 
};

#line 32 "/usr/include/utime.h"

extern int utime(const char *, const struct utimbuf *);

#line 490 "/usr/include/unistd.h"
#line 1 "/usr/include/re_comp.h"

#ident "$Revision: 1.2 $"

extern char *rpl_re_comp(const char *);
extern int rpl_re_exec(const char *);

#line 491 "/usr/include/unistd.h"

extern int acct(const char *);

extern void exit(int);

extern char *gettxt(const char *, const char *);
extern int profil(unsigned short *, unsigned int, unsigned int, unsigned int);
#line 507 "/usr/include/unistd.h"
extern int ptrace(int, pid_t, int, int);

extern int rename(const char *, const char *);	 

extern int seteuid(uid_t);
extern int setegid(gid_t);
extern int stime(const time_t *);
extern off_t tell(int);

struct acct_spi;	 
extern int atfork_child(void (*func)(void));
extern int atfork_child_prepend(void (*func)(void));
extern int atfork_parent(void (*func)(int, int));
extern int atfork_pre(void (*func)(void));
extern int atsproc_child(void (*func)(void));
extern int atsproc_parent(void (*func)(int, int));
extern int atsproc_pre(void (*func)(unsigned int));
extern void bset(char *, bitnum_t);
extern void bclr(char *, bitnum_t);
extern int btst(char *, bitnum_t);
extern void bfset(char *, bitnum_t, bitlen_t);
extern void bfclr(char *, bitnum_t, bitlen_t);
extern bitlen_t bftstset(char *, bitnum_t, bitlen_t);
extern bitlen_t bftstclr(char *, bitnum_t, bitlen_t);
extern int BSDchown(const char *, uid_t, gid_t);
extern int BSDdup2(int, int);
extern int BSDfchown(int, uid_t, gid_t);
extern int BSDgetpgrp(int);
extern int BSDsetpgrp(int, int);
extern int BSDsetgroups(int, int *);
extern int BSDgetgroups(int, int *);
extern int _daemonize(int, int, int, int);
extern ash_t getash(void);
extern int getdtablehi(void);
extern int getdomainname(char *, int);
extern prid_t getprid(void);
extern char *_getpty(int *, int, mode_t, int);
extern int getspinfo(struct acct_spi *);
extern int mincore(caddr_t, size_t, char *);
extern int mpin(void *, size_t);
extern int munpin(void *, size_t);
extern int newarraysess(void);
extern pid_t pcreatel(const char *, const char *, ...);
extern pid_t pcreatelp(const char *, const char *, ...);
extern pid_t pcreatev(const char *, char *const *);
extern pid_t pcreateve(const char *, char *const *, char *const *);
extern pid_t pcreatevp(const char *, char *const *);

extern ssize_t pread64(int, void *, size_t, off64_t);
extern ssize_t pwrite64(int, const void *, size_t, off64_t);

extern int rexecl(cell_t, const char *, const char *, ...);
extern int rexecle(cell_t, const char *, const char *, ...);
extern int rexeclp(cell_t, const char *, const char *, ...);
extern int rexecv(cell_t, const char *, char *const *);
extern int rexecve(cell_t, const char *, char *const *, char *const *);
extern int rexecvp(cell_t, const char *, char *const *);
extern float _sqrt_s(float);
extern double _sqrt_d(double);
extern int setash(ash_t);
extern int setdomainname(const char *, int);

extern int setgroups(int, const gid_t *);

extern int sethostid(int);
extern int sethostname(const char *, int);
extern int setprid(prid_t);
extern int setrgid(gid_t);
extern int setruid(uid_t);
extern int setspinfo(struct acct_spi *);
extern int sgikopt(const char *, char *, int);
extern long sginap(long);
extern off64_t tell64(int);
extern int vhangup(void);

extern int fattach(int, const char *);
extern int fdetach(const char *);
extern int ioctl(int, int, ...);

extern int ftruncate64(int, off64_t);
extern int lockf64(int, int, off64_t);
extern off64_t lseek64(int, off64_t, int);
extern int truncate64(const char *, off64_t);

#line 28 "./lib/unistd.h"

#line 37 "./lib/unistd.h"

 

#line 53 "./lib/unistd.h"

 

 
#line 1 "./lib/stdlib.h"

 

#line 1 "lib/stdlib.h"

 

#line 1 "./lib/stdlib.h"

 

#line 29 "lib/stdlib.h"

#line 29 "./lib/stdlib.h"

#line 69 "./lib/unistd.h"

#line 87 "./lib/unistd.h"

 

#line 1 "./lib/sys/types.h"

#line 109 "./lib/unistd.h"

 
#line 378 "./lib/unistd.h"

#line 390 "./lib/unistd.h"

#line 407 "./lib/unistd.h"

#line 428 "./lib/unistd.h"

#line 438 "./lib/unistd.h"

#line 514 "./lib/unistd.h"

#line 526 "./lib/unistd.h"

#line 534 "./lib/unistd.h"

extern int _gl_cxxalias_dummy;
extern int _gl_cxxalias_dummy;
#line 556 "./lib/unistd.h"

extern int rpl_chown (const char *file, uid_t uid, gid_t gid);

extern int _gl_cxxalias_dummy;
#line 579 "./lib/unistd.h"
extern int _gl_cxxalias_dummy;
#line 588 "./lib/unistd.h"

#line 600 "./lib/unistd.h"
extern int _gl_cxxalias_dummy;

extern int _gl_cxxalias_dummy;
#line 612 "./lib/unistd.h"

#line 622 "./lib/unistd.h"
extern int _gl_cxxalias_dummy;

extern int _gl_cxxalias_dummy;
#line 632 "./lib/unistd.h"

#line 650 "./lib/unistd.h"
extern int _gl_cxxalias_dummy;

extern int _gl_cxxalias_dummy;
#line 660 "./lib/unistd.h"

#line 689 "./lib/unistd.h"

#line 702 "./lib/unistd.h"
extern char **environ;
#line 721 "./lib/unistd.h"

extern int euidaccess (const char *filename, int mode);

extern int _gl_cxxalias_dummy;
extern int _gl_cxxalias_dummy;
#line 744 "./lib/unistd.h"

extern int faccessat (int fd, char const *file, int mode, int flag);

extern int _gl_cxxalias_dummy;

extern int _gl_cxxalias_dummy;
#line 762 "./lib/unistd.h"

#line 785 "./lib/unistd.h"
extern int _gl_cxxalias_dummy;
extern int _gl_cxxalias_dummy;
#line 794 "./lib/unistd.h"

#line 809 "./lib/unistd.h"
extern int fchownat (int fd, char const *file, uid_t owner, gid_t group, int flag);

extern int _gl_cxxalias_dummy;

extern int _gl_cxxalias_dummy;
#line 824 "./lib/unistd.h"

extern int _gl_cxxalias_dummy;
extern int _gl_cxxalias_dummy;
#line 843 "./lib/unistd.h"

extern int _gl_cxxalias_dummy;
extern int _gl_cxxalias_dummy;
#line 862 "./lib/unistd.h"

#line 880 "./lib/unistd.h"
extern int _gl_cxxalias_dummy;

extern int _gl_cxxalias_dummy;
#line 890 "./lib/unistd.h"

extern char * rpl_getcwd (char *buf, size_t size);
extern int _gl_cxxalias_dummy;

extern int _gl_cxxalias_dummy;
#line 922 "./lib/unistd.h"

#line 958 "./lib/unistd.h"

extern int _gl_cxxalias_dummy;
extern int _gl_cxxalias_dummy;
#line 975 "./lib/unistd.h"

#line 994 "./lib/unistd.h"
extern int _gl_cxxalias_dummy;

extern int _gl_cxxalias_dummy;
#line 1004 "./lib/unistd.h"

#line 1027 "./lib/unistd.h"

extern int _gl_cxxalias_dummy;

extern int _gl_cxxalias_dummy;
#line 1043 "./lib/unistd.h"

extern int _gl_cxxalias_dummy;
extern int _gl_cxxalias_dummy;
#line 1068 "./lib/unistd.h"

#line 1109 "./lib/unistd.h"

#line 1178 "./lib/unistd.h"
 
extern int _gl_cxxalias_dummy;

extern int _gl_cxxalias_dummy;
#line 1191 "./lib/unistd.h"

extern char * getusershell (void);

extern int _gl_cxxalias_dummy;
extern int _gl_cxxalias_dummy;
#line 1208 "./lib/unistd.h"

extern void setusershell (void);

extern int _gl_cxxalias_dummy;
extern int _gl_cxxalias_dummy;
#line 1223 "./lib/unistd.h"

extern void endusershell (void);

extern int _gl_cxxalias_dummy;
extern int _gl_cxxalias_dummy;
#line 1239 "./lib/unistd.h"

extern int group_member (gid_t gid);

extern int _gl_cxxalias_dummy;
extern int _gl_cxxalias_dummy;
#line 1255 "./lib/unistd.h"

#line 1266 "./lib/unistd.h"
extern int _gl_cxxalias_dummy;

extern int _gl_cxxalias_dummy;
#line 1276 "./lib/unistd.h"

extern int rpl_lchown (char const *file, uid_t owner, gid_t group);

extern int _gl_cxxalias_dummy;
#line 1299 "./lib/unistd.h"
extern int _gl_cxxalias_dummy;
#line 1307 "./lib/unistd.h"

extern int rpl_link (const char *path1, const char *path2);

extern int _gl_cxxalias_dummy;
#line 1328 "./lib/unistd.h"
extern int _gl_cxxalias_dummy;
#line 1336 "./lib/unistd.h"

#line 1356 "./lib/unistd.h"
extern int linkat (int fd1, const char *path1, int fd2, const char *path2, int flag);

extern int _gl_cxxalias_dummy;

extern int _gl_cxxalias_dummy;
#line 1373 "./lib/unistd.h"

#line 1387 "./lib/unistd.h"
extern int _gl_cxxalias_dummy;

extern int _gl_cxxalias_dummy;
#line 1397 "./lib/unistd.h"

#line 1415 "./lib/unistd.h"

#line 1433 "./lib/unistd.h"
extern int pipe2 (int fd[2], int flags);
extern int _gl_cxxalias_dummy;

extern int _gl_cxxalias_dummy;
#line 1444 "./lib/unistd.h"

#line 1479 "./lib/unistd.h"

#line 1514 "./lib/unistd.h"

#line 1529 "./lib/unistd.h"

extern int _gl_cxxalias_dummy;

extern int _gl_cxxalias_dummy;

extern ssize_t rpl_readlink (const char *file, char *buf, size_t bufsize);

extern int _gl_cxxalias_dummy;
#line 1562 "./lib/unistd.h"
extern int _gl_cxxalias_dummy;
#line 1570 "./lib/unistd.h"

extern ssize_t readlinkat (int fd, char const *file, char *buf, size_t len);

extern int _gl_cxxalias_dummy;

extern int _gl_cxxalias_dummy;
#line 1588 "./lib/unistd.h"

#line 1599 "./lib/unistd.h"
extern int _gl_cxxalias_dummy;

extern int _gl_cxxalias_dummy;
#line 1609 "./lib/unistd.h"

#line 1636 "./lib/unistd.h"

#line 1664 "./lib/unistd.h"

#line 1672 "./lib/unistd.h"
extern int rpl_symlink (char const *contents, char const *file);

extern int _gl_cxxalias_dummy;
#line 1682 "./lib/unistd.h"
extern int _gl_cxxalias_dummy;
#line 1690 "./lib/unistd.h"

#line 1708 "./lib/unistd.h"

#line 1738 "./lib/unistd.h"

#line 1746 "./lib/unistd.h"
extern int rpl_unlink (char const *file);
extern int _gl_cxxalias_dummy;

extern int _gl_cxxalias_dummy;
#line 1759 "./lib/unistd.h"

#line 1772 "./lib/unistd.h"
extern int unlinkat (int fd, char const *file, int flag);

extern int _gl_cxxalias_dummy;

extern int _gl_cxxalias_dummy;
#line 1785 "./lib/unistd.h"

#line 1813 "./lib/unistd.h"

#line 1828 "./lib/unistd.h"

extern int _gl_cxxalias_dummy;

extern int _gl_cxxalias_dummy;

#line 28 "lib/unistd.h"

#line 37 "lib/unistd.h"

#line 28 "./lib/unistd.h"

#line 37 "./lib/unistd.h"

#line 97 "./lib/stdlib.h"

 
#line 118 "./lib/stdlib.h"

#line 375 "./lib/stdlib.h"

#line 387 "./lib/stdlib.h"

#line 404 "./lib/stdlib.h"

#line 425 "./lib/stdlib.h"

#line 435 "./lib/stdlib.h"

 
#line 449 "./lib/stdlib.h"

#line 466 "./lib/stdlib.h"

#line 485 "./lib/stdlib.h"

#line 495 "./lib/stdlib.h"
extern int _gl_cxxalias_dummy;

extern int _gl_cxxalias_dummy;
#line 504 "./lib/stdlib.h"

#line 515 "./lib/stdlib.h"
extern char * canonicalize_file_name (const char *name);

extern int _gl_cxxalias_dummy;

extern int _gl_cxxalias_dummy;
#line 529 "./lib/stdlib.h"

extern int getloadavg (double loadavg[], int nelem);

extern int _gl_cxxalias_dummy;
extern int _gl_cxxalias_dummy;
#line 548 "./lib/stdlib.h"

#line 576 "./lib/stdlib.h"

#line 592 "./lib/stdlib.h"

#line 607 "./lib/stdlib.h"
extern int _gl_cxxalias_dummy;

extern int _gl_cxxalias_dummy;
#line 616 "./lib/stdlib.h"

#line 627 "./lib/stdlib.h"
extern int _gl_cxxalias_dummy;

extern int _gl_cxxalias_dummy;

#line 650 "./lib/stdlib.h"

#line 677 "./lib/stdlib.h"

#line 707 "./lib/stdlib.h"

extern int rpl_mkstemp (char * );
extern int _gl_cxxalias_dummy;
#line 730 "./lib/stdlib.h"
extern int _gl_cxxalias_dummy;
#line 738 "./lib/stdlib.h"

#line 763 "./lib/stdlib.h"

#line 779 "./lib/stdlib.h"

#line 804 "./lib/stdlib.h"

#line 830 "./lib/stdlib.h"

#line 837 "./lib/stdlib.h"
extern int rpl_putenv (char *string);
extern int _gl_cxxalias_dummy;

extern int _gl_cxxalias_dummy;

#line 853 "./lib/stdlib.h"

#line 868 "./lib/stdlib.h"

#line 882 "./lib/stdlib.h"

#line 899 "./lib/stdlib.h"

#line 913 "./lib/stdlib.h"

#line 939 "./lib/stdlib.h"

#line 968 "./lib/stdlib.h"

#line 1001 "./lib/stdlib.h"

#line 1030 "./lib/stdlib.h"

#line 1042 "./lib/stdlib.h"
extern int _gl_cxxalias_dummy;

extern int _gl_cxxalias_dummy;
#line 1051 "./lib/stdlib.h"

#line 1075 "./lib/stdlib.h"

extern int rpmatch (const char *response);

extern int _gl_cxxalias_dummy;
extern int _gl_cxxalias_dummy;
#line 1091 "./lib/stdlib.h"

#line 1107 "./lib/stdlib.h"
extern int setenv (const char *name, const char *value, int replace);

extern int _gl_cxxalias_dummy;

extern int _gl_cxxalias_dummy;
#line 1124 "./lib/stdlib.h"

extern double rpl_strtod (const char *str, char * *endp);

extern int _gl_cxxalias_dummy;
#line 1141 "./lib/stdlib.h"
extern int _gl_cxxalias_dummy;
#line 1149 "./lib/stdlib.h"

extern int _gl_cxxalias_dummy;

extern int _gl_cxxalias_dummy;
#line 1174 "./lib/stdlib.h"

extern int _gl_cxxalias_dummy;

extern int _gl_cxxalias_dummy;
#line 1199 "./lib/stdlib.h"

#line 1215 "./lib/stdlib.h"

#line 1227 "./lib/stdlib.h"
extern int unsetenv (const char *name);

extern int _gl_cxxalias_dummy;

extern int _gl_cxxalias_dummy;
#line 1241 "./lib/stdlib.h"

#line 1256 "./lib/stdlib.h"

#line 37 "lib/stdlib.h"

#line 37 "./lib/stdlib.h"

#line 24 "lib/acl-internal.h"

#line 1 "/usr/include/sys/acl.h"

#ident	"$Revision: 1.13 $"

#line 1 "./lib/sys/types.h"

#line 23 "/usr/include/sys/acl.h"

 

typedef ushort	acl_perm_t;
typedef int	acl_type_t;
typedef int	acl_tag_t;

struct acl_entry {
	acl_tag_t 	ae_tag;
	uid_t	ae_id;
	acl_perm_t	ae_perm;	
};
typedef struct acl_entry * acl_entry_t;

struct acl {
	int			acl_cnt;	 
	struct acl_entry	acl_entry[25];
};

#line 72 "/usr/include/sys/acl.h"

 

typedef struct acl * acl_t;
typedef struct acl_entry * acl_permset_t;  

extern ssize_t acl_copy_ext(void *, acl_t, ssize_t);
extern acl_t acl_copy_int(const void *);
extern int acl_delete_def_file(const char *);
extern int acl_delete_perm(acl_permset_t, acl_perm_t);
extern acl_t acl_dup(acl_t);
extern int acl_free(void *);
extern acl_t acl_from_text(const char *);
extern acl_t acl_get_fd(int);
extern acl_t acl_get_file(const char *, acl_type_t);
extern acl_t acl_init(int);
extern int acl_set_fd(int, acl_t);
extern int acl_set_file(const char *, acl_type_t, acl_t);
extern ssize_t acl_size(acl_t);
extern char *acl_to_text(acl_t, ssize_t *);
extern char *acl_to_short_text(acl_t, ssize_t *);
extern int acl_valid(acl_t);

#line 160 "/usr/include/sys/acl.h"

extern struct acl *sgi_acl_strtoacl(char *);
extern int sgi_acl_acltostr(struct acl *, char *);
extern int sgi_acl_get(char *, int, struct acl *, struct acl *);
extern int sgi_acl_set(char *, int, struct acl *, struct acl *);

extern int dac_installed;	 

#line 28 "lib/acl-internal.h"

 
#line 46 "lib/acl-internal.h"

#line 1 "lib/error.h"

 

extern void error (int __status, int __errnum, const char *__format, ...)
     ;

extern void error_at_line (int __status, int __errnum, const char *__fname,
                           unsigned int __lineno, const char *__format, ...)
     ;

extern void (*error_print_progname) (void);

extern unsigned int error_message_count;

extern int error_one_per_line;

#line 48 "lib/acl-internal.h"
#line 1 "lib/quote.h"

 
extern struct quoting_options quote_quoting_options;

char const *quote_n_mem (int n, char const *arg, size_t argsize);

char const *quote_mem (char const *arg, size_t argsize);

char const *quote_n (int n, char const *arg);

char const *quote (char const *arg);

#line 49 "lib/acl-internal.h"

#line 1 "./lib/errno.h"

 
#line 1 "lib/errno.h"

 
#line 1 "./lib/errno.h"

 
#line 1 "/usr/include/errno.h"

#line 1 "/usr/include/internal/errno_core.h"

#ident "$Revision: 1.2 $"

 

#line 1 "/usr/include/sys/errno.h"

 

#ident	"$Revision: 3.50 $"

#line 43 "/usr/include/sys/errno.h"

#line 95 "/usr/include/sys/errno.h"

#line 104 "/usr/include/sys/errno.h"

#line 119 "/usr/include/sys/errno.h"

#line 129 "/usr/include/sys/errno.h"

#line 141 "/usr/include/sys/errno.h"

	 
#line 161 "/usr/include/sys/errno.h"

#line 172 "/usr/include/sys/errno.h"

#line 180 "/usr/include/sys/errno.h"

 

#line 208 "/usr/include/sys/errno.h"

#line 218 "/usr/include/sys/errno.h"

#line 253 "/usr/include/sys/errno.h"

#line 264 "/usr/include/sys/errno.h"

#line 279 "/usr/include/sys/errno.h"

#line 288 "/usr/include/sys/errno.h"

#line 36 "/usr/include/internal/errno_core.h"

extern char *   sys_errlist[];
extern int      sys_nerr;

extern int      oserror(void);
extern int      setoserror(int);
extern int      goserror(void);

#line 60 "/usr/include/internal/errno_core.h"
extern int errno;

#line 5 "/usr/include/errno.h"

#line 28 "./lib/errno.h"

#line 150 "./lib/errno.h"

#line 166 "./lib/errno.h"

 

#line 273 "./lib/errno.h"

#line 28 "lib/errno.h"

#line 28 "./lib/errno.h"

#line 51 "lib/acl-internal.h"
#line 57 "lib/acl-internal.h"

#line 1 "/usr/include/limits.h"

#line 1 "/usr/include/internal/limits_core.h"

 

#ident "$Revision: 1.3 $"

 
#line 49 "/usr/include/internal/limits_core.h"

#line 67 "/usr/include/internal/limits_core.h"

 

#line 102 "/usr/include/internal/limits_core.h"

#line 115 "/usr/include/internal/limits_core.h"

#line 132 "/usr/include/internal/limits_core.h"

#line 149 "/usr/include/internal/limits_core.h"

extern long _sysconf(int);	

#line 173 "/usr/include/internal/limits_core.h"

 

#line 220 "/usr/include/internal/limits_core.h"

 
#line 250 "/usr/include/internal/limits_core.h"

#line 258 "/usr/include/internal/limits_core.h"

#line 270 "/usr/include/internal/limits_core.h"

#line 291 "/usr/include/internal/limits_core.h"

				 

typedef union _h_val {

        unsigned long i[2];

        double d;
} _h_val;

extern const _h_val __huge_val;

#line 5 "/usr/include/limits.h"

#line 59 "lib/acl-internal.h"

#line 84 "lib/acl-internal.h"

 

#line 118 "lib/acl-internal.h"

#line 137 "lib/acl-internal.h"

 

 

extern int rpl_acl_entries (acl_t);

#line 177 "lib/acl-internal.h"

extern int acl_access_nontrivial (acl_t);

#line 269 "lib/acl-internal.h"

#line 27 "lib/set-mode-acl.c"

#line 1 "lib/gettext.h"

 

#line 1 "/usr/nekoware/include/libintl.h"

#line 1 "./lib/locale.h"

#line 31 "./lib/locale.h"

#line 1 "lib/locale.h"

 

#line 1 "./lib/locale.h"

 

#line 1 "/usr/include/locale.h"

#line 1 "/usr/include/internal/locale_core.h"

#ident "$Revision: 1.2 $"

 

struct 	lconv 	{
	char *decimal_point;
	char *thousands_sep;
	char *grouping;
	char *int_curr_symbol;
	char *currency_symbol;
	char *mon_decimal_point;
	char *mon_thousands_sep;
	char *mon_grouping;
	char *positive_sign;
	char *negative_sign;
	char int_frac_digits;
	char frac_digits;
	char p_cs_precedes;
	char p_sep_by_space;
	char n_cs_precedes;
	char n_sep_by_space;
	char p_sign_posn;
	char n_sign_posn;
#line 63 "/usr/include/internal/locale_core.h"
};

#line 72 "/usr/include/internal/locale_core.h"

extern char *setlocale(int, const char *);
extern struct lconv *localeconv(void);

#line 5 "/usr/include/locale.h"

#line 29 "./lib/locale.h"

#line 29 "lib/locale.h"

#line 39 "./lib/locale.h"

 

#line 309 "./lib/locale.h"

#line 321 "./lib/locale.h"

#line 338 "./lib/locale.h"

#line 359 "./lib/locale.h"

#line 369 "./lib/locale.h"

 

struct rpl_lconv
{

   
  char *decimal_point;

  char *thousands_sep;

  char *grouping;

  char *mon_decimal_point;

  char *mon_thousands_sep;

  char *mon_grouping;
   
  char *positive_sign;
   
  char *negative_sign;

  char *currency_symbol;
   
  char frac_digits;

  char p_cs_precedes;
   
  char p_sign_posn;

  char p_sep_by_space;

  char n_cs_precedes;
   
  char n_sign_posn;

  char n_sep_by_space;

  char *int_curr_symbol;
   
  char int_frac_digits;

  char int_p_cs_precedes;
   
  char int_p_sign_posn;

  char int_p_sep_by_space;

  char int_n_cs_precedes;
   
  char int_n_sign_posn;

  char int_n_sep_by_space;
};

#line 463 "./lib/locale.h"
extern struct rpl_lconv * rpl_localeconv (void);
extern int _gl_cxxalias_dummy;

extern int _gl_cxxalias_dummy;
#line 480 "./lib/locale.h"

#line 501 "./lib/locale.h"

#line 525 "./lib/locale.h"

#line 23 "/usr/nekoware/include/libintl.h"

 

 

extern int libintl_version;

 
#line 104 "/usr/nekoware/include/libintl.h"
 
#line 112 "/usr/nekoware/include/libintl.h"

 
#line 136 "/usr/nekoware/include/libintl.h"
extern char *libintl_gettext (const char *__msgid)
       
       ;

#line 154 "/usr/nekoware/include/libintl.h"
extern char *libintl_dgettext (const char *__domainname, const char *__msgid)
       
       ;

#line 174 "/usr/nekoware/include/libintl.h"
extern char *libintl_dcgettext (const char *__domainname, const char *__msgid,
                        int __category)
       
       ;

#line 196 "/usr/nekoware/include/libintl.h"
extern char *libintl_ngettext (const char *__msgid1, const char *__msgid2,
                       unsigned long int __n)
       
        ;

#line 217 "/usr/nekoware/include/libintl.h"
extern char *libintl_dngettext (const char *__domainname,
                        const char *__msgid1, const char *__msgid2,
                        unsigned long int __n)
       
        ;

#line 241 "/usr/nekoware/include/libintl.h"
extern char *libintl_dcngettext (const char *__domainname,
                         const char *__msgid1, const char *__msgid2,
                         unsigned long int __n, int __category)
       
        ;

#line 263 "/usr/nekoware/include/libintl.h"
extern char *libintl_textdomain (const char *__domainname)
       ;

#line 281 "/usr/nekoware/include/libintl.h"
extern char *libintl_bindtextdomain (const char *__domainname, const char *__dirname)
       ;

#line 299 "/usr/nekoware/include/libintl.h"
extern char *libintl_bind_textdomain_codeset (const char *__domainname,
                                      const char *__codeset)
       ;

#line 427 "/usr/nekoware/include/libintl.h"

#line 445 "/usr/nekoware/include/libintl.h"

 

extern void
       libintl_set_relocation_prefix (const char *orig_prefix,
                                      const char *curr_prefix);

#line 26 "lib/gettext.h"

#line 38 "lib/gettext.h"

#line 94 "lib/gettext.h"

 

#line 139 "lib/gettext.h"

#line 147 "lib/gettext.h"
static const char *
pgettext_aux (const char *domain,
              const char *msg_ctxt_id, const char *msgid,
              int category)
{
  const char *translation = libintl_dcgettext (domain, msg_ctxt_id, category);
  if (translation == msg_ctxt_id)
    return msgid;
  else
    return translation;
}

#line 166 "lib/gettext.h"
static const char *
npgettext_aux (const char *domain,
               const char *msg_ctxt_id, const char *msgid,
               const char *msgid_plural, unsigned long int n,
               int category)
{
  const char *translation =
    libintl_dcngettext (domain, msg_ctxt_id, msgid_plural, n, category);
  if (translation == msg_ctxt_id || translation == msgid_plural)
    return (n == 1 ? msgid : msgid_plural);
  else
    return translation;
}

#line 192 "lib/gettext.h"

#line 1 "./lib/stdlib.h"

#line 31 "./lib/stdlib.h"

#line 195 "lib/gettext.h"

#line 209 "lib/gettext.h"
static const char *
dcpgettext_expr (const char *domain,
                 const char *msgctxt, const char *msgid,
                 int category)
{
  size_t msgctxt_len = strlen (msgctxt) + 1;
  size_t msgid_len = strlen (msgid) + 1;
  const char *translation;

  char buf[1024];
  char *msg_ctxt_id =
    (msgctxt_len + msgid_len <= sizeof (buf)
     ? buf
     : (char *) malloc (msgctxt_len + msgid_len));
  if (msg_ctxt_id != 0L)

    {
      memcpy (msg_ctxt_id, msgctxt, msgctxt_len - 1);
      msg_ctxt_id[msgctxt_len - 1] = '\004';
      memcpy (msg_ctxt_id + msgctxt_len, msgid, msgid_len);
      translation = libintl_dcgettext (domain, msg_ctxt_id, category);

      if (msg_ctxt_id != buf)
        free (msg_ctxt_id);

      if (translation != msg_ctxt_id)
        return translation;
    }
  return msgid;
}

#line 254 "lib/gettext.h"
static const char *
dcnpgettext_expr (const char *domain,
                  const char *msgctxt, const char *msgid,
                  const char *msgid_plural, unsigned long int n,
                  int category)
{
  size_t msgctxt_len = strlen (msgctxt) + 1;
  size_t msgid_len = strlen (msgid) + 1;
  const char *translation;

  char buf[1024];
  char *msg_ctxt_id =
    (msgctxt_len + msgid_len <= sizeof (buf)
     ? buf
     : (char *) malloc (msgctxt_len + msgid_len));
  if (msg_ctxt_id != 0L)

    {
      memcpy (msg_ctxt_id, msgctxt, msgctxt_len - 1);
      msg_ctxt_id[msgctxt_len - 1] = '\004';
      memcpy (msg_ctxt_id + msgctxt_len, msgid, msgid_len);
      translation = libintl_dcngettext (domain, msg_ctxt_id, msgid_plural, n, category);

      if (msg_ctxt_id != buf)
        free (msg_ctxt_id);

      if (!(translation == msg_ctxt_id || translation == msgid_plural))
        return translation;
    }
  return (n == 1 ? msgid : msgid_plural);
}

#line 29 "lib/set-mode-acl.c"

int
chmod_or_fchmod (const char *name, int desc, mode_t mode)
{
  if (1 && desc != -1)
    return fchmod (desc, mode);
  else
    return chmod (name, mode);
}

int
qset_acl (char const *name, int desc, mode_t mode)
{

   

#line 76 "lib/set-mode-acl.c"

  acl_t acl;
  int ret;

  if (0)  
    {
      acl = (0L);
      if (!acl)
        return -1;
    }
  else  
    {

      char acl_text[] = "u::---,g::---,o::---";

      if (mode & 00400) acl_text[ 3] = 'r';
      if (mode & 00200) acl_text[ 4] = 'w';
      if (mode & 00100) acl_text[ 5] = 'x';
      if (mode & 00040) acl_text[10] = 'r';
      if (mode & 00020) acl_text[11] = 'w';
      if (mode & 00010) acl_text[12] = 'x';
      if (mode & 00004) acl_text[17] = 'r';
      if (mode & 00002) acl_text[18] = 'w';
      if (mode & 00001) acl_text[19] = 'x';

      acl = acl_from_text (acl_text);
      if (!acl)
        return -1;
    }
  if (1 && desc != -1)
    ret = acl_set_fd (desc, acl);
  else
    ret = acl_set_file (name, 0, acl);
  if (ret != 0)
    {
      int saved_errno = errno;
      acl_free (acl);

      if (((errno) == 1008 || (errno) == 89 || (errno) == 22 || (errno) == 16 || (errno) == 122))
        return chmod_or_fchmod (name, desc, mode);
      else
        {
          errno = saved_errno;
          return -1;
        }
    }
  else
    acl_free (acl);

  if (((mode&0xF000) == 0x4000) && acl_delete_def_file (name))
    return -1;

  if (!0 || (mode & (0x800 | 0x400 | 0x200)))
    {

      return chmod_or_fchmod (name, desc, mode);
    }
  return 0;

#line 201 "lib/set-mode-acl.c"

#line 688 "lib/set-mode-acl.c"
}

int
set_acl (char const *name, int desc, mode_t mode)
{
  int ret = qset_acl (name, desc, mode);
  if (ret != 0)
    error (0, errno, libintl_gettext ("setting permissions for %s"), quote (name));
  return ret;
}