Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2001:
[Freeciv-Dev] Re: [Patch] Watchtower v3

[Freeciv-Dev] Re: [Patch] Watchtower v3

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Justin Moore <justin@xxxxxxxxxxx>
Cc: Freeciv Developers <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: [Patch] Watchtower v3
From: Paul Zastoupil <paulz@xxxxxxxxxxxx>
Date: Thu, 30 Aug 2001 16:02:49 -0700

On Thu, Aug 30, 2001 at 06:36:10PM -0400, Justin Moore wrote:
> > > Content-Description: PERL-like split
> > > > Index: stdinhand.c
> > >
> > > I like it, but isn't scanf() even better?  It's standard, after all.
> >
> > bufsplit()?
>    From what I saw, scanf() can either split on a range of characters or
> on whitespace, but not both simultaneously (please correct me if I'm wrong
> here).  And I can't seem to find bufsplit on any linux boxen because it
> appears to be in libgen, which is not installed on RedHat or Debian by
> default (but is on Solaris :)).

Well that explains why you didn't use it.  I wasn't sure about portability.
Sorry for the red herring.

Paul Zastoupil

[Prev in Thread] Current Thread [Next in Thread]