[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-wget] [PATCH 00/14] fix "make syntax-check"
From: |
gscrivano |
Subject: |
[Bug-wget] [PATCH 00/14] fix "make syntax-check" |
Date: |
Wed, 11 Jun 2014 17:05:11 +0200 |
From: Giuseppe Scrivano <address@hidden>
A bunch of patches to fix "make syntax-check".
Some of them were really made just to accomodate make syntax-check as
"ftp: Replace main() with main in comments.".
Let me know if you spot anything wrong or if is ok to push these
patches to master.
Giuseppe Scrivano (14):
main: make program_name not static
Do not use exit() with a magic number
Do not include strings.h
Drop usage of strncpy
Update fdl.texi from gnulib
Remove trailing whitespaces
Ensure main calls bindtextdomain
Remove trailing empty lines
Replace @VAR@ in Makefile.am files with $VAR
Do not depend on always defined macros
po/POTFILES.in: add missing file
gnutls: do not include <assert.h>
Remove duplicated words
ftp: Replace main() with main in comments.
ABOUT-NLS | 1 -
ChangeLog | 23 ++++++
MAILING-LIST | 1 -
Makefile.am | 2 +-
NEWS | 2 +-
build-aux/build_info.pl | 2 +-
configure.ac | 13 ++-
doc/ChangeLog | 12 +++
doc/Makefile.am | 11 ++-
doc/fdl.texi | 26 +++---
doc/wget.texi | 10 +--
msdos/ChangeLog | 6 ++
msdos/Makefile.DJ | 1 -
msdos/Makefile.WC | 1 -
msdos/msdos.c | 1 -
po/POTFILES.in | 1 +
src/ChangeLog | 79 ++++++++++++++++++
src/DESCRIP_MODS.MMS | 1 -
src/DESCRIP_SRC.MMS | 1 -
src/Makefile.am | 8 +-
src/cmpt.c | 2 +-
src/connect.c | 5 +-
src/convert.c | 5 +-
src/css-url.c | 31 +------
src/decc_ver.c | 9 +++
src/exits.c | 19 -----
src/exits.h | 17 ++++
src/ftp-basic.c | 10 +--
src/ftp.c | 16 ++--
src/gnutls.c | 1 -
src/hash.c | 15 ++--
src/html-parse.c | 8 ++
src/http.c | 11 +--
src/init.c | 30 +++----
src/iri.c | 1 -
src/log.c | 5 +-
src/main.c | 94 +++++++++++-----------
src/mswindows.c | 13 ++-
src/mswindows.h | 19 -----
src/netrc.c | 20 +++--
src/progress.c | 4 +-
src/res.c | 1 -
src/retr.c | 20 ++---
src/spider.c | 1 -
src/sysdep.h | 77 ++----------------
src/test.c | 9 ++-
src/test.h | 1 -
src/url.c | 1 -
src/utils.c | 15 ++--
src/vms.c | 6 +-
src/warc.c | 14 ++--
src/wget.h | 8 +-
tests/ChangeLog | 87 ++++++++++++++++++++
tests/FTPTest.pm | 1 -
tests/HTTPServer.pm | 1 -
tests/HTTPTest.pm | 1 -
tests/Makefile.am | 4 +-
tests/Test--httpsonly-r.px | 1 -
tests/Test--no-content-disposition-trivial.px | 1 -
tests/Test--no-content-disposition.px | 1 -
tests/Test--spider-fail.px | 1 -
...st--spider-r--no-content-disposition-trivial.px | 1 -
tests/Test--spider-r--no-content-disposition.px | 1 -
tests/Test--spider-r-HTTP-Content-Disposition.px | 1 -
tests/Test--spider-r.px | 1 -
tests/Test--spider.px | 1 -
tests/Test--start-pos--continue.px | 2 -
tests/Test--start-pos.px | 2 -
tests/Test-204.px | 0
tests/Test-E-k-K.px | 1 -
tests/Test-E-k.px | 1 -
tests/Test-HTTP-Content-Disposition-1.px | 1 -
tests/Test-HTTP-Content-Disposition-2.px | 1 -
tests/Test-HTTP-Content-Disposition.px | 1 -
tests/Test-N--no-content-disposition-trivial.px | 1 -
tests/Test-N--no-content-disposition.px | 1 -
tests/Test-N-HTTP-Content-Disposition.px | 1 -
tests/Test-N-current.px | 1 -
tests/Test-N-no-info.px | 1 -
tests/Test-N-old.px | 1 -
tests/Test-N-smaller.px | 1 -
tests/Test-N.px | 1 -
tests/Test-O--no-content-disposition-trivial.px | 1 -
tests/Test-O--no-content-disposition.px | 1 -
tests/Test-O-HTTP-Content-Disposition.px | 1 -
tests/Test-O-nc.px | 1 -
tests/Test-O-nonexisting.px | 1 -
tests/Test-O.px | 1 -
tests/Test-Restrict-Lowercase.px | 1 -
tests/Test-Restrict-Uppercase.px | 1 -
tests/Test-auth-basic.px | 1 -
tests/Test-auth-no-challenge-url.px | 1 -
tests/Test-auth-no-challenge.px | 1 -
tests/Test-auth-retcode.px | 0
tests/Test-auth-with-content-disposition.px | 1 -
tests/Test-c-full.px | 1 -
tests/Test-c-partial.px | 1 -
tests/Test-c-shorter.px | 1 -
tests/Test-c.px | 1 -
tests/Test-cookies-401.px | 1 -
tests/Test-cookies.px | 1 -
tests/Test-ftp--start-pos.px | 3 -
tests/Test-ftp-bad-list.px | 1 -
tests/Test-ftp-iri-disabled.px | 1 -
tests/Test-ftp-iri-fallback.px | 1 -
tests/Test-ftp-iri-recursive.px | 1 -
tests/Test-ftp-iri.px | 1 -
tests/Test-ftp-list-Multinet.px | 1 -
tests/Test-ftp-list-UNIX-hidden.px | 1 -
tests/Test-ftp-list-Unknown-a.px | 1 -
tests/Test-ftp-list-Unknown-hidden.px | 1 -
tests/Test-ftp-list-Unknown-list-a-fails.px | 1 -
tests/Test-ftp-list-Unknown.px | 1 -
tests/Test-ftp-pasv-fail.px | 1 -
tests/Test-ftp-recursive.px | 1 -
tests/Test-ftp.px | 1 -
tests/Test-i-ftp.px | 1 -
tests/Test-i-http.px | 1 -
tests/Test-idn-cmd-utf8.px | 1 -
tests/Test-idn-cmd.px | 1 -
tests/Test-idn-headers.px | 1 -
tests/Test-idn-meta.px | 1 -
tests/Test-idn-robots-utf8.px | 1 -
tests/Test-idn-robots.px | 1 -
tests/Test-iri-disabled.px | 1 -
tests/Test-iri-forced-remote.px | 1 -
tests/Test-iri-list.px | 1 -
tests/Test-iri-percent.px | 1 -
tests/Test-iri.px | 1 -
tests/Test-k.px | 1 -
tests/Test-meta-robots.px | 1 -
tests/Test-nonexisting-quiet.px | 1 -
tests/Test-noop.px | 1 -
tests/Test-np.px | 1 -
tests/Test-proxy-auth-basic.px | 1 -
tests/Test-restrict-ascii.px | 1 -
tests/Test-stdouterr.px | 3 +-
tests/WgetTest.pm.in | 1 -
util/Makefile.am | 2 +-
util/rmold.pl | 1 -
util/trunc.c | 8 ++
vms/vms.h | 2 -
142 files changed, 449 insertions(+), 433 deletions(-)
mode change 100644 => 100755 tests/Test-204.px
mode change 100644 => 100755 tests/Test-auth-retcode.px
mode change 100644 => 100755 tests/Test-ftp-list-Multinet.px
mode change 100644 => 100755 tests/Test-ftp-list-UNIX-hidden.px
mode change 100644 => 100755 tests/Test-ftp-list-Unknown-a.px
mode change 100644 => 100755 tests/Test-ftp-list-Unknown-hidden.px
mode change 100644 => 100755 tests/Test-ftp-list-Unknown-list-a-fails.px
mode change 100644 => 100755 tests/Test-ftp-list-Unknown.px
--
1.9.3
- [Bug-wget] [PATCH 00/14] fix "make syntax-check",
gscrivano <=
- [Bug-wget] [PATCH 01/14] main: make program_name not static, gscrivano, 2014/06/11
- [Bug-wget] [PATCH 02/14] Do not use exit() with a magic number, gscrivano, 2014/06/11
- [Bug-wget] [PATCH 03/14] Do not include strings.h, gscrivano, 2014/06/11
- [Bug-wget] [PATCH 06/14] Remove trailing whitespaces, gscrivano, 2014/06/11
- [Bug-wget] [PATCH 04/14] Drop usage of strncpy, gscrivano, 2014/06/11