[ofw] Re: [PATCH] remove unnecessary leading '/' from filename

Sasha Khapyorsky sashak at voltaire.com
Sun Nov 29 04:49:01 PST 2009


On 08:30 Sat 28 Nov     , Smith, Stan wrote:
> What about the excellent point you raised in previous discussions about those pathnames which are input from environment vars which could be improperly formed? For badly formed paths from ENV vars (lacking trailing '/'), is it sufficient to let open() fail and output path/filename to osm log file?

We are adding delimiter now (in a file path building code), so it is
not mandatory to have trailing '/' in directory name environment
variable.

Sasha



More information about the ofw mailing list