Date: Sat, 10 Aug 2002 13:25:19 -0400 (EDT) From: Brad Laue <brad@brad-x.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: bin/41522: locate.mklocatedb breakage found since /bin/sh MFC Message-ID: <20020810172519.BF71F22104A@TMA-1.brad-x.com>
next in thread | raw e-mail | index | archive | help
>Number: 41522 >Category: bin >Synopsis: locate.mklocatedb breakage found since /bin/sh MFC >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Aug 10 10:30:02 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Brad Laue >Release: FreeBSD 4.6-STABLE i386 >Organization: brad-x.com >Environment: System: FreeBSD TMA-1.brad-x.com 4.6-STABLE FreeBSD 4.6-STABLE #0: Mon Aug 5 16:15:45 EDT 2002 root@TMA-1.brad-x.com:/usr/src/sys/compile/DISCOVERY-IPF i386 >Description: A line break exists at line 87 of locate.mklocatedb, which /bin/sh now correctly fails on. This prevents locate.updatedb from running. >How-To-Repeat: /usr/libexec/locate.updatedb using recent cvs of /bin/sh under -STABLE. >Fix: --- mklocatedb.sh Wed Jan 12 03:01:00 2000 +++ /usr/libexec/locate.mklocatedb Sat Aug 10 13:15:59 2002 @@ -83,7 +83,7 @@ else if $sortcmd $sortopt > $filelist; then $bigram < $filelist | $sort -nr | - perl -ne '/^\s*[0-9]+\s(..)$/ && print $1 || exit 1' > $bigrams + perl -ne '/^\s*[0-9]+\s(..)$/ && print $1 || exit 1' > $bigrams \ || exit 1 $code $bigrams < $filelist || exit 1 else >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020810172519.BF71F22104A>