Re: bug in 2.6.5's bin/fvwm-menu-desktop.in

2013-12-14 Thread Dan Espen
Mathieu  writes:

> It does not recurse into the "applications" sub-directories because it
> tries to use a "_" stat cache incorrectly.
>
> --- fvwm-menu-desktop.in.orig   2012-01-18 05:22:44.0 -0500
> +++ fvwm-menu-desktop.in2013-12-09 20:49:37.0 -0500
> @@ -477,11 +477,11 @@
>  {
>  if ($entry =~ /\.desktop$/)
>  {
>  read_desktop_entry($pool, "$dir/$entry", $topdir);
>  }
> -elsif (-d _ and $entry !~ /^\.{1,2}$/
> +elsif (-d "$dir/$entry" and $entry !~ /^\.{1,2}$/
>  and $entry ne '.hidden')
>  {
>  scan_AppDir($pool, "$dir/$entry", $topdir);
>  delete $__scanmap{$dir};
>  }

Sorry, but fvwm-menu-desktop has been completely rewritten in CVS
and patches for the 2.6.5 version don't apply.

Current CVS version 2.6.6 is the only version we're making changes to.

-- 
Dan Espen



bug in 2.6.5's bin/fvwm-menu-desktop.in

2013-12-10 Thread Mathieu
It does not recurse into the "applications" sub-directories because it 
tries to use a "_" stat cache incorrectly.


--- fvwm-menu-desktop.in.orig   2012-01-18 05:22:44.0 -0500
+++ fvwm-menu-desktop.in2013-12-09 20:49:37.0 -0500
@@ -477,11 +477,11 @@
 {
 if ($entry =~ /\.desktop$/)
 {
 read_desktop_entry($pool, "$dir/$entry", $topdir);
 }
-elsif (-d _ and $entry !~ /^\.{1,2}$/
+elsif (-d "$dir/$entry" and $entry !~ /^\.{1,2}$/
 and $entry ne '.hidden')
 {
 scan_AppDir($pool, "$dir/$entry", $topdir);
 delete $__scanmap{$dir};
 }