Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jul 2005 10:43:06 +1000
From:      Peter Grehan <grehan@freebsd.org>
To:        Garance A Drosihn <drosih@rpi.edu>
Cc:        freebsd-ppc@freebsd.org, Tilman Linneweh <arved@arved.at>
Subject:   Re: Minor issues of time on PPC
Message-ID:  <42DD9E1A.70900@freebsd.org>
In-Reply-To: <p06230958bf03263a3d2d@[128.113.24.47]>
References:  <p0623094fbf02347491f0@[128.113.24.47]>	<76a7785c90489775ff8c268778f52edb@arved.at> <p06230958bf03263a3d2d@[128.113.24.47]>

next in thread | previous in thread | raw e-mail | index | archive | help
>>>   - locate doesn't seem to work at all, which I actually
>>>     have started to look into a bit.
>>
>> Just FYI, the NetBSD locate compiles and works fine.
> 
> Yes, but it is missing some features that are in the FreeBSD
> version.  I was hoping I could just pick up some fixes from the
> NetBSD or OpenBSD versions, but it's not going to be that simple...

  I just looked through a really old build log I have and there was one 
compile warning in locate:

===> usr.bin/locate/code
cc -O -pipe 
-I/usr/home/grehan/freebsd/dev/src/usr.bin/locate/code/../locate  -
c /usr/home/grehan/freebsd/dev/src/usr.bin/locate/code/locate.code.c
/usr/home/grehan/freebsd/dev/src/usr.bin/locate/code/locate.code.c: In 
function
`main':
/usr/home/grehan/freebsd/dev/src/usr.bin/locate/code/locate.code.c:227: 
warning:
  comparison is always false due to limited range of data type

  .. though that line of code doesn't look like it would cause locate to 
bomb out all the time:

   /* print umlauts in file names */
   if (*cp < ASCII_MIN ||
       *cp > ASCII_MAX) {
        ^^^^^^^^^^^^^^^

later,

Peter.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42DD9E1A.70900>