bugGNU nano - Bugs: bug #61236, trying to prepend to a fifo will...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #61236: trying to prepend to a fifo will hang

Submitter:  Benno Schulenberg <bens>
Submitted:  Tue 28 Sep 2021 07:55:19 AM UTC
   
 
Severity:  5 - Blocker Status:  Fixed
Assigned to:  bens Open/Closed:  Closed

Thu 07 Oct 2021 07:33:54 AM UTC, comment #2: 

Released in nano-5.9.

Benno Schulenberg <bens>
Group administrator
Tue 28 Sep 2021 08:22:01 AM UTC, comment #1: 

Fixed in git, commit 9ab49658, by bailing out when the user chose a fifo to prepend to.

Bug has existed since probably forever, probably since prepending was made possible.

Benno Schulenberg <bens>
Group administrator
Tue 28 Sep 2021 07:55:19 AM UTC, original submission:  

To reproduce, run:

mkfifo tube
src/nano --ignore

Then type: aaa ^O M-P tube <Enter>

See that nano hangs.  It is trying to make a copy of the contents of the fifo, and is waiting for data to come in.

Expected behavior: nano should refuse to prepend to a fifo, as it makes no sense.

Benno Schulenberg <bens>
Group administrator

 

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

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 bens (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.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-10-07 bens Open/ClosedOpen Closed
    2021-09-28 bens StatusIn Progress Fixed
        Summarywhen trying to prepend to a fifo, nano will hang trying to prepend to a fifo will hang

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code