Follow-up Comment #4, bug #54178 (project wget): Hi I've attached C code example which invokes "wget". I think you are right, the system() syscall invokes a shell, which invokes wget.. that seems to fork() which is probably why the result is shifted 8bits
(file #44468) _______________________________________________________ Additional Item Attachment: File name: wget2.c Size:0 KB _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?54178> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/