+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.
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>:
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#include <config.h>
+
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <zlib.h>
#endif
-#include <config.h>
#include <dpkg.h>
#include <dpkg-db.h>
#include "dpkg-deb.h"
* License along with dpkg; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#include <config.h>
#include <stdio.h>
#include <string.h>
#include <zlib.h>
#endif
-#include <config.h>
#include <dpkg.h>
#include <dpkg-deb.h>
#include <myopt.h>
* License along with dpkg; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#include <config.h>
#include <stdio.h>
#include <string.h>
#include <limits.h>
#include <ctype.h>
-#include <config.h>
#include <dpkg.h>
#include <dpkg-db.h>
#include <myopt.h>
* License along with dpkg; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#include <config.h>
#include <stdio.h>
#include <string.h>
#include <ctype.h>
#include <assert.h>
-#include <config.h>
#include <dpkg.h>
#include <version.h>
#include <myopt.h>
* License along with this; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-
+extern "C" {
+#include <config.h>
+}
#include <stdio.h>
#include <string.h>
#include <assert.h>
extern "C" {
-#include <config.h>
#include <dpkg.h>
#include <dpkg-db.h>
}
* License along with this; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+extern "C" {
+#include <config.h>
+}
#include <stdio.h>
#include <string.h>
#include <sys/termios.h>
extern "C" {
-#include <config.h>
#include <dpkg.h>
#include <dpkg-db.h>
}
* License along with this; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-
+extern "C" {
+#include <config.h>
+}
#include <stdio.h>
#include <string.h>
#include <assert.h>
#include <ctype.h>
extern "C" {
-#include <config.h>
#include <dpkg.h>
#include <dpkg-db.h>
}
* License along with this; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+extern "C" {
+#include <config.h>
+}
#include <stdio.h>
#include <string.h>
#include <assert.h>
extern "C" {
-#include <config.h>
#include <dpkg.h>
#include <dpkg-db.h>
}
* License along with dpkg; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+extern "C" {
+#include <config.h>
+}
#include <stdio.h>
#include <string.h>
#include <term.h>
extern "C" {
-#include <config.h>
#include <dpkg.h>
#include <dpkg-db.h>
#include <version.h>
* License along with this; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+extern "C" {
+#include <config.h>
+}
#include <stdio.h>
#include <string.h>
#include <assert.h>
extern "C" {
-#include <config.h>
#include <dpkg.h>
#include <dpkg-db.h>
}
* License along with this; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+extern "C" {
+#include <config.h>
+}
#include <stdio.h>
#include <string.h>
#include <errno.h>
extern "C" {
-#include <config.h>
#include <dpkg.h>
#include <dpkg-db.h>
}
* License along with dpkg; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+extern "C" {
+#include <config.h>
+}
#include <stdio.h>
#include <string.h>
#include <sys/file.h>
extern "C" {
-#include <config.h>
#include <dpkg.h>
#include <dpkg-db.h>
}
* License along with dpkg; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+extern "C" {
+#include <config.h>
+}
#include <stdio.h>
#include <string.h>
extern "C" {
-#include <config.h>
#include <dpkg.h>
#include <dpkg-db.h>
}
* License along with this; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+extern "C" {
+#include <config.h>
+}
#include <stdio.h>
#include <string.h>
#include <assert.h>
extern "C" {
-#include <config.h>
#include <dpkg.h>
#include <dpkg-db.h>
}
* License along with this; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+extern "C" {
+#include <config.h>
+}
#include <stdio.h>
#include <string.h>
#include <assert.h>
extern "C" {
-#include <config.h>
#include <dpkg.h>
#include <dpkg-db.h>
}
* License along with this; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+extern "C" {
+#include <config.h>
+}
#include <stdio.h>
#include <string.h>
#include <assert.h>
extern "C" {
-#include <config.h>
#include <dpkg.h>
#include <dpkg-db.h>
}
* License along with this; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+extern "C" {
+#include <config.h>
+}
#include <stdio.h>
#include <string.h>
#include <ctype.h>
extern "C" {
-#include <config.h>
#include <dpkg.h>
#include <dpkg-db.h>
}
* License along with this; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+extern "C" {
+#include <config.h>
+}
#include <stdio.h>
#include <string.h>
#include <assert.h>
extern "C" {
-#include <config.h>
#include <dpkg.h>
#include <dpkg-db.h>
}
* License along with this; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+extern "C" {
+#include <config.h>
+}
#include <stdio.h>
#include <string.h>
#include <errno.h>
extern "C" {
-#include <config.h>
#include <dpkg.h>
#include <dpkg-db.h>
}
* License along with this; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+extern "C" {
+#include <config.h>
+}
#include <stdio.h>
#include <string.h>
#include <assert.h>
extern "C" {
-#include <config.h>
#include <dpkg.h>
#include <dpkg-db.h>
}
* License along with this; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+extern "C" {
+#include <config.h>
+}
#include <stdio.h>
#include <string.h>
#include <ctype.h>
extern "C" {
-#include <config.h>
#include <dpkg.h>
#include <dpkg-db.h>
}
* License along with dpkg; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#include <config.h>
#include <errno.h>
#include <signal.h>
#include <sys/stat.h>
#include <unistd.h>
-#include <config.h>
#include <dpkg.h>
#ifndef HAVE_VSNPRINTF
* License along with dpkg; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#include <config.h>
#include <ctype.h>
#include <string.h>
-#include <config.h>
#include <dpkg.h>
#include <dpkg-db.h>
* License along with dpkg; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#include <config.h>
#include <stdio.h>
#include <string.h>
#include <ctype.h>
#include <assert.h>
-#include <config.h>
#include <dpkg.h>
#include <dpkg-db.h>
*/
/* fixme: don't write uninteresting packages */
+#include <config.h>
#include <stdio.h>
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
-#include <config.h>
#include <dpkg.h>
#include <dpkg-db.h>
#include "parsedump.h"
* License along with dpkg; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#include <config.h>
#include <stdio.h>
#include <string.h>
#include <stdarg.h>
#include <assert.h>
-#include <config.h>
#include <dpkg.h>
#include <dpkg-db.h>
* License along with dpkg; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#include <config.h>
#include <stdio.h>
#include <ctype.h>
#include <string.h>
-#include <config.h>
#include <dpkg.h>
#include <dpkg-db.h>
#include "parsedump.h"
* License along with dpkg; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#include <config.h>
#include <unistd.h>
#include <stdlib.h>
#include <fcntl.h>
#include <sys/file.h>
-#include <config.h>
#include <dpkg.h>
#include <dpkg-db.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
* License along with dpkg; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#include <config.h>
#include <unistd.h>
#include <stdio.h>
#include <sys/wait.h>
#include <sys/types.h>
-#include <config.h>
#include <dpkg.h>
#include <dpkg-db.h>
#include <md5.h>
* License along with this file; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#include <config.h>
#include <string.h>
#include <errno.h>
#include <ctype.h>
#include <stdlib.h>
-#include <config.h>
#include <myopt.h>
#include <dpkg.h>
* License along with dpkg; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#include <config.h>
#include <stdlib.h>
#include <string.h>
-#include <config.h>
#include <dpkg.h>
#include <dpkg-db.h>
* License along with dpkg; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#include <config.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
-#include <config.h>
#include <dpkg.h>
#include <dpkg-db.h>
#include "parsedump.h"
* License along with dpkg; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#include <config.h>
#include <stdio.h>
#include <ctype.h>
#include <string.h>
-#include <config.h>
#include <dpkg.h>
#include <dpkg-db.h>
#include "parsedump.h"
* License along with dpkg; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#include <config.h>
#include <stdlib.h>
#include <unistd.h>
#include <fcntl.h>
-#include <config.h>
#include <dpkg.h>
void showcopyright(const struct cmdinfo *c, const char *v) NONRETURNING;
* License along with dpkg; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#include <config.h>
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <config.h>
#include <dpkg.h>
#include <dpkg-db.h>
* License along with dpkg; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#include <config.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
-#include <config.h>
#include <dpkg.h>
#include <dpkg-db.h>
* License along with dpkg; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#include <config.h>
#include <ctype.h>
#include <string.h>
-#include <config.h>
#include <dpkg.h>
#include <dpkg-db.h>
#include "parsedump.h"
* License along with dpkg; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#include <config.h>
#include <errno.h>
#include <stdio.h>
#define obstack_chunk_alloc m_malloc
#define obstack_chunk_free free
-#include <config.h>
#include <dpkg.h>
#include <dpkg-db.h>
#include <tarfn.h>
* License along with dpkg; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#include <config.h>
#include <errno.h>
#include <stdio.h>
#include <sys/stat.h>
#include <sys/types.h>
-#include <config.h>
#include <dpkg.h>
#include <dpkg-db.h>
#include <tarfn.h>
* License along with dpkg; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#include <config.h>
#include <errno.h>
#include <signal.h>
#include <assert.h>
#include <sys/wait.h>
-#include <config.h>
#include <dpkg.h>
#include <dpkg-db.h>
* License along with dpkg; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#include <config.h>
#include <errno.h>
#include <unistd.h>
#include <sys/types.h>
#include <assert.h>
-#include <config.h>
#include <dpkg.h>
#include <dpkg-db.h>
*/
/* fixme: per-package audit */
+#include <config.h>
#include <stdio.h>
#include <string.h>
#include <sys/termios.h>
#include <fcntl.h>
-#include <config.h>
#include <dpkg.h>
#include <dpkg-db.h>
#include <myopt.h>
* License along with dpkg; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#include <config.h>
#include <stdio.h>
#include <string.h>
#include <limits.h>
#include <ctype.h>
-#include <config.h>
#include <dpkg.h>
#include <dpkg-db.h>
#include <myopt.h>
* License along with dpkg; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#include <config.h>
#include <assert.h>
#include <unistd.h>
#include <grp.h>
#include <sys/types.h>
-#include <config.h>
#include <dpkg.h>
#include <dpkg-db.h>
* License along with dpkg; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#include <config.h>
#include <errno.h>
#include <unistd.h>
#include <sys/wait.h>
#include <signal.h>
-#include <config.h>
#include <dpkg.h>
#include <version.h>
#include <dpkg-db.h>
* License along with dpkg; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#include <config.h>
#include <stdio.h>
#include <string.h>
#include <limits.h>
#include <ctype.h>
-#include <config.h>
#include <dpkg.h>
#include <dpkg-db.h>
#include <version.h>
* License along with dpkg; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#include <config.h>
#include <stdio.h>
#include <string.h>
#include <string.h>
#include <assert.h>
-#include <config.h>
#include <dpkg.h>
#include <dpkg-db.h>
#include <myopt.h>
* License along with dpkg; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#include <config.h>
#include <errno.h>
#include <stdio.h>
#include <sys/types.h>
#include <sys/wait.h>
-#include <config.h>
#include <dpkg.h>
#include <dpkg-db.h>
#include <tarfn.h>
* License along with dpkg; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#include <config.h>
#include <stdio.h>
#include <string.h>
#include <sys/termios.h>
#include <fcntl.h>
-#include <config.h>
#include <dpkg.h>
#include <dpkg-db.h>
#include <myopt.h>
* License along with dpkg; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#include <config.h>
#include <errno.h>
#include <stdio.h>
#include <string.h>
#include <assert.h>
-#include <config.h>
#include <dpkg.h>
#include <dpkg-db.h>
#include <myopt.h>
* License along with dpkg; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#include <config.h>
#include <stdio.h>
#include <string.h>
#include <fnmatch.h>
#include <ctype.h>
-#include <config.h>
#include <dpkg.h>
#include <dpkg-db.h>
* License along with dpkg; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#include <config.h>
#include <errno.h>
#include <stdio.h>
#include <assert.h>
#include <unistd.h>
-#include <config.h>
#include <dpkg.h>
#include <dpkg-db.h>
#include <myopt.h>
* License along with dpkg; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#include <config.h>
#include <stdio.h>
#include <stdlib.h>
#include <ar.h>
#include <ctype.h>
-#include <config.h>
#include <dpkg.h>
#include <dpkg-db.h>
#include "dpkg-split.h"
* License along with dpkg; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#include <config.h>
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include <string.h>
-#include <config.h>
#include <dpkg.h>
#include <dpkg-db.h>
#include "dpkg-split.h"
* License along with dpkg; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#include <config.h>
#include <string.h>
#include <stdio.h>
#include <limits.h>
#include <assert.h>
-#include <config.h>
#include <dpkg.h>
#include <dpkg-db.h>
#include <version.h>
* <md5sum>.<maxpartlen>.<thispartn>.<maxpartn>
* all numbers in hex
*/
+#include <config.h>
#include <stdio.h>
#include <stdlib.h>
#include <dirent.h>
#include <string.h>
-#include <config.h>
#include <dpkg.h>
#include <dpkg-db.h>
#include "dpkg-split.h"
* License along with dpkg; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#include <config.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/stat.h>
#include <fcntl.h>
-#include <config.h>
#include <dpkg.h>
#include <dpkg-db.h>
#include "dpkg-split.h"