chicken-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-hackers] [PATCH 4/4] files split-directory: don't split on


From: Florian Zumbiehl
Subject: Re: [Chicken-hackers] [PATCH 4/4] files split-directory: don't split on backslashes on non-windows
Date: Fri, 15 Mar 2013 12:02:28 +0100
User-agent: Mutt/1.5.20 (2009-06-14)

Hi,

> > -    (string-split dir "/\\" keep?) ) )
> > +    (string-split dir (if (eq? (build-platform) 'mingw32) "/\\" "/") 
> > keep?) ) )
> >  
> >  ;; Directory string or list only contains path-separators
> >  ;; and/or current-directory (".") names.
> 
> This should rather use ##sys#windows-platform IMHO.

Any hints what the exact semantics are? I copied that from
normalize-pathname, but I don't really have a clue whether that's actually
correct. Or maybe normalize-pathname should also be changed?

Regards, Florian



reply via email to

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