зеркало из https://github.com/mozilla/gecko-dev.git
use -e unconditionally to terminate the optionslist to glimpse, bug 99680,
r=timeless, two thumbs up = alecf
This commit is contained in:
Родитель
8b5d340a8e
Коммит
082769f353
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bonsaitools/bin/perl
|
||||
# $Id: search,v 1.8 2001/07/16 20:15:02 timeless%mac.com Exp $
|
||||
# $Id: search,v 1.9 2003/07/28 21:24:42 leaf%mozilla.org Exp $
|
||||
|
||||
# search -- Freetext search
|
||||
#
|
||||
|
@ -72,7 +72,7 @@ sub search {
|
|||
if ($Conf->{'regexp'} eq 'off') {
|
||||
$searchtext =~ s/([;,#><\-\$.^*[^|()\!])/\\$1/g;
|
||||
}
|
||||
exec($Conf->glimpsebin,"-i","-H".$Conf->dbdir,'-y','-n',$searchtext);
|
||||
exec($Conf->glimpsebin,"-i","-H".$Conf->dbdir,'-y','-n','-e',$searchtext);
|
||||
print("Glimpse subprocess died unexpectedly: $!\n");
|
||||
exit;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче