michael@13: Index: Makefile.in michael@250: --- Makefile.in.orig 2010-03-10 11:52:09.000000000 +0100 michael@250: +++ Makefile.in 2010-03-10 18:28:13.000000000 +0100 michael@250: @@ -899,7 +899,7 @@ michael@250: top_srcdir = @top_srcdir@ michael@13: ACLOCAL_AMFLAGS = -I m4 michael@250: EXTRA_DIST = ChangeLog.1 Make.rules michael@250: -SUBDIRS = doc gnu lib rmt src scripts po tests michael@250: +SUBDIRS = doc gnu lib src michael@250: gen_start_date = 2009-03-06 michael@250: prev_change_log = ChangeLog.CVS michael@250: changelog_dir = . michael@250: Index: gnu/argp-help.c michael@250: --- gnu/argp-help.c.orig 2010-03-10 11:50:33.000000000 +0100 michael@250: +++ gnu/argp-help.c 2010-03-10 18:26:15.000000000 +0100 michael@250: @@ -571,8 +571,7 @@ michael@13: return val; michael@13: } michael@13: michael@13: -static inline int michael@13: -__attribute__ ((always_inline)) michael@13: +static int michael@13: hol_entry_long_iterate (const struct hol_entry *entry, michael@250: int (*func)(const struct argp_option *opt, michael@250: const struct argp_option *real, michael@250: Index: gnu/strerror.c michael@250: --- gnu/strerror.c.orig 2010-03-10 11:50:43.000000000 +0100 michael@250: +++ gnu/strerror.c 2010-03-10 18:26:15.000000000 +0100 michael@250: @@ -25,6 +25,7 @@ michael@250: michael@250: # include michael@250: # include michael@250: +# include michael@250: michael@250: # if GNULIB_defined_ESOCK /* native Windows platforms */ michael@250: # if HAVE_WINSOCK2_H michael@13: Index: src/compare.c michael@250: --- src/compare.c.orig 2010-01-26 12:28:09.000000000 +0100 michael@250: +++ src/compare.c 2010-03-10 18:26:15.000000000 +0100 michael@250: @@ -277,7 +277,7 @@ michael@13: size_t len = strlen (current_stat_info.link_name); michael@13: char *linkbuf = alloca (len + 1); michael@13: michael@13: - int status = readlink (current_stat_info.file_name, linkbuf, len + 1); michael@13: + int status = readlink (current_stat_info.file_name, linkbuf, len); michael@13: michael@13: if (status < 0) michael@13: { michael@13: Index: src/create.c michael@250: --- src/create.c.orig 2010-03-09 13:52:41.000000000 +0100 michael@250: +++ src/create.c 2010-03-10 18:26:15.000000000 +0100 michael@250: @@ -1690,7 +1690,7 @@ michael@13: if (linklen != st->stat.st_size || linklen + 1 == 0) michael@13: xalloc_die (); michael@13: buffer = (char *) alloca (linklen + 1); michael@13: - size = readlink (p, buffer, linklen + 1); michael@13: + size = readlink (p, buffer, linklen); michael@13: if (size < 0) michael@13: { michael@250: file_removed_diag (p, top_level, readlink_diag); michael@13: Index: src/tar.c michael@250: --- src/tar.c.orig 2010-03-09 13:52:41.000000000 +0100 michael@250: +++ src/tar.c 2010-03-10 18:26:15.000000000 +0100 michael@13: @@ -20,6 +20,7 @@ michael@13: 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ michael@13: michael@13: #include michael@13: +#include michael@13: michael@13: #include michael@13: #include michael@13: Index: src/utf8.c michael@250: --- src/utf8.c.orig 2010-01-26 12:30:20.000000000 +0100 michael@250: +++ src/utf8.c 2010-03-10 18:26:15.000000000 +0100 michael@13: @@ -22,6 +22,9 @@ michael@13: #include "common.h" michael@13: #ifdef HAVE_ICONV_H michael@13: # include michael@13: +#else michael@13: +# define iconv_t void * michael@13: +# define ICONV_CONST const michael@13: #endif michael@13: michael@13: #ifndef ICONV_CONST michael@13: Index: src/xheader.c michael@250: --- src/xheader.c.orig 2010-02-12 11:03:09.000000000 +0100 michael@250: +++ src/xheader.c 2010-03-10 18:26:15.000000000 +0100 michael@250: @@ -26,6 +26,10 @@ michael@13: michael@250: #include "common.h" michael@13: michael@13: +#ifndef SIZE_MAX michael@13: +# define SIZE_MAX ((size_t) -1) michael@13: +#endif michael@13: + michael@13: static bool xheader_protected_pattern_p (char const *pattern); michael@13: static bool xheader_protected_keyword_p (char const *keyword); michael@13: static void xheader_set_single_keyword (char *) __attribute__ ((noreturn));