[darcs-users] darcs patch: slightly hokey approach to solving pwd problem.
Matthias Kilian
kili at outback.escape.de
Mon Oct 13 19:50:25 UTC 2008
On Mon, Oct 13, 2008 at 02:44:48PM -0400, David Roundy wrote:
> This may be a solution to the trickiness of calling pwd in the tests.
> e.g. bash doesn't call /bin/pwd, and also pwd in bash on cygwin
> doesn't give valid path names. It's a little silly, but I think it
> ought to be pretty darn portable.
A little bit overkill, but it helps fixing portability issues, why not?
One plea: could you use putStrLn instead of putStr?
Ciao,
Kili
ps: I didn't test it, but it looks sane.
More information about the darcs-users
mailing list