Lines Matching +defs:prog +defs:mode
40 # define mkdir(dirname,mode) _mkdir(dirname)
42 # define access(path,mode) _access(path,mode)
43 # define chmod(path,mode) _chmod(path,mode)
84 char mode[8]; /* 100 */
112 int mode;
118 char *prog;
122 fprintf(stderr, "%s: %s\n", prog, msg);
155 fprintf(stderr,"%s: Couldn't find ",prog);
252 void push_attr(struct attr_item **list,char *fname,int mode,time_t time)
260 item->mode = mode;
276 chmod(item->fname,item->mode);
357 fprintf(stderr,"%s: Couldn't create directory %s\n",prog,buffer);
429 tarmode = getoct(buffer.header.mode,8);
495 fprintf(stderr, "%s: Couldn't create %s",prog,fname);
535 "%s: Error writing %s -- skipping\n",prog,fname);
606 prog = strrchr(argv[0],'\\');
607 if (prog == NULL)
609 prog = strrchr(argv[0],'/');
610 if (prog == NULL)
612 prog = strrchr(argv[0],':');
613 if (prog == NULL)
614 prog = argv[0];
616 prog++;
619 prog++;
622 prog++;
655 fprintf(stderr,"%s: Couldn't gzopen %s\n",prog,TGZfile);