diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1999-11-09 18:16:19 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1999-11-09 18:16:19 +0000 |
commit | 20f052c233a3c02f2a1e0d3a627e61d04162d90b (patch) | |
tree | 40ea51f593a8189513f1e2bbb2359595edb044be | |
parent | da96ddce062a45f9808d8bc7ec08ca6ac4faf949 (diff) |
remove really lame bug espie created; ca@zardoc.endmail.org
-rw-r--r-- | usr.bin/m4/stdd.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/m4/stdd.h b/usr.bin/m4/stdd.h index ae902b4f154..5c869b7f77d 100644 --- a/usr.bin/m4/stdd.h +++ b/usr.bin/m4/stdd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: stdd.h,v 1.3 1999/09/06 13:07:36 espie Exp $ */ +/* $OpenBSD: stdd.h,v 1.4 1999/11/09 18:16:18 deraadt Exp $ */ /* $NetBSD: stdd.h,v 1.2 1995/09/28 05:37:50 tls Exp $ */ /*- @@ -52,8 +52,8 @@ * STREQ is an optimised strcmp(a,b)==0 * STREQN is an optimised strncmp(a,b,n)==0; assumes n > 0 */ -#define STREQ(a, b) ((a)[0] == (b)[0] && strcmp((a)+1, (b)+1) == 0) -#define STREQN(a, b, n) ((a)[0] == (b)[0] && strncmp((a)+1, (b)+1, (n)-1) == 0) +#define STREQ(a, b) ((a)[0] == (b)[0] && strcmp(a, b) == 0) +#define STREQN(a, b, n) ((a)[0] == (b)[0] && strncmp(a, b, n) == 0) #define YES 1 #define NO 0 |