From 604de560099cb57534a90d4ff451f9ab3f221ee7 Mon Sep 17 00:00:00 2001 From: Ben Lindstrom Date: Thu, 4 Jul 2002 18:20:51 +0000 Subject: [PATCH] - (bal) glob.c defines TILDE and AIX also defines it. #undef it first. bug #265 --- ChangeLog | 4 +++- openbsd-compat/glob.c | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 800759837..d68b5461b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,8 @@ 20020704 - (bal) Limit data to TTY for AIX only (Newer versions can't handle the faster data rate) Bug #124 + - (bal) glob.c defines TILDE and AIX also defines it. #undef it first. + bug #265 20020703 - (bal) Updated contrib/cygwin/ patch by vinschen@redhat.com @@ -1271,4 +1273,4 @@ - (stevesk) entropy.c: typo in debug message - (djm) ssh-keygen -i needs seeded RNG; report from markus@ -$Id: ChangeLog,v 1.2333 2002/07/04 18:11:09 mouring Exp $ +$Id: ChangeLog,v 1.2334 2002/07/04 18:20:51 mouring Exp $ diff --git a/openbsd-compat/glob.c b/openbsd-compat/glob.c index 365d4334f..14c91420d 100644 --- a/openbsd-compat/glob.c +++ b/openbsd-compat/glob.c @@ -97,6 +97,7 @@ static char rcsid[] = "$OpenBSD: glob.c,v 1.16 2001/04/05 18:36:12 deraadt Exp $ #define RBRACKET ']' #define SEP '/' #define STAR '*' +#undef TILDE /* Some platforms may already define it */ #define TILDE '~' #define UNDERSCORE '_' #define LBRACE '{'