From f3f3a6b41b93a6714f40d9e234a643da9eabb523 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sat, 4 Jun 2005 16:07:11 +0000 Subject: * Apply build fixes by Stefan Seyfried * Bump version number git-svn-id: file:///home/lennart/svn/public/ifplugd/trunk@123 2bf48fe7-cfc1-0310-909f-d9042e1e0fef --- configure.ac | 6 +++--- doc/README.html.in | 10 +++++++--- src/ifplugd.c | 6 ++++-- 3 files changed, 14 insertions(+), 8 deletions(-) diff --git a/configure.ac b/configure.ac index c85efa0..3799413 100644 --- a/configure.ac +++ b/configure.ac @@ -20,7 +20,7 @@ # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. AC_PREREQ(2.59) -AC_INIT([ifplugd],[0.27],[mzvscyhtq (at) 0pointer (dot) de]) +AC_INIT([ifplugd],[0.28],[mzvscyhtq (at) 0pointer (dot) de]) AC_CONFIG_SRCDIR([src/ifplugd.c]) AC_CONFIG_HEADERS([config.h]) AM_INIT_AUTOMAKE([foreign -Wall]) @@ -42,10 +42,10 @@ AC_PROG_MAKE_SET # If using GCC specify some additional parameters if test "x$GCC" = "xyes" ; then - CFLAGS="$CFLAGS -pipe -W -Wall -pedantic" + CFLAGS="$CFLAGS -pipe -W -Wall" AC_LANG_CONFTEST([int main() {}]) - $CC -c conftest.c -std=c99 -Wno-unused-parameter $CFLAGS > /dev/null 2> /dev/null && CFLAGS="$CFLAGS -std=c99 -Wno-unused-parameter" + $CC -c conftest.c -Wno-unused-parameter $CFLAGS > /dev/null 2> /dev/null && CFLAGS="$CFLAGS -Wno-unused-parameter" rm -f conftest.o fi diff --git a/doc/README.html.in b/doc/README.html.in index dc486dd..da1a6c1 100644 --- a/doc/README.html.in +++ b/doc/README.html.in @@ -42,6 +42,10 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

News

+
Sat Jun 4 2005:

Version 0.28 released, +changes include: build fixes from Stefan Seyfried.

+
Wed Mar 30 2005:

Version 0.27 released, changes include: new option --no-startup.

@@ -322,7 +326,7 @@ on their source codes for learning how to use the link beat ioctls.

Oliver Kurth for packaging ifplugd for Debian and ifplugd's manpage

-

Thomas Hood, Asgeir Nilsen, Sean Reifschneider, R. Steve McKown, David Mitchell, Norbert Preining, Herbert Graeber for patches

+

Stefan Seyfried, Thomas Hood, Asgeir Nilsen, Sean Reifschneider, R. Steve McKown, David Mitchell, Norbert Preining, Herbert Graeber for patches

Frederic Lepied for integrating ifplugd into Mandrake Linux

@@ -338,14 +342,14 @@ manpage

You may find an up to date Debian package of ifplugd on the Debian package repository.

-

Packages for Mandrake Linux may be found in the Cooker distribution; Gentoo packages are available as well; SuSE packages are available courtesy of Herbert Graeber; Conectiva packages are available courtesy of Gonzalo Nemmi.

+

ifplugd is nowadays included in many popular distributions (Mandrake, Gentoo, Suse, Debian, Ubuntu); Conectiva packages are available courtesy of Gonzalo Nemmi. Fedora Core packages are available from Dag Wieers.

If you want to be notified whenever I release a new version of this software use the subscription feature of Freshmeat.

New! There is a joint ifplugd and waproamd mailing list available.


-
Lennart Poettering <@PACKAGE_BUGREPORT@>, March 2005
+
Lennart Poettering <@PACKAGE_BUGREPORT@>, June 2005
$Id$
diff --git a/src/ifplugd.c b/src/ifplugd.c index e1df19c..ddbb024 100644 --- a/src/ifplugd.c +++ b/src/ifplugd.c @@ -173,7 +173,8 @@ int action(interface_status_t status) { FD_ZERO(&rfds); FD_SET(_pipe[0], &rfds); - FD_SET(sigfd = daemon_signal_fd(), &rfds); + sigfd = daemon_signal_fd(); + FD_SET(sigfd, &rfds); n = 0; @@ -452,7 +453,8 @@ void work(void) { } FD_ZERO(&fds); - FD_SET(sigfd = daemon_signal_fd(), &fds); + sigfd = daemon_signal_fd(); + FD_SET(sigfd, &fds); if (use_ifmonitor) FD_SET(nlapi_fd, &fds); -- cgit