GNU nano - Bugs: bug #63446, including a non-existent file does...
You are not allowed to post comments on this tracker with your current authentication level.
bug #63446: including a non-existent file does not produce any message
Submitter: | Benno Schulenberg <bens> | ||
Submitted: | Wed 30 Nov 2022 10:38:03 AM UTC | ||
Severity: | 2 - Minor | Status: | Fixed |
Assigned to: | bens | Open/Closed: | Closed |
Fri 02 Dec 2022 11:07:17 AM UTC, comment #2: |
Benno Schulenberg <bens> |
Fri 02 Dec 2022 10:38:50 AM UTC, comment #1: Bug exists since version 4.0. The offending commit is d3f0d32e: "don't report an error when the globbing pattern matches nothing".
|
Benno Schulenberg <bens> |
Wed 30 Nov 2022 10:38:03 AM UTC, original submission:
To reproduce, do the following:
See that nano does not complain. Type ^X. There is not any message on the terminal either.
|
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 |
---|---|---|---|---|---|
2022-12-15 | bens | Open/Closed | Open | Closed | |
2022-12-02 | bens | Status | In Progress | Fixed | |
2022-12-02 | bens | Status | None | In Progress |
Powered by Savane 3.13-f8d8.
Corresponding source code
Fixed in git, commit 4b35626a, by letting glob() return the filename or pattern itself when it matches nothing (instead of returning a GLOB_NOMATCH error), and by not returning silently from parse_one_include() when the given file does not exist or is unreadable.