Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/string Missing alias for strerror_l.



details:   https://anonhg.NetBSD.org/src/rev/5be366af9114
branches:  trunk
changeset: 789680:5be366af9114
user:      joerg <joerg%NetBSD.org@localhost>
date:      Mon Sep 02 07:59:32 2013 +0000

description:
Missing alias for strerror_l.

diffstat:

 lib/libc/string/strerror.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r a548f71041b7 -r 5be366af9114 lib/libc/string/strerror.c
--- a/lib/libc/string/strerror.c        Mon Sep 02 07:41:01 2013 +0000
+++ b/lib/libc/string/strerror.c        Mon Sep 02 07:59:32 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: strerror.c,v 1.15 2013/08/19 13:03:12 joerg Exp $      */
+/*     $NetBSD: strerror.c,v 1.16 2013/09/02 07:59:32 joerg Exp $      */
 
 /*
  * Copyright (c) 1988 Regents of the University of California.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: strerror.c,v 1.15 2013/08/19 13:03:12 joerg Exp $");
+__RCSID("$NetBSD: strerror.c,v 1.16 2013/09/02 07:59:32 joerg Exp $");
 
 #define __SETLOCALE_SOURCE__
 
@@ -47,6 +47,8 @@
 #endif
 #include "setlocale_local.h"
 
+__weak_alias(strerror_l, _strerror_l)
+
 __aconst char *
 strerror(int num)
 {



Home | Main Index | Thread Index | Old Index