Your message dated Mon, 27 Apr 2015 13:22:14 +0000
with message-id <[email protected]>
and subject line Bug#769546: fixed in lv 4.51-2.3
has caused the Debian Bug report #769546,
regarding Please replace sigvec usage
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
769546: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=769546
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: lv
Tags: patch
There are plans to turn sigvec (an obsolete signal handling interface)
into a compatibility symbol. Existing builds will continue to work, but
new builds will need the attached patch, courtesy of Roland McGrath
<[email protected]>. See this discussion for more information:
<https://sourceware.org/ml/libc-alpha/2014-10/msg00090.html>
Could apply this patch to the Debian package to make it more
future-proof, please?
--
Florian Weimer / Red Hat Product Security
--- ./src/configure.in.~1~ 2004-01-04 22:35:44.000000000 -0800
+++ ./src/configure.in 2014-10-09 11:14:47.782210631 -0700
@@ -34,7 +34,7 @@ AC_CHECK_HEADERS(fcntl.h sys/ioctl.h sys
dnl Checks for typedefs, structures, and compiler characteristics.
dnl Checks for library functions.
-AC_CHECK_FUNCS(sigvec tgetnum setlocale)
+AC_CHECK_FUNCS(sigaction tgetnum setlocale)
AC_FUNC_GETPGRP
AC_PROG_GCC_TRADITIONAL
AC_TYPE_SIGNAL
--- ./src/console.c.~1~ 2004-01-04 23:27:46.000000000 -0800
+++ ./src/console.c 2014-10-09 11:16:59.627943378 -0700
@@ -158,9 +158,9 @@ private RETSIGTYPE InterruptHandler( int
{
kb_interrupted = TRUE;
-#ifndef HAVE_SIGVEC
+#ifndef HAVE_SIGACTION
signal( SIGINT, InterruptHandler );
-#endif /* HAVE_SIGVEC */
+#endif /* HAVE_SIGACTION */
}
public void ConsoleEnableInterrupt()
@@ -235,9 +235,9 @@ private RETSIGTYPE WindowChangeHandler(
ConsoleGetWindowSize();
-#ifndef HAVE_SIGVEC
+#ifndef HAVE_SIGACTION
signal( SIGWINCH, WindowChangeHandler );
-#endif /* HAVE_SIGVEC */
+#endif /* HAVE_SIGACTION */
}
#endif /* UNIX */
@@ -388,24 +388,24 @@ public void ConsoleSetUp()
signal( SIGINT, InterruptIgnoreHandler );
#endif /* MSDOS */
-#ifdef HAVE_SIGVEC
- struct sigvec sigVec;
+#ifdef HAVE_SIGACTION
+ struct sigaction sa;
- sigVec.sv_handler = WindowChangeHandler;
- sigVec.sv_mask = sigmask( SIGWINCH );
- sigVec.sv_flags = SV_INTERRUPT;
- sigvec( SIGWINCH, &sigVec, NULL );
-
- sigVec.sv_handler = InterruptHandler;
- sigVec.sv_mask = sigmask( SIGINT );
- sigVec.sv_flags = SV_INTERRUPT;
- sigvec( SIGINT, &sigVec, NULL );
+ sa.sa_handler = WindowChangeHandler;
+ sigemptyset( &sa.sa_mask );
+ sa.sa_flags = 0; /* No SA_RESTART means interrupt syscalls. */
+ sigaction( SIGWINCH, &sa, NULL );
+
+ sa.sa_handler = InterruptHandler;
+ sigemptyset( &sa.sa_mask );
+ sa.sa_flags = 0; /* No SA_RESTART means interrupt syscalls. */
+ sigaction( SIGINT, &sa, NULL );
#else
# ifdef SIGWINCH
signal( SIGWINCH, WindowChangeHandler );
# endif
signal( SIGINT, InterruptHandler );
-#endif /* HAVE_SIGVEC */
+#endif /* HAVE_SIGACTION */
#ifdef UNIX
#ifdef HAVE_TERMIOS_H
--- End Message ---
--- Begin Message ---
Source: lv
Source-Version: 4.51-2.3
We believe that the bug you reported is fixed in the latest version of
lv, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
HIGUCHI Daisuke (VDR dai) <[email protected]> (supplier of updated lv package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Mon, 27 Apr 2015 21:43:39 +0900
Source: lv
Binary: lv
Architecture: source amd64
Version: 4.51-2.3
Distribution: unstable
Urgency: medium
Maintainer: GOTO Masanori <[email protected]>
Changed-By: HIGUCHI Daisuke (VDR dai) <[email protected]>
Description:
lv - Powerful Multilingual File Viewer
Closes: 769546
Changes:
lv (4.51-2.3) unstable; urgency=medium
.
* Non-maintainer upload.
* replace sigvec usage (Closes: #769546).
- debian/patches/sigvec.patch: new file. thanks to Florian Weimer
<[email protected]>.
- debian/rules: enable autoreconf add-on.
- debian/autoreconf: set subdir.
- debian/control: Depends: dh-autoreconf.
* bump up Standards-Version 3.9.6
Checksums-Sha1:
7b8f3ad66ce971fa5769eb4c72ca9bbba8f55754 1796 lv_4.51-2.3.dsc
e96e7cc3274ed754658039adb5cd9b3bef2ed5f8 51404 lv_4.51-2.3.debian.tar.xz
ab2af013976f77b1016271941e8668538343327a 324848 lv_4.51-2.3_amd64.deb
Checksums-Sha256:
dd0247d0f4f22661b9ab5a7d3c53472349f66eb76cd3f8fb58d88fef440fe441 1796
lv_4.51-2.3.dsc
3c95becf626200994c264b2ff1af2ebbcecd2326a1c975bfefc5bfdf3e9426c0 51404
lv_4.51-2.3.debian.tar.xz
64eb1607c5058d927f2e5bc76970fb9f81ebbf71d0bb3059af2d41e40d78fe36 324848
lv_4.51-2.3_amd64.deb
Files:
62c1918becb6e1d369d7a08b44611efd 1796 text optional lv_4.51-2.3.dsc
7d096db8c803c10ef57765bc760de933 51404 text optional lv_4.51-2.3.debian.tar.xz
fd899039e7883ccae87b41c6c449c1fc 324848 text optional lv_4.51-2.3_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCAAGBQJVPjJnAAoJEHg5YZ3UOWaO2xkP/2VfregCGJDvOlU5mZLREb+e
5mhrOzkfcIqZoxcPYowZZNOofs0Wfnt7NKalSQ6K0keXdaXxuKH08X+WR3vO3wco
s7V3fz41EYMsiw0TVaCQSnHV2B73wm9yxtNFNiZ+fEsok8vB3JSEFLZLHeB3GTOF
v6XXxKm0Hz7mn5mA0cNwJoVF47q1x/ZrDnU/owsUDvESXezUw7tgbYsGFThHWv3O
ED0OPGM0uWaAQWuV0fxn+m7ebIuAz6xHU9GbVMdZ1KegJZCTE4/VhLhanlUoNPzW
RqrG0oO0JszWOtRUg1nfrQpfSopYVJzIXTEKST3ue95UDku+b/3xlQVexat4zzmx
9Oj4U0Zti+Il62bfuxTaxXxC/c99L62MX6sfsgGmBXnXDoKRJ44fgSNrKGZfvA3x
2JTYokSOVR2u3vigQj+IKS9n2bBm8aH7L3Vd09VVIPvvMwKaWXGmscYUThLr5z/e
weGlFm8lKTrvUvqsnQGyZoA0kHvZmbFR7YUic6whgAaVwgzg4df6/votnAi/9fpF
vlPzWgynTuxoD6ZAkyaxidAZ7YJGUW24TN8fb02EU2ZIicSxFugx81LS+dXGLGux
8DohJDlTYKV5OmL8FB1c1CIF02IxJl0jeV+CqcxMAaLE5VpbjzrkGuHXTwOc3UMx
Jo3t0n5jxlgphQgxkGFc
=Zw/V
-----END PGP SIGNATURE-----
--- End Message ---