Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!execu!sequoia!rpp386!puzzle!khijol!erc From: erc@khijol.UUCP (Ed Carp, aka Mr. Ed the talking horse...) Newsgroups: comp.unix.xenix Subject: Re: strings.h Message-ID: <1241@khijol.UUCP> Date: 13 Feb 90 05:19:06 GMT References: <7472@tank.uchicago.edu> <1762@milton.acs.washington.edu> <25CFA63A.156D@marob.masa.com> Reply-To: erc@khijol.UUCP (Ed Carp, aka Mr. Ed the talking horse...) Organization: Emotional Counseling Services of Austin Lines: 16 In article <25CFA63A.156D@marob.masa.com> daveh@marob.masa.com (Dave Hammond) writes: >Someone did exactly this on the machines here, a while back. >It breaks nothing, and eliminates one porting nuisance. Be sure that you put #define index strchr #define rindex strrchr in your string.h file, or your linker may complain if you port BSD code to *NIX. -- Ed Carp N7EKG/5 (28.3-28.5) uunet!cs.utexas.edu!khijol!erc Austin, Texas (512) 832-5884 "Good tea. Nice house." - Worf Opinions expressed are mine. Copyright 1990 Edwin R. Carp. All Rights Reserved.