2004-05-20 03:59:55 +02:00
|
|
|
--- driver/xscreensaver-getimage-file.orig Tue May 4 20:40:38 2004
|
|
|
|
+++ driver/xscreensaver-getimage-file Wed May 19 21:39:59 2004
|
|
|
|
@@ -133,7 +133,7 @@
|
2003-04-20 04:50:44 +02:00
|
|
|
push @dirs, $file;
|
2003-08-15 09:09:12 +02:00
|
|
|
$dir_count++;
|
2003-04-20 04:50:44 +02:00
|
|
|
print STDERR "$progname: found dir $file\n" if ($verbose > 2);
|
|
|
|
- } elsif (S_ISREG($mode) || S_ISLNK($mode)) {
|
|
|
|
+ } elsif (S_ISREG($mode) || (-l "$file")) {
|
2003-08-15 09:09:12 +02:00
|
|
|
|
|
|
|
if ($file =~ m/[~%\#]$/ || # backup file, or
|
|
|
|
! ($file =~ m/$good_file_re/io)) { # no image extension
|