Fix dtinfo search engine

This commit is contained in:
Ulrich Wilkens
2014-04-01 04:45:33 +02:00
committed by Jon Trulson
parent 0254ebc0b4
commit 38dfc9e235
68 changed files with 252 additions and 135 deletions

View File

@@ -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;