Opened 16 years ago
Closed 16 years ago
#3514 closed bug (fixed)
[tar] wrong error message when file not found
Reported by: | Adek336 | Owned by: | axeld |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | Applications/Command Line Tools | Version: | R1/pre-alpha1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
~> tar xf nonexistantfile tar: nonexistantfile: Cannot open: Unknown system error tar: Error is not recoverable: exiting now
It should say File not found instead of Unknown system error.
Change History (5)
comment:1 by , 16 years ago
comment:3 by , 16 years ago
http://dev.haiku-os.org/browser/haiku/trunk/src/bin/tar/config.h#L971
change to:
/* #undef STRERROR_R_CHAR_P */
strerror_r() returns "int" instead of "char *" in Haiku.
Note:
See TracTickets
for help on using tickets.
I'm using tar 1.21 on haiku and it's working as expected (No such file or directory).