Removed an unused function
This commit is contained in:
parent
223dadda1d
commit
8b458422e6
@ -204,28 +204,6 @@ int Sfile_prepend_path(char *prefix, char path[SfileadrL], int flag)
|
||||
return(1);
|
||||
}
|
||||
|
||||
int Sfile_being_group_member(struct stat *stbuf, int flag)
|
||||
{
|
||||
int i, suppl_groups;
|
||||
gid_t *suppl_glist;
|
||||
|
||||
if (getegid()==stbuf->st_gid)
|
||||
return(1);
|
||||
suppl_groups= getgroups(0, NULL);
|
||||
suppl_glist= (gid_t *) malloc((suppl_groups + 1) * sizeof(gid_t));
|
||||
if (suppl_glist==NULL)
|
||||
return(-1);
|
||||
suppl_groups= getgroups(suppl_groups+1,suppl_glist);
|
||||
for (i= 0; i<suppl_groups; i++) {
|
||||
if (suppl_glist[i]==stbuf->st_gid) {
|
||||
free((char *) suppl_glist);
|
||||
return(1);
|
||||
}
|
||||
}
|
||||
free((char *) suppl_glist);
|
||||
return(0);
|
||||
}
|
||||
|
||||
|
||||
int Sfile_get_dev_fd_no(char *filename, int flag)
|
||||
{
|
||||
|
@ -1 +1 @@
|
||||
#define Xorriso_timestamP "2016.03.08.075457"
|
||||
#define Xorriso_timestamP "2016.03.09.205708"
|
||||
|
Loading…
Reference in New Issue
Block a user