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

 
 

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

Submitter:  Andreas Metzler <ametzler>
Submitted:  Thu 31 Dec 2015 01:25:08 PM UTC
 
Category:  updatedb Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  jay
Originator Name:  Open/Closed:  Closed
Release:  4.4.2 Fixed Release:  4.7.0
* Mandatory Fields

Add a New Comment (Rich Markup)
   

Comment Type & Canned Response:
       

 

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

Hello,

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 ''

prints

    /some/fil

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

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)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    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.9