rpms/finger/devel bsd-finger-wide-char-support5.patch, 1.1, 1.2 finger.spec, 1.31, 1.32
Petr Lautrbach
plautrba at fedoraproject.org
Mon Jul 12 10:57:04 UTC 2010
Author: plautrba
Update of /cvs/pkgs/rpms/finger/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv29609
Modified Files:
bsd-finger-wide-char-support5.patch finger.spec
Log Message:
fix UTF-8 output in list of logged users (#490443)
bsd-finger-wide-char-support5.patch:
display.c | 111 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--
finger.c | 7 +++
finger.h | 4 ++
3 files changed, 120 insertions(+), 2 deletions(-)
Index: bsd-finger-wide-char-support5.patch
===================================================================
RCS file: /cvs/pkgs/rpms/finger/devel/bsd-finger-wide-char-support5.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- bsd-finger-wide-char-support5.patch 15 Dec 2005 09:24:25 -0000 1.1
+++ bsd-finger-wide-char-support5.patch 12 Jul 2010 10:57:03 -0000 1.2
@@ -8,6 +8,16 @@
#include "finger.h"
#ifdef _USAGI
#include "version.h"
+@@ -211,6 +212,9 @@
+ struct utmp *uptr;
+ char name[UT_NAMESIZE + 1];
+
++ if (setlocale (LC_ALL, "") != NULL)
++ set_haslocale();
++
+ name[UT_NAMESIZE] = '\0';
+
+ /*
@@ -286,6 +287,9 @@
struct utmp *uptr;
int dolocal, *used;
Index: finger.spec
===================================================================
RCS file: /cvs/pkgs/rpms/finger/devel/finger.spec,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -p -r1.31 -r1.32
--- finger.spec 8 Jul 2010 13:13:33 -0000 1.31
+++ finger.spec 12 Jul 2010 10:57:03 -0000 1.32
@@ -1,7 +1,7 @@
Summary: The finger client
Name: finger
Version: 0.17
-Release: 40%{?dist}
+Release: 41%{?dist}
License: BSD
Group: Applications/Internet
Source: ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/bsd-finger-%{version}.tar.gz
@@ -104,6 +104,9 @@ rm -rf ${RPM_BUILD_ROOT}
%doc COPYING
%changelog
+* Mon Jul 12 2010 Petr Lautrbach <plautrba at redhat.com> 0.17-41
+- fix UTF-8 output in list of logged users (#490443)
+
* Thu Jul 08 2010 Petr Lautrbach <plautrba at redhat.com> 0.17-40
- added license text
More information about the scm-commits
mailing list