diff options
author | Christopher Faylor <me+cygwin@cgf.cx> | 2003-07-05 13:49:50 +0000 |
---|---|---|
committer | Christopher Faylor <me+cygwin@cgf.cx> | 2003-07-05 13:49:50 +0000 |
commit | ff6b622203384128d61b420dae3be9fff78d9b54 (patch) | |
tree | eb8bfe824bdb9be168d70c56006a19b36369645c | |
parent | bf7a6389e81782655f363fbeda9b5d16d5f6fdac (diff) | |
download | binutils-gdb-ff6b622203384128d61b420dae3be9fff78d9b54.tar.gz |
* dlltool.c (prefix_encode): Use a fixed length for alpha.
-rw-r--r-- | binutils/ChangeLog | 4 | ||||
-rw-r--r-- | binutils/dlltool.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 26178750ec4..1783286bdb6 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -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 diff --git a/binutils/dlltool.c b/binutils/dlltool.c index 544602b028c..ffbcd2861cc 100644 --- a/binutils/dlltool.c +++ b/binutils/dlltool.c @@ -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); |