From 6686e4fafbfc0ec7957ffba292919f3dc2819b15 Mon Sep 17 00:00:00 2001 From: Martin Cracauer Date: Wed, 8 Mar 2000 12:46:25 +0000 Subject: Temporary cosmetic change to prevent gcc-2.95.2 from doing an optimization that generates code our current as doesn't understand. The result is bad code that damages dynamic symbol locations at runtime. Ouch. See PR bin/16862 and discussion in -current. This change will be backed out when gcc and gas are back in sync. PR: Fixes bin/16862, but not the underlying problem. Submitted by: bde Approved by: jdk --- lib/libc/stdtime/localtime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libc/stdtime/localtime.c b/lib/libc/stdtime/localtime.c index 4fa411fc1179..84a4ca9d7a19 100644 --- a/lib/libc/stdtime/localtime.c +++ b/lib/libc/stdtime/localtime.c @@ -219,7 +219,7 @@ const char * const codep; static void settzname P((void)) { - register struct state * const sp = lclptr; + register struct state * sp = lclptr; register int i; tzname[0] = wildabbr; -- cgit v1.3