mainGNU tar - Support: sr #109391, Child returned status 2


sr #109391: Child returned status 2

Submitter:  J <now3d>
Submitted:  Wed 27 Sep 2017 09:04:45 AM UTC
Category:  None Priority:  5 - Normal
Severity:  3 - Normal Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Operating System:  None
* Mandatory Fields

Add a New Comment Rich Markup

Wed 27 Sep 2017 09:04:45 AM UTC, original submission:  


I saw in latest 1.29 the error numbers are output, rather than strerror(). Could that be updated? Would this be supported?


      else if (WEXITSTATUS (wait_status) != 0)
FATAL_ERROR ((0, 0, _("Child returned status %d"),
      WEXITSTATUS (wait_status)));

$ tar cvfz .thunderbird 2017-09-2
tar: 2017-09-2: Cannot stat: No such file or directory
tar (child): .thunderbird: Cannot open: Is a directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now

There are others for signals
  if (!(!eof && sig == SIGPIPE))
    FATAL_ERROR ((0, 0, _("Child died with signal %d"), sig));

Could strsignal() be used too so those are clearer?

Thank you

J <now3d>


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

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by now3d (Submitted the item)

    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.

    Only logged-in users can vote.


    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-b921.
    Corresponding source code