Fix dtinfo search engine
This commit is contained in:
committed by
Jon Trulson
parent
0254ebc0b4
commit
38dfc9e235
@@ -71,7 +71,7 @@ static char sccsid[] = "@(#)mktemp.c 8.1 (Berkeley) 6/4/93";
|
||||
extern int errno;
|
||||
#endif
|
||||
|
||||
static int _gettemp();
|
||||
static int _gettemp(char*, int*);
|
||||
|
||||
int mkstemp(path)
|
||||
char *path;
|
||||
@@ -142,7 +142,7 @@ _gettemp(path, doopen)
|
||||
if (*trv == 'z')
|
||||
*trv++ = 'a';
|
||||
else {
|
||||
if (isdigit(*trv))
|
||||
if (isdigit((unsigned char) *trv))
|
||||
*trv = 'a';
|
||||
else
|
||||
++*trv;
|
||||
|
||||
Reference in New Issue
Block a user