[20123] trunk/dports/sysutils/slocate
source_changes at macosforge.org
source_changes at macosforge.org
Sat Oct 21 18:33:25 PDT 2006
Revision: 20123
http://trac.macosforge.org/projects/macports/changeset/20123
Author: pguyot at kallisys.net
Date: 2006-10-21 18:33:24 -0700 (Sat, 21 Oct 2006)
Log Message:
-----------
slocate: fixed a bug where -i would return all entries, even those that don't
match.
Modified Paths:
--------------
trunk/dports/sysutils/slocate/Portfile
trunk/dports/sysutils/slocate/files/patch-src-utils.c
Modified: trunk/dports/sysutils/slocate/Portfile
===================================================================
--- trunk/dports/sysutils/slocate/Portfile 2006-10-21 19:38:07 UTC (rev 20122)
+++ trunk/dports/sysutils/slocate/Portfile 2006-10-22 01:33:24 UTC (rev 20123)
@@ -3,6 +3,7 @@
PortSystem 1.0
name slocate
version 3.1
+revision 1
categories sysutils
homepage http://slocate.trakker.ca/
description Secure Locate is a replacement for locate.
Modified: trunk/dports/sysutils/slocate/files/patch-src-utils.c
===================================================================
--- trunk/dports/sysutils/slocate/files/patch-src-utils.c 2006-10-21 19:38:07 UTC (rev 20122)
+++ trunk/dports/sysutils/slocate/files/patch-src-utils.c 2006-10-22 01:33:24 UTC (rev 20123)
@@ -1,5 +1,14 @@
---- src/utils.c.orig 2006-07-26 00:06:53.000000000 +0900
-+++ src/utils.c 2006-07-26 00:08:07.000000000 +0900
+--- src/utils.c 2006-01-06 09:16:19.000000000 +0900
++++ src/utils.c 2006-10-22 10:33:13.000000000 +0900
+@@ -130,7 +130,7 @@
+ }
+
+ } else
+- foundit = (strcasestr(search_str, search_str) != NULL);
++ foundit = (strcasestr(full_path, search_str) != NULL);
+
+ #endif /* FNM_CASEFOLD */
+ }
@@ -139,6 +139,7 @@
ret = 1;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20061021/a6ebf0af/attachment.html
More information about the macports-changes
mailing list