version 1.2, 2014/08/16 07:49:27 |
version 1.3, 2015/01/16 06:40:08 |
|
|
} |
} |
globargv2 = argv[2]; |
globargv2 = argv[2]; |
if (loc && mcase) { |
if (loc && mcase) { |
char *tp = argv[1], *tp2, tmpbuf[MAXPATHLEN]; |
char *tp = argv[1], *tp2, tmpbuf[PATH_MAX]; |
|
|
while (*tp && !islower(*tp)) { |
while (*tp && !islower(*tp)) { |
tp++; |
tp++; |
|
|
extern int optind, optreset; |
extern int optind, optreset; |
sig_t oldintr; |
sig_t oldintr; |
int ch, xargc = 2; |
int ch, xargc = 2; |
char *cp, localcwd[MAXPATHLEN], *xargv[] = { argv[0], NULL, NULL }; |
char *cp, localcwd[PATH_MAX], *xargv[] = { argv[0], NULL, NULL }; |
static int restartit = 0; |
static int restartit = 0; |
#ifndef SMALL |
#ifndef SMALL |
extern char *optarg; |
extern char *optarg; |
|
|
char * |
char * |
dotrans(char *name) |
dotrans(char *name) |
{ |
{ |
static char new[MAXPATHLEN]; |
static char new[PATH_MAX]; |
char *cp1, *cp2 = new; |
char *cp1, *cp2 = new; |
int i, ostop, found; |
int i, ostop, found; |
|
|
|
|
char * |
char * |
domap(char *name) |
domap(char *name) |
{ |
{ |
static char new[MAXPATHLEN]; |
static char new[PATH_MAX]; |
char *cp1 = name, *cp2 = mapin; |
char *cp1 = name, *cp2 = mapin; |
char *tp[9], *te[9]; |
char *tp[9], *te[9]; |
int i, toks[9], toknum = 0, match = 1; |
int i, toks[9], toknum = 0, match = 1; |