* dlltool.c (prefix_encode): Use a fixed length for alpha.
This commit is contained in:
parent
bf7a6389e8
commit
ff6b622203
2 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue