[Evolution-hackers] Symptom-fixing for Win32 paths
- From: Philip Van Hoof <spam pvanhoof be>
- To: evolution-hackers gnome org
- Subject: [Evolution-hackers] Symptom-fixing for Win32 paths
- Date: Thu, 19 Jan 2006 23:12:57 +0100
Hi there Tor,
A little remark about your Win32 porting ...
in mail_component_init somebody (I'm assuming you) did something like
char *p = priv->base_directory;
while ((p = strchr(p, '\\')))
*p++ = '/';
IMHO this is high level symptom-fixing. Wouldn't it be better to fix
camel in such a way that it accepts Win32 paths with "\" characters?
Maybe tomorrow we'll have an Operating System that doesn't use character
delimited paths in a string (or whatever or however). You'd have to
again duplicate this type of hacks into high level code to cope with
Wouldn't fixing the implementations for camel_session_construct and
camel_mkdir be a better solution?
Philip Van Hoof, software developer at x-tend
home: me at pvanhoof dot be
gnome: pvanhoof at gnome dot org
work: vanhoof at x-tend dot be
http://www.pvanhoof.be - http://www.x-tend.be
] [Thread Prev