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:  updatedb Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  James Youngman <jay>
Originator Name:  Open/Closed:  Closed
Release:  4.4.2 Fixed Release:  4.7.0

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 Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


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

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

    Only logged-in users can vote.




    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-08-29 jay Open/ClosedOpen => Closed
    2019-08-29 berny Fixed ReleaseNone => 4.7.0
    2016-03-25 jay StatusNone => Fixed
    2016-03-25 jay Assigned toNone => jay

    Back to the top

    Powered by Savane 3.5