Source: psmisc
Source-Version: 22.16-1
Severity: minor
Tags: patch upstream

Hi!

I sent this to your personal mail address some time ago, because it was
not clear what's the preferred upstream contact address, so if this was
not lost, sorry for the dupe, just making sure it does not get lost.

Attached patch fixing this issue, which does not affect the Debian
package.

thanks,
guillem
>From 63454255fa62d3c1fa584ed6645783e63915ae35 Mon Sep 17 00:00:00 2001
From: Guillem Jover <[email protected]>
Date: Wed, 12 Oct 2011 23:31:25 +0200
Subject: [PATCH] fuser: Use correct WITH_TIMEOUT_STAT to conditionalize
 timeout()

Signed-off-by: Guillem Jover <[email protected]>
---
 src/fuser.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/fuser.c b/src/fuser.c
index e4081eb..0c6199e 100644
--- a/src/fuser.c
+++ b/src/fuser.c
@@ -1783,7 +1783,7 @@ scan_swaps(struct names *names_head, struct inode_list *ino_head,
  * Execute stat(2) system call with timeout to avoid deadlock
  * on network based file systems.
  */
-#ifdef HAVE_TIMEOUT_STAT
+#ifdef WITH_TIMEOUT_STAT
 
 static sigjmp_buf jenv;
 
@@ -1843,7 +1843,7 @@ timeout(stat_t func, const char *path, struct stat *buf, unsigned int seconds)
 err:
 	return -1;
 }
-#endif /* HAVE_TIMEOUT_STAT */
+#endif /* WITH_TIMEOUT_STAT */
 
 #ifdef _LISTS_H
 /*
-- 
1.7.9.1

Reply via email to