[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-wget] [bug #54178] wget sometimes returns 1024
From: |
J |
Subject: |
[Bug-wget] [bug #54178] wget sometimes returns 1024 |
Date: |
Sat, 30 Jun 2018 17:45:15 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36 |
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/