bugGNU nano - Bugs: bug #47956, a cropped and useless filename is...

 
 

bug #47956: a cropped and useless filename is shown when a file is already being edited

Submitted by:  Benno Schulenberg <bens>
Submitted on:  Wed 18 May 2016 03:00:40 PM UTC  
 
Severity: 3 - NormalStatus: Fixed
Assigned to: Benno Schulenberg <bens>Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Wed 18 May 2016 07:38:03 PM UTC, comment #2:

Fixed in git, c9d1936.

And closing, because it is an unreleased bug.

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Wed 18 May 2016 05:36:40 PM UTC, comment #1:

The offending commit is fc7eb69.

Crap: dirname() modifies namecopy... So we need another copy. :| Pfff... What a crap stupid functions.

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Wed 18 May 2016 03:00:40 PM UTC, original submission:

Run 'src/nano src/files.c'. Do the same in another terminal. The resulting message is: "File src is being edited...". Wrong. It should be "src/files.c", not "src".

Bug is in git, not in 2.5.3 nor before.

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.

 

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

Attach File(s):
   
   
Comment:
   

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 bens (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
    Wed 18 May 2016 07:38:03 PM UTCbensStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1