pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/id-utils fix logic error when searching for the ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/41d0a73afe66
branches:  trunk
changeset: 501871:41d0a73afe66
user:      dbj <dbj%pkgsrc.org@localhost>
date:      Mon Oct 31 01:52:36 2005 +0000

description:
fix logic error when searching for the root inode

diffstat:

 devel/id-utils/distinfo         |   3 ++-
 devel/id-utils/patches/patch-as |  13 +++++++++++++
 2 files changed, 15 insertions(+), 1 deletions(-)

diffs (31 lines):

diff -r d98bf6ff7fc2 -r 41d0a73afe66 devel/id-utils/distinfo
--- a/devel/id-utils/distinfo   Sun Oct 30 23:17:35 2005 +0000
+++ b/devel/id-utils/distinfo   Mon Oct 31 01:52:36 2005 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.12 2005/02/23 22:24:16 agc Exp $
+$NetBSD: distinfo,v 1.13 2005/10/31 01:52:36 dbj Exp $
 
 SHA1 (id-utils-3.2.tar.gz) = 14d96a2170745883d077fa8c436e4380f28951a5
 RMD160 (id-utils-3.2.tar.gz) = 4dada22d46cf791cf9ed61c69bbcafb0b9b1f99d
@@ -20,3 +20,4 @@
 SHA1 (patch-ao) = 3fa01e9d9482695a1727a34eb8e3caf4f3572325
 SHA1 (patch-ap) = 8bff727bc838b77ca6bcd859fc38803d0d8ca00c
 SHA1 (patch-ar) = b6249d63e76d77f1ddc29b74c8c896c42ed313f5
+SHA1 (patch-as) = 6c5044fb3b781c7764783109368501f4f13393dd
diff -r d98bf6ff7fc2 -r 41d0a73afe66 devel/id-utils/patches/patch-as
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/id-utils/patches/patch-as   Mon Oct 31 01:52:36 2005 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-as,v 1.1 2005/10/31 01:52:36 dbj Exp $
+
+--- libidu/idfile.c.orig       Tue Jul  9 00:19:08 1996
++++ libidu/idfile.c    Wed Jun  8 17:44:53 2005
+@@ -85,7 +85,7 @@
+       if (stat (file_name_buffer, &statb) != 0)
+       return NULL;
+     }
+-  while (!((statb.st_ino == rootb.st_ino) ||
++  while (!((statb.st_ino == rootb.st_ino) &&
+          (statb.st_dev == rootb.st_dev)));
+   return NULL;
+ }



Home | Main Index | Thread Index | Old Index