@@ -1,4 +1,11 @@
+Sat Oct 25 15:02:27 CDT 2003 Adam Heath <doogie@debian.org>
+
+ * almost all .c files: Almost *EVERY* damn file was including config.h in
+ the wrong spot. After making it the first include, then
+ off_t/size_t/etc could actually be redefined to be 64-bit compatible.
Sat Oct 25 12:47:22 CDT 2003 Adam Heath <doogie@debian.org>
* scripts/dpkg-checkbuilddeps.pl: Fix dpkg-checkbuilddeps calling of
parsedep. It wasn't setting use_arch.
@@ -1,5 +1,8 @@
dpkg (1.10.16) unstable; urgency=low
+ * Almost *EVERY* damn file was including config.h in the wrong spot.
+ After making it the first include, then off_t/size_t/etc could actually
+ be redefined to be 64-bit compatible.
* Jordi Mallach <jordi@debian.org>:
Fix configure to set HAVE_SETLOCALE. Closes: #211816
* "Loïc Le Loarer" <lll_deb@m4x.org>:
@@ -20,6 +20,8 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#include <config.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
@@ -38,7 +40,6 @@
#include <zlib.h>
#endif
-#include <config.h>
#include <dpkg.h>
#include <dpkg-db.h>
#include "dpkg-deb.h"
@@ -18,6 +18,7 @@
* License along with dpkg; if not, write to the Free Software
@@ -37,7 +38,6 @@
#include <dpkg-deb.h>
#include <myopt.h>
@@ -19,6 +19,7 @@
@@ -33,7 +34,6 @@
#include <limits.h>
#include <ctype.h>
#include <assert.h>
#include <version.h>
@@ -19,13 +19,14 @@
* License along with this; if not, write to the Free Software
-
+extern "C" {
+}
extern "C" {
}
@@ -19,6 +19,9 @@
@@ -29,7 +32,6 @@
#include <sys/termios.h>
@@ -18,14 +18,15 @@
@@ -18,13 +18,15 @@
@@ -36,7 +39,6 @@
#include <term.h>
@@ -26,7 +29,6 @@
#include <errno.h>
@@ -38,7 +41,6 @@
#include <sys/file.h>
@@ -18,6 +18,9 @@
@@ -34,7 +37,6 @@
@@ -25,7 +28,6 @@
#include <signal.h>
@@ -30,7 +31,6 @@
#include <sys/stat.h>
#include <unistd.h>
#ifndef HAVE_VSNPRINTF
@@ -18,11 +18,11 @@
@@ -34,7 +35,6 @@
@@ -21,6 +21,7 @@
/* fixme: don't write uninteresting packages */
@@ -31,7 +32,6 @@
#include <sys/types.h>
#include "parsedump.h"
@@ -27,7 +28,6 @@
#include <stdarg.h>
@@ -19,12 +19,12 @@
@@ -28,7 +29,6 @@
#include <fcntl.h>
* - Ian Jackson <ian@chiark.greenend.org.uk>.
* Still in the public domain.
+#include "config.h"
#include <string.h> /* for memcpy() */
#include <sys/types.h> /* for stupid systems */
#include <netinet/in.h> /* for ntohl() */
-#include "config.h"
#include "md5.h"
#ifdef WORDS_BIGENDIAN
#include <sys/wait.h>
#include <md5.h>
@@ -19,13 +19,13 @@
* License along with this file; if not, write to the Free Software
@@ -18,12 +18,12 @@
void showcopyright(const struct cmdinfo *c, const char *v) NONRETURNING;
@@ -17,11 +17,12 @@
#define obstack_chunk_alloc m_malloc
#define obstack_chunk_free free
#include <tarfn.h>
@@ -32,7 +33,6 @@
@@ -36,7 +37,6 @@
@@ -25,7 +26,6 @@
@@ -20,6 +20,7 @@
/* fixme: per-package audit */
#include <grp.h>
@@ -29,7 +30,6 @@
@@ -22,6 +22,7 @@
@@ -35,7 +36,6 @@
@@ -32,6 +32,7 @@
@@ -47,7 +48,6 @@
#include <fnmatch.h>
#include <ar.h>
#include "dpkg-split.h"
@@ -27,6 +27,7 @@
* <md5sum>.<maxpartlen>.<thispartn>.<maxpartn>
* all numbers in hex
@@ -38,7 +39,6 @@
#include <dirent.h>