X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fwhatnowsbr.c;h=bd409049f3287c52a4af569d6510267496abbdc8;hb=946f59629730dd1683f54d7171ee381208ebe9f0;hp=79f75e5a366f170744fed6dcce19cb8519327d1b;hpb=b872e8606e7880bf1d32e95271493dcd5d8394fa;p=mmh diff --git a/uip/whatnowsbr.c b/uip/whatnowsbr.c index 79f75e5..bd40904 100644 --- a/uip/whatnowsbr.c +++ b/uip/whatnowsbr.c @@ -784,6 +784,8 @@ sendfile(char **arg, char *file, int pushsw) return 1; } + /* some different sendproc */ + context_save(); /* save the context file */ fflush(stdout); @@ -792,6 +794,7 @@ sendfile(char **arg, char *file, int pushsw) switch (child_id) { case NOTOK: advise(NULL, "unable to fork, so sending directly..."); + /* fall */ case OK: vecp = 0; vec[vecp++] = invo_name; @@ -908,7 +911,7 @@ sendit(char *sp, char **arg, char *file, int pushed) ** Merge any arguments from command line (now in vec) ** and arguments from profile. */ - arguments = getarguments (sp, n, vec, 1); + arguments = getarguments(sp, n, vec, 1); argp = arguments; debugsw = 0; @@ -1000,7 +1003,7 @@ sendit(char *sp, char **arg, char *file, int pushed) dp = getcpy(cp); for (ap = brkstring(dp, " ", "\n"); ap && *ap; ap++) { vec[vecp++] = "-alias"; - vec[vecp++] = *ap; + vec[vecp++] = getcpy(etcpath(*ap)); } }