| ... | ... |
@@ -36,7 +36,7 @@ subdir = . |
| 36 | 36 |
DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ |
| 37 | 37 |
$(srcdir)/Makefile.in $(srcdir)/config.h.in \ |
| 38 | 38 |
$(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \ |
| 39 |
- config.guess config.sub depcomp install-sh missing |
|
| 39 |
+ depcomp install-sh missing |
|
| 40 | 40 |
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
| 41 | 41 |
am__aclocal_m4_deps = $(top_srcdir)/configure.in |
| 42 | 42 |
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ |
| ... | ... |
@@ -381,10 +381,14 @@ int mexec_send(mcomm *c, int n, int sync) |
| 381 | 381 |
if(*optarg >= '0' && *optarg <='9'){
|
| 382 | 382 |
gid = atoi(optarg); |
| 383 | 383 |
}else{
|
| 384 |
- for(j=0;j<moption.gidn;j++){
|
|
| 385 |
- if(!strcmp(optarg, moption.grnames[j])){
|
|
| 386 |
- gid = moption.gids[j]; |
|
| 387 |
- break; |
|
| 384 |
+ if(!strcmp(optarg, moption.group_name)){
|
|
| 385 |
+ gid = moption.gid; |
|
| 386 |
+ }else{
|
|
| 387 |
+ for(j=0;j<moption.gidn;j++){
|
|
| 388 |
+ if(!strcmp(optarg, moption.grnames[j])){
|
|
| 389 |
+ gid = moption.gids[j]; |
|
| 390 |
+ break; |
|
| 391 |
+ } |
|
| 388 | 392 |
} |
| 389 | 393 |
} |
| 390 | 394 |
if(gid == -1){
|