Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!cbosgd!ucbvax!hplabs!hplabsc!daemon From: daemon@hplabsc.UUCP Newsgroups: comp.mail.elm Subject: Re: Patch: filter suffers from tolower macro probs too Message-ID: <1917@hplabsc.HP.COM> Date: Fri, 29-May-87 20:28:55 EDT Article-I.D.: hplabsc.1917 Posted: Fri May 29 20:28:55 1987 Date-Received: Sat, 30-May-87 11:51:07 EDT Sender: daemon@hplabsc.HP.COM Reply-To: amdcad!dopey.AMD.COM!jimb@decwrl.DEC.COM (Jim Budler) Organization: Advanced Micro Devices, Inc., Sunnyvale, Ca. Lines: 41 Approved: taylor@hplabs (with 'postmail') Uhhh. This portion of your patch works on Ultrix 2.0, (tolower() is in libc.a), but under BSD4.[23] tolower has to be defined (it's a macro). ) )From: harvard!adelie.Adelie.COM!barry@seismo.CSS.GOV (Barry A. Burke) ) )"filter" prints bogus status messages, and will even occaisionally core dump )on a BSD system (including Ultrix). Trace back to half-successful attempt at )disabling the (bad) "tolower" macro definition in hdrs/filter.h. ) )*** filter.h.orig Wed May 20 22:02:47 1987 )--- filter.h Wed May 20 22:03:19 1987 )*************** )*** 7,13 ) ) #ifdef BSD ) # undef tolower )- # define tolower(c) (isupper(c)? c = c - 'A' + 'a' : c) ) #endif ) ) /** define a few handy macros for later use... **/ ) )--- 7,12 ----- ) ) #ifdef BSD ) # undef tolower ) #endif ) ) /** define a few handy macros for later use... **/ # define tolower(c) (isupper(c)? (c - 'A' + 'a') : c) seems to work. -- I hate mud. I like blue clean flowing water. LA sucks water. That doesn't mean I like LA. (Actually, I like a lot of things in LA) + Jim Budler Advanced Micro Devices, Inc. (408) 749-5806 + + Compuserve: 72415,1200; Delphi: JIMBUDLER; Usenet: jimb@amdcad.AMD.COM +