Removed an unused function

master
Thomas Schmitt 7 years ago
parent b384e51f82
commit 07259e6051
  1. 22
      xorriso/sfile.c
  2. 2
      xorriso/xorriso_timestamp.h

@ -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…
Cancel
Save