[Bug-wget] [Win32] fork_to_background() broken
The recent change of prototype of 'fork_to_background()' broke the Windows build: mswindows.c(329,1) : error: conflicting types for 'fork_to_background' fork_to_background (void) ^ ./utils.h(74,6) : note: previous declaration is here bool fork_to_background (void); ^ A simplistic patch: --- a/src/mswindows.c 2018-02-21 16:03:16 +++ b/mswindows.c 2018-02-21 16:24:06 @@ -312,7 +312,7 @@ /* This is the corresponding Windows implementation of the fork_to_background() function in utils.c. */ -void +bool fork_to_background (void) { int rv; @@ -332,6 +345,18 @@ abort (); } /* If we get here, we're the child. */ + return false; } (ignoring the 'logfile_changed' stuff). -- --gv
Re: [Bug-wget] Need help with verify-sig option
Hi Jay, Are you sure that you have compiled Wget2 with GPGME? What does `grep "GPGME: " config.log` say? If it is no, then you probably need to install the gpgme header files. The exact method will depend upon your specific distro. Usually for debian based distros it should be something like `apt-get install gpgme-devel` This also reminds me, we should have gpgme status reported in wget2 --version. I'll add that later today * Jay Bhavsar[180221 15:23]: > Hello folks. I need some help with wget2. When I use --verify-sig option, > it says it's invalid. Also, it's not listed in --help. But I can see it in > options.c file. What am I doing wrong here? Do I need to set some flags > during compilation? Help me out. > > Thanks. -- Thanking You, Darshit Shah PGP Fingerprint: 7845 120B 07CB D8D6 ECE5 FF2B 2A17 43ED A91A 35B6 signature.asc Description: PGP signature
Re: [Bug-wget] Need help with verify-sig option
[Bug-wget] Need help with verify-sig option
Hello folks. I need some help with wget2. When I use --verify-sig option, it says it's invalid. Also, it's not listed in --help. But I can see it in options.c file. What am I doing wrong here? Do I need to set some flags during compilation? Help me out. Thanks.