|
2020-10-09
| ||
| 07:10 | (cherry-pick): Fix [014ade1d44]: Misleading error message when using "-path" multiple times with "gl... check-in: 6547d4575d user: jan.nijtmans tags: core-8-5-branch | |
|
2020-10-08
| ||
| 10:40 | • Closed ticket [014ade1d44]: Misleading error message when using "-path"... artifact: 9aab6097e2 user: jan.nijtmans | |
| 10:39 | • Closed ticket [2821897fff]: Not appropiate exit msg in glob cmd plus 7 other... artifact: ea58e62652 user: jan.nijtmans | |
| 09:13 | Fix [014ade1d44]: Misleading error message when using "-path" multiple times with "glob" check-in: 40e8ce43cd user: jan.nijtmans tags: core-8-6-branch | |
|
2020-10-06
| ||
| 19:43 | • Ticket [014ade1d44] Misleading error message when using "-path" multip... artifact: 322db23c61 user: patthoyts | |
| 19:38 | • Ticket [014ade1d44]: 3 changes artifact: 72b6e07297 user: patthoyts | |
| 19:12 | • Add attachment [/artifact/653c3be759d52942|0001-Amended-the-error-message-when-path-or-directory-are... artifact: 2e64756435 user: anonymous | |
| 18:50 | • New ticket [014ade1d44] Misleading error message when using "-path" mu... artifact: 2bd827b084 user: anonymous | |
Misleading error message when using "-path" multiple times with "glob"
Closed / Fixed014ade1d443142aafe9cf5ba3c271ff870b5c667Created 6 years agoUpdated 6 years ago
Descriptionplain2020-10-06 18:50:03
Running the invalid command glob -path /etc -path /usr/share *bash* will give the following error message: "-path" cannot be used with "-directory" The command didn't contain "-directory", however. What it should really say is something like "-path" can only be given once or at most one instance of "-path" can be given The same problem occurs when using "-directory" twice: % glob -directory /etc -directory /usr/share *bash* "-directory" cannot be used with "-path" Discussion of this issue on the IRC channel already revealed that the error is in tclFileName.c, line 1309, in core-8-6-6.
Referenced by3
6547d4575d(cherry-pick): Fix [014ade1d44]: Misleading error message when using "-path" multiple times with "glob". Also fix a few (harmless) -Wundef warnings check-in2020-10-09 07:10:22ea58e62652Closed ticket [2821897fff]: Not appropiate exit msg in glob cmd plus 7 other changes ticket2020-10-08 10:39:4440e8ce43cdFix [014ade1d44]: Misleading error message when using "-path" multiple times with "glob" check-in2020-10-08 09:13:57
patthoyts Ticket [014ade1d44]: 3 changes
[History diff]2020-10-06 19:38:15
patthoytswiki2020-10-06 19:43:40
See also duplicate issue [2821897]
jan.nijtmanswiki2020-10-08 10:40:34
Fixed in core-8-6-branch and up now. Thanks for the bug report and patch!
Log in (anonymous is fine) to add a comment.