From a5392bed0982a8e61ca5578149683572adaaf279 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 5 Apr 2003 22:03:35 +0000 Subject: Update. 2003-04-05 Roland McGrath * 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. --- catgets/gencat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'catgets/gencat.c') diff --git a/catgets/gencat.c b/catgets/gencat.c index 175f1ff..18bf3bb 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; -- cgit v1.1