From 4c5ed2febdc663b9c9b3e62a4d37569c81ac2947 Mon Sep 17 00:00:00 2001 From: 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(-) (limited to 'lib/libc/stdtime/localtime.c') diff --git a/lib/libc/stdtime/localtime.c b/lib/libc/stdtime/localtime.c index 4fa411f..84a4ca9 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.1