Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-4]: src/gnu/dist/gcc Pull up rev. 1.4; approved by cjs.



details:   https://anonhg.NetBSD.org/src/rev/24b006a05e71
branches:  netbsd-1-4
changeset: 468186:24b006a05e71
user:      kleink <kleink%NetBSD.org@localhost>
date:      Mon Apr 12 17:03:22 1999 +0000

description:
Pull up rev. 1.4; approved by cjs.

diffstat:

 gnu/dist/gcc/cpphash.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r c8617f908494 -r 24b006a05e71 gnu/dist/gcc/cpphash.c
--- a/gnu/dist/gcc/cpphash.c    Mon Apr 12 16:56:12 1999 +0000
+++ b/gnu/dist/gcc/cpphash.c    Mon Apr 12 17:03:22 1999 +0000
@@ -86,7 +86,7 @@
     bucket = bucket->next;
   }
   /* Lookups pass no hashcode.  #define passes one.  Look for no hashcode. */
-  if (islookup && !strncmp(name, "unix", len) && !warned_unix) {
+  if (islookup && len == 4 && bcmp(name, "unix", 4) == 0 && !warned_unix) {
     warned_unix++;
     warning("deprecated symbol \"unix\" is no longer predefined");
   }



Home | Main Index | Thread Index | Old Index