Update of /cvsroot/fink/web/bindist
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32261
Modified Files:
index.php
Log Message:
address an issue with nested symlinks (thanks to bbraun for assistance)
Index: index.php
===================================================================
RCS file: /cvsroot/fink/web/bindist/index.php,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- index.php 12 Oct 2004 01:20:04 -0000 1.6
+++ index.php 29 May 2005 21:56:41 -0000 1.7
@@ -151,6 +151,11 @@
if ($type == "link") {
$rfn = readlink($rfn);
$type = filetype($rfn);
+// to address an issue with nested symlinks, we're going to assume that
+// all nested symlinks point to files, not directories
+ if ($type == "link") {
+ $type = "file";
+ }
$special = "-> $rfn";
}
-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Fink-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-commits