Bladeren bron

* Fixed incorrect patch for --print-architecture (oops, oh well
it was already broken when there was no gcc anyway :)

Ben Collins 27 jaren geleden
bovenliggende
commit
ed81057b80
4 gewijzigde bestanden met toevoegingen van 17 en 1 verwijderingen
  1. 5 0
      ChangeLog
  2. 2 0
      TODO
  3. 8 0
      debian/changelog
  4. 2 1
      main/enquiry.c

+ 5 - 0
ChangeLog

@@ -1,3 +1,8 @@
+Thu Oct 21 12:57:31 EDT 1999 Ben Collins <bcollins.debian.org>
+
+  * Fixed incorrect patch for --print-architecture (oops, oh well
+    it was already broken when there was no gcc anyway :)
+
 Thu Oct 21 10:22:43 EDT 1999 Ben Collins <bcollins.debian.org>
 
   * Fixed the check that was added to dpkg-divert.

+ 2 - 0
TODO

@@ -21,6 +21,8 @@ urgent
  * openpgp signatures in the package archive
 
 other stuff unlikely to get done soon
+ * Purge a.out compatibility from source (keep the upgrade stuff in
+   place).
  * Automatically remove <file>.gz if <file> can't be found ? and maybe,
    remove <file> if <file.gz> can't be found? Bug mess when we start
    thinking about bz2 :/

+ 8 - 0
debian/changelog

@@ -1,3 +1,11 @@
+dpkg (1.4.1.18) unstable; urgency=low
+
+  * Fixed incorrect patch for --print-architecture (oops, oh well
+    it was already broken when there was no gcc anyway :)
+
+
+ -- Wichert Akkerman <wakkerma@debian.org>  UNRELEASED
+
 dpkg (1.4.1.17) unstable; urgency=low
 
   * Add support for long filenames, along with --assert-longfilenames

+ 2 - 1
main/enquiry.c

@@ -647,7 +647,8 @@ void printarch(const char *const *argv) {
      * are being called, then we should just give them the built
      * in arch.
      */
-    if (printf("%s\n",architecture) == EOF) werr("stdout");
+    if (printf("/usr/lib/gcc-lib/%s-none/0.0.0/libgcc.a\n",architecture) == EOF)
+      werr("stdout");
     if (fflush(stdout)) werr("stdout");
     exit(0);
   }