On Thu, Nov 22, 2007 at 09:58:24AM +0100, Hilmar Preusse wrote:
> reopen 380081
> found 380081 0.8
> stop
> 
> Hi,
> 
> I'm afraid the bug is not fixed yet. Maybe my analysis I wrote into
> the original bug report is wrong. Sorry, if this is the case.
> 
> [EMAIL PROTECTED]:~ $ dlocate vmlinuz-2.6.21-1-686 vmlinuz-2.6.22-1-686
> linux-image-2.6.22-1-686: /boot/vmlinuz-2.6.22-1-686
> [EMAIL PROTECTED]:~ $ dlocate vmlinuz-2.6.22-1-686 vmlinuz-2.6.21-1-686
> linux-image-2.6.21-1-686: /boot/vmlinuz-2.6.21-1-686
> [EMAIL PROTECTED]:~ $ dlocate vmlinuz-2.6.22-1-686
> linux-image-2.6.22-1-686: /boot/vmlinuz-2.6.22-1-686
> 
> I'm pretty sure the dlocate db update run successfully tonight.

i fixed it in 0.6 then unfixed it in 0.7 to fix something else.

really fixed it properly this time (the option handling of dlocate is
really crappy. i'm planning a complete rewrite. unfortunately, fixing it
will break backwards compatibility. i'm not sure how to handle that yet
- probably by making a dlocate2 package).

will uploaded the new version soon.

if you're in a hurry, here's a patch:

--- /usr/bin/dlocate    2007-11-22 06:42:01.279578385 +1100
+++ ./dlocate   2007-11-22 20:31:19.578266498 +1100
@@ -62,14 +62,14 @@
   exit
 }
 
-OPTION="$1"
-shift
-
-case "$OPTION" in
+case "$1" in
   ''|'-h'|'-H'|'--help') dlocate_help ;;
-  "-v"|"-V"|"--version")      dlocate_version ;;
+  '-v'|'-V'|'--version')      dlocate_version ;;
+  
'-S'|'-L'|'-l'|'-s'|'-ls'|'-du'|'-conf'|'-lsconf'|'-md5sum'|'-md5check'|'-man'|'-lsman'|'-lsbin')
  OPTION="$1" ; shift ;;
+  *) OPTION=DEFAULT ;;
 esac
 
+
 PKGS_REGEXP=$(echo "$*" | sed -e 's/ /|/g')
 [ -z "$PKGS_REGEXP" ] && PKGS_REGEXP='^$'
 

craig

-- 
craig sanders <[EMAIL PROTECTED]>

BOFH excuse #209:

Only people with names beginning with 'A' are getting mail this week (a la 
Microsoft)



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to