Wakacyjna nuda :]

Michal Margula alchemyx w uznam.top.pl
Śro, 21 Lip 1999, 12:57:46 CEST


Witam

Wakacje w toku, a ja nie mam co robić :>. Wyjeżdżam za tydzień, ale w tym
czasie chciałbym jeszcze coś zrobić. Są może dla mnie jakieś wolne pakiety
do popsucia? ;). Jeśli chodzi o snapa rlinetda, to nie mogę go skompilić,
dostaję:

In file included from cleanups.c:4:
data.h:37: parse error before `cap_t'
data.h:37: warning: no semicolon at end of struct or union
data.h:45: `setgid' redeclared as different kind of symbol
/usr/include/unistd.h:629: previous declaration of `setgid'
data.h:50: parse error before `}'

A oto fragment kodu (w komentarzach numery linii):

struct service {
        struct stringlist *port;
        struct stringlist *interface;
        char *name;
        int family;
        int socktype;
        int proto;
        char *protoname;
        int backlog;
        int limit;
        struct rlimit r;
        char *rpcname;
        long rpcnum;
        struct numlist *rpcvers;
#ifdef HAVE_LIBCAP
/*37*/	cap_t caps;
#endif

        rl_opcode_t iname;      /* stringtab for service name */
        rl_opcode_t exec;	/* stringtab for program to exec */
        rl_opcode_t parent;     /* oplist for parent to exec post-fork */
        rl_opcode_t iuser;      /* stringtab for username */
        gid_t supgid;	        /* supplementary groupid for initgroups */
/*45*/  gid_t setgid;	        /* primary group */
	int sgid;               /* true if an OP_SGID is in the opstream */
        int disabled;		/* if parse error in service declaration */
        rl_opcode_t run;	/* opstream to hook onto listening socket */
        rl_opcode_t onexit;     /* opstream to run when child exits */
}; //50
																
-- 
Michal Margula, alchemyx w uznam.top.pl, ICQ UIN 12267440,
http://uznam.top.pl/~alchemyx/, PL section of Linux Counter maintainer



Więcej informacji o liście dyskusyjnej pld-devel-pl