kopia lustrzana https://gitlab.com/sane-project/backends
Initialize ngroups to 0, ditto for runas_{u,g}id (instead of -1).
rodzic
eefb1b1155
commit
9f7441d267
|
@ -1,3 +1,7 @@
|
|||
2008-08-05 Julien Blache <jb@jblache.org>
|
||||
* frontend/saned.c: initialize runas_{u,g}id to 0 instead of -1;
|
||||
initialize ngroups to 0.
|
||||
|
||||
2008-08-04 Julien Blache <jb@jblache.org>
|
||||
* frontend/scanimage.c: fetch_options(), actually get option
|
||||
descriptor 0 before attempting to get the value of option 0.
|
||||
|
|
|
@ -2721,11 +2721,11 @@ run_standalone (int argc, char **argv)
|
|||
int i;
|
||||
int ret;
|
||||
|
||||
uid_t runas_uid = -1;
|
||||
gid_t runas_gid = -1;
|
||||
uid_t runas_uid = 0;
|
||||
gid_t runas_gid = 0;
|
||||
struct passwd *pwent;
|
||||
gid_t *grplist;
|
||||
int ngroups;
|
||||
int ngroups = 0;
|
||||
FILE *pidfile;
|
||||
|
||||
do_bindings (&nfds, &fds);
|
||||
|
|
Ładowanie…
Reference in New Issue