GNU nano - Bugs: bug #58993, with --positionlog, the first...
You are not allowed to post comments on this tracker with your current authentication level.
bug #58993: with --positionlog, the first start complains about a missing history file
Submitter: | Benno Schulenberg <bens> | ||
Submitted: | Sat 22 Aug 2020 07:46:55 AM UTC | ||
Severity: | 4 - Important | Status: | Fixed |
Assigned to: | bens | Open/Closed: | Closed |
Sat 22 Aug 2020 08:40:05 AM UTC, comment #3: |
Benno Schulenberg <bens> |
Sat 22 Aug 2020 08:15:29 AM UTC, comment #2: For a successful reproduction, you first have to move your ~/.nano/filepos_history (or ~/.config/nano/filepos_history) out of the way -- of course. |
Benno Schulenberg <bens> |
Sat 22 Aug 2020 08:12:48 AM UTC, comment #1: Oww... The bug is not old -- it exists since version 5.0. The offending commit is fcb9e58b: "take into account that statting a file can fail too". |
Benno Schulenberg <bens> |
Sat 22 Aug 2020 07:46:55 AM UTC, original submission:
To reproduce, run
On the status bar nano says: "Problems with history file".
|
Benno Schulenberg <bens> |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
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 |
---|---|---|---|---|---|
2020-08-25 | bens | Open/Closed | Open | Closed | |
2020-08-22 | bens | Status | In Progress | Fixed | |
2020-08-22 | bens | Status | None | In Progress |
Powered by Savane 3.13-758e.
Corresponding source code
Fixed in git, commit b60fec5d, by not complaining when statting the file returns -1.