NetBSD Problem Report #798
From gnats Tue Feb 14 18:06:10 1995
Received: from pain.lcs.mit.edu (pain.lcs.mit.edu [128.52.46.239]) by sun-lamp.cs.berkeley.edu (8.6.9/8.6.9) with ESMTP id SAA22675 for <gnats-bugs@sun-lamp.cs.berkeley.edu>; Tue, 14 Feb 1995 18:06:09 -0800
Message-Id: <199502150206.TAA09254@willett.math.utah.edu>
Date: Tue, 14 Feb 1995 18:21:28 -0700
From: Lon Willett <lon%softt.uucp@math.utah.edu>
Reply-To: willett@math.utah.edu
To: gnats-bugs@NetBSD.ORG
Subject: locate.updatedb script has a typo
X-Send-Pr-Version: 3.2
>Number: 798
>Category: misc
>Synopsis: The "locate.updatedb" script has a fatal typo; fix included
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: misc-bug-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Feb 14 18:20:04 +0000 1995
>Closed-Date: Fri Feb 17 01:09:58 +0000 1995
>Last-Modified:
>Originator: Lon Willett
>Release: NetBSD-current 14 Feb 95
>Organization:
>Environment:
System: NetBSD hilly 1.0A NetBSD 1.0A (HILLY) #106: Mon Feb 13 16:14:32 MST 1995 lon@hilly:/usr/src/sys/arch/i386/compile/HILLY i386
>Description:
Somebody spaced out on csh vs sh scripting. See the patch.
NB: when this script is run by the /etc/weekly script, stderr
is redirected to /dev/null, so the error is not apparent in
the logs.
>How-To-Repeat:
Try running /usr/libexec/locate.updatedb by hand.
>Fix:
--- usr/src/usr.bin/locate/locate/updatedb.csh.orig Thu Dec 22 05:35:20 1994
+++ usr/src/usr.bin/locate/locate/updatedb.csh Sat Feb 11 04:40:56 1995
@@ -42,7 +42,7 @@
set SRCHPATHS = "/" # directories to be put in the database
set LIBDIR = /usr/libexec # for subprograms
# for temp files
-if (! $?TMPDIR) setenv TMPDIR = /var/tmp
+if (! $?TMPDIR) setenv TMPDIR /var/tmp
set FCODES = /var/db/locate.database # the database
set path = ( /bin /usr/bin )
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: jtc
State-Changed-When: Fri Feb 17 01:09:58 1995
State-Changed-Why:
Fixed.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.