The following commit has been merged in the master branch:
commit 668466a2175602325a7de69e39a76f3c5283a66c
Author: Guillem Jover <[email protected]>
Date:   Thu Sep 24 13:20:54 2009 +0200

    dpkg-deb: Remove S_ISLNK compatibility definition
    
    The rest of the code uses it unconditionally, and no one has complained,
    it's also present in all POSIX.1-2001 conforming systems.

diff --git a/dpkg-deb/build.c b/dpkg-deb/build.c
index 0f084e2..124fd79 100644
--- a/dpkg-deb/build.c
+++ b/dpkg-deb/build.c
@@ -52,10 +52,6 @@
 
 #include "dpkg-deb.h"
 
-#ifndef S_ISLNK
-# define S_ISLNK(mode) ((mode&0xF000) == S_IFLNK)
-#endif
-
 /* Simple structure to store information about a file.
  */
 struct file_info {

-- 
dpkg's main repository


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to