[Chicken-hackers] [PATCH] Strip all trailing slashes from directory pathname parts

2013-06-01 Thread Evan Hanson
Kristian found the following behavior yesterday: #; (create-directory ./abc//def/ghi 'recursively) Error: (create-directory) cannot create directory - File exists: ./abc/ ... The reason for this error is that `create-directory` loops on the successive results of `pathname-directory`

Re: [Chicken-hackers] [PATCH] Strip all trailing slashes from directory pathname parts

2013-06-01 Thread Evan Hanson
Argh, here's a better version that removes some unnecessary code. Evan From 38107450defef9ee6d65f64edc7f304016c542a1 Mon Sep 17 00:00:00 2001 From: Evan Hanson ev...@foldling.org Date: Sat, 1 Jun 2013 16:18:30 +1200 Subject: [PATCH] Strip all trailing slashes from directory pathname parts This