* dlltool.c (prefix_encode): Use a fixed length for alpha.

This commit is contained in:
Christopher Faylor 2003-07-05 13:49:50 +00:00
parent bf7a6389e8
commit ff6b622203
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2003-07-05 Christopher Faylor <cgf@redhat.com>
* dlltool.c (prefix_encode): Use a fixed length for alpha.
2003-07-04 Christopher Faylor <cgf@redhat.com>
* dlltool.c (prefix_encode): New function. Encode temp file prefix

View file

@ -753,7 +753,7 @@ static void inform
static char *
prefix_encode PARAMS ((char *start, unsigned code))
{
static char alpha[] = "abcdefghijklmnopqrstuvwxyz";
static char alpha[26] = "abcdefghijklmnopqrstuvwxyz";
static char buf[32];
char *p;
strcpy (buf, start);