Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2002:
[Freeciv-Dev] Re: client string options: choosing from a list (v2) (PR#1
Home

[Freeciv-Dev] Re: client string options: choosing from a list (v2) (PR#1

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Raimar Falke <rf13@xxxxxxxxxxxxxxxxx>
Cc: jdorje@xxxxxxxxxxxxxxxxxxxxx, freeciv-dev@xxxxxxxxxxx, bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: client string options: choosing from a list (v2) (PR#1856)
From: Andreas Kemnade <akemnade@xxxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 2 Aug 2002 12:51:00 +0200

Raimar Falke writes:
 > On Thu, Aug 01, 2002 at 03:24:43PM -0700, jdorje@xxxxxxxxxxxxxxxxxxxxx wrote:
 > > Here is a new version of the patch.
 > > 
 > > Changes:
 > > 
 > > - Fixed bugs when there are no available choices for
 > > the strings.
 > > 
 > > - Changed some char** to const char**.
 > > 
 > > - Added #defines for ".tilespec" and ".spec",
 > > simultaneously removing an arbitrary string-length
 > > restriction of 16.  (As a side note, I wish it were
 > > .sndspec instead of .spec for sound sets.  Changing
 > > this should now just require changing the #define, but
 > > backwards-compatability would be broken.)
 > > 
 > > - Instead of hard-coding the list of sound plugins,
 > > loop over the available plugins to assemble the list.
 > 
 > > - Removed the use of scandir().  glob() is now used
 > > instead.  This is at least a POSIX standard, although
 > > it may still not work on non-POSIX systems.  But what
 > > alternatives are there?
 > 
 > readdir(3) is in SVID 3, POSIX, BSD 4.3. You have to do the matching
 > by yourself however.
opendir/readdir/closedir are even present in mingw32. So it can be
used on windows, too.

Greetings
Andreas Kemnade


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