[Pkg-shadow-commits] r1762 - in upstream/trunk: . src
nekral-guest at alioth.debian.org
nekral-guest at alioth.debian.org
Sun Feb 3 17:57:43 UTC 2008
Author: nekral-guest
Date: 2008-02-03 17:57:43 +0000 (Sun, 03 Feb 2008)
New Revision: 1762
Modified:
upstream/trunk/ChangeLog
upstream/trunk/src/login.c
Log:
Do not translate the fromhost variable. It is always used for syslog messages.
Modified: upstream/trunk/ChangeLog
===================================================================
--- upstream/trunk/ChangeLog 2008-02-03 17:53:21 UTC (rev 1761)
+++ upstream/trunk/ChangeLog 2008-02-03 17:57:43 UTC (rev 1762)
@@ -1,5 +1,10 @@
2008-02-03 Nicolas François <nicolas.francois at centraliens.net>
+ * src/login.c: Do not translate the fromhost variable. It is
+ always used for syslog messages.
+
+2008-02-03 Nicolas François <nicolas.francois at centraliens.net>
+
* NEWS, lib/defines.h: Switch to the C locale before sending
messages to syslog. The messages sent by shadow were not
translated, but error messages from PAM returned by pam_strerror()
Modified: upstream/trunk/src/login.c
===================================================================
--- upstream/trunk/src/login.c 2008-02-03 17:53:21 UTC (rev 1761)
+++ upstream/trunk/src/login.c 2008-02-03 17:57:43 UTC (rev 1762)
@@ -560,10 +560,10 @@
if (*cp)
snprintf (fromhost, sizeof fromhost,
- _(" on '%.100s' from '%.200s'"), tty, cp);
+ " on '%.100s' from '%.200s'", tty, cp);
else
snprintf (fromhost, sizeof fromhost,
- _(" on '%.100s'"), tty);
+ " on '%.100s'", tty);
top:
/* only allow ALARM sec. for login */
More information about the Pkg-shadow-commits
mailing list