Re: [cc65] fopen

From: Groepaz <groepaz1gmx.net>
Date: 2010-11-15 17:25:59
On Sonntag 14 November 2010, Ullrich von Bassewitz wrote:
> Good evening!
> 
> On Sun, Nov 14, 2010 at 06:47:25PM +0100, Stefan wrote:
> > Using space characters in the filename, fopen returns a zero pointer
> > which means an error. See below.
> 
> The cc65 library parses the filename and when doing so checks for
> characters it considers invalid. It seems that the routine is overly
> strict here. Currently allowed characters are:
> 
>         letter digits . , - _ + ( )
> 
> I can either remove the check alltogether, extend it by adding more allowed
> characters or revert it (check for characters not allowed like ':' and
> '@'). Any suggestions?

remove. (or only check for * and ? and stuff that is _actually_ not valid).

-- 

http://www.hitmen-console.org    http://magicdisk.untergrund.net
http://www.pokefinder.org        http://ftp.pokefinder.org

Motivation ist der Anfang allen Übels

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Mon Nov 15 17:26:26 2010

This archive was generated by hypermail 2.1.8 : 2010-11-15 17:26:28 CET