bugfindutils - Bugs: bug #46784, frcode drops last char if no final...


bug #46784: frcode drops last char if no final newline

Submitted by:  Andreas Metzler <ametzler>
Submitted on:  Thu 31 Dec 2015 01:25:08 PM UTC  
Category: updatedbSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: James Youngman <jay>
Originator Name: Open/Closed: Open
Release: 4.4.2Fixed Release: None

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Thu 31 Dec 2015 01:25:08 PM UTC, original submission:


this is https://bugs.debian.org/567578 submitted by Kevin Ryde:

If the input to frcode doesn't have a final newline before end of file,
it drops the last char of the last filename. Eg.

echo -n /some/file | /usr/lib/locate/frcode >/tmp/foo.locatedb
locate -d /tmp/foo.locatedb ''



where I expected it to be "/some/file".

No doubt it's a case of "don't do that", but it should be easy for
frcode to be more careful in its reading.

Andreas Metzler <ametzler>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by jay (Updated the item)
  • -unavailable- added by ametzler (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 25 Mar 2016 09:30:58 AM UTCjayStatusNone=>Fixed
    Fri 25 Mar 2016 09:08:36 AM UTCjayAssigned toNone=>jay

    Back to the top

    Powered by Savane 3.1-cleanup1