diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-04-05 22:03:35 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-04-05 22:03:35 +0000 |
commit | a5392bed0982a8e61ca5578149683572adaaf279 (patch) | |
tree | 5a3d2a39e99e03b723c612f99d104d752c2a537c /catgets/gencat.c | |
parent | ee6bf14d9e6fd8204ccda32ca942082ce31662d8 (diff) | |
download | glibc-a5392bed0982a8e61ca5578149683572adaaf279.tar.gz glibc-a5392bed0982a8e61ca5578149683572adaaf279.tar.xz glibc-a5392bed0982a8e61ca5578149683572adaaf279.zip |
Update.
2003-04-05 Roland McGrath <roland@redhat.com> * sysdeps/unix/sysv/linux/i386/setcontext.S: Rewrite to avoid writing below the stack pointer even if switching to the same context we are running right now. * catgets/gencat.c (read_input_file): Make sure that \n is not alone on the line before testing for continuation. * math/test-tgmath.c (compile_test): Initialize c.
Diffstat (limited to 'catgets/gencat.c')
-rw-r--r-- | catgets/gencat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/catgets/gencat.c b/catgets/gencat.c index 175f1ffd09..18bf3bbb7f 100644 --- a/catgets/gencat.c +++ b/catgets/gencat.c @@ -333,7 +333,7 @@ read_input_file (struct catalog *current, const char *fname) /* There might be more than one backslash at the end of the line. Only if there is an odd number of them is the line continued. */ - if (buf[act_len - 1] == '\\') + if (act_len > 0 && buf[act_len - 1] == '\\') { int temp_act_len = act_len; |