From owner-freebsd-current Fri Mar 24 07:59:01 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id HAA05961 for current-outgoing; Fri, 24 Mar 1995 07:59:01 -0800 Received: from halloran-eldar.lcs.mit.edu (halloran-eldar.lcs.mit.edu [18.26.0.159]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id HAA05950 for ; Fri, 24 Mar 1995 07:58:59 -0800 Received: by halloran-eldar.lcs.mit.edu; id AA05061; Fri, 24 Mar 1995 10:34:29 -0500 Date: Fri, 24 Mar 1995 10:34:29 -0500 From: Garrett Wollman Message-Id: <9503241534.AA05061@halloran-eldar.lcs.mit.edu> To: Rich Scott Cc: current@FreeBSD.org Subject: Re: ATTENTION: VERY serious hidden bug in In-Reply-To: <199503240703.AAA27649@lookout.ecte.uswc.uswest.com> References: <199503240703.AAA27649@lookout.ecte.uswc.uswest.com> Sender: current-owner@FreeBSD.org Precedence: bulk < said: > strsep() also handles zero-length substrings correctly (when two > delimiter chars are adjacent). It's not ANSI-standard, but it's a lot > nicer than strtok(). Which namespace pollution is precisely the reason why I didn't use it in the first place. -GAWollman -- Garrett A. Wollman | Shashish is simple, it's discreet, it's brief. ... wollman@lcs.mit.edu | Shashish is the bonding of hearts in spite of distance. Opinions not those of| It is a bond more powerful than absence. We like people MIT, LCS, ANA, or NSA| who like Shashish. - Claude McKenzie + Florent Vollant