bugGNU nano - Bugs: bug #52519, nano does not update stat data...

 
 

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

bug #52519: nano does not update stat data when using ^S when mark is on

Submitter:  Benno Schulenberg <bens>
Submitted:  Sun 26 Nov 2017 07:11:22 PM UTC
   
 
Severity:  3 - Normal Status:  Fixed
Assigned to:  bens Open/Closed:  Closed

Mon 27 Nov 2017 03:48:47 PM UTC, comment #2: 

Well... bug #52482 was in fact two bugs: 1) overwriting the file with just a part of it, and 2) not updating the stat info.  The first one seemed to cause the second, but... that is not the case.

Benno Schulenberg <bens>
Group administrator
Sun 26 Nov 2017 08:04:58 PM UTC, comment #1: 

Fixed in git, commit 20aa167c.

And closing, because unreleased.

Benno Schulenberg <bens>
Group administrator
Sun 26 Nov 2017 07:11:22 PM UTC, original submission:  

To reproduce, run:

   src/nano +1 NEWS

Then type: <Shift>+<Down> <Shift>+<Down>  ^S.

Then type ^S again.  Result:

   [ File on disk has changed ]

   File was modified since you opened it; continue saving?

This is incorrect, of course.  It forgot to update the stat info, simply because the mark is on and thus it thinks that it wrote just the selected region.

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 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-11-28 bens Open/ClosedOpen Closed
    2017-11-27 bens Open/ClosedClosed Open
    2017-11-26 bens StatusNone Fixed
        Assigned toNone bens
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code