Суббота, 30 марта 2013, 8:02 +01:00 от Mark Rotteveel <m...@lawinegevaar.nl>:
>On 30-3-2013 02:47, Adriano dos Santos Fernandes wrote:
>> Hi!
>>
>> Looks like the functions on this file does not work correctly with the
>> slash "/" separator.
>>
>> On the Windows kernel (but not always on cmd or GUI), this is a valid
>> path separator, and IMO Firebird should accept and work with it.
>
>In the Java world it is common to use "/" as a path separator even on 
>Windows. And afaik it works fine with Firebird 2.5 and earlier.

Some functions in that module already have checks like

if (ch == dir_sep || ch == '/')

IMHO other places should be adjusted according to this sample, or, even better, 
exported symbol dir_sep can be replaced with function isDirSep(ch).

------------------------------------------------------------------------------
Own the Future-Intel(R) Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest. Compete 
for recognition, cash, and the chance to get your game on Steam. 
$5K grand prize plus 10 genre and skill prizes. Submit your demo 
by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to