summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorcracauer <cracauer@FreeBSD.org>2000-03-08 12:46:25 +0000
committercracauer <cracauer@FreeBSD.org>2000-03-08 12:46:25 +0000
commit4c5ed2febdc663b9c9b3e62a4d37569c81ac2947 (patch)
treea2bf96e74aa5aaa81b8e75e31740489646cf67cb /lib/libc
parentf528d8970cb6005a6d43fc5bc2b3cb2bee0821a5 (diff)
downloadFreeBSD-src-4c5ed2febdc663b9c9b3e62a4d37569c81ac2947.zip
FreeBSD-src-4c5ed2febdc663b9c9b3e62a4d37569c81ac2947.tar.gz
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
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/stdtime/localtime.c2
1 files changed, 1 insertions, 1 deletions
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;
OpenPOWER on IntegriCloud