simon-svn: agedu: simon

Commits to Tartarus CVS repository. tartarus-commits at lists.tartarus.org
Mon Feb 20 22:40:27 GMT 2012


SVN root:       svn://svn.tartarus.org/sgt
Changes by:     simon
Revision:       9417
Date:           2012-02-20 22:40:27 +0000 (Mon, 20 Feb 2012)

Log message (10 lines):
I've just realised that there was a lurking gotcha in the naming of
HTML files after the pathnames they represent: in recursive -H mode
(dumping a full set of HTML reports into the filesystem), there could
be a name clash between index.html representing the top level, and
index.html representing a subdirectory called 'index'.

Fix by detecting the clash and adding gratuitous escaping in the
latter case; this is not a fully general solution that will work with
any list of string formats, but it should be good enough for the
current set.

Modified files:
U   agedu/html.c

Links:
http://svn.tartarus.org/sgt/?rev=9417&view=rev
http://svn.tartarus.org/sgt/agedu/html.c?rev=9417&r1=9416&r2=9417



More information about the tartarus-commits mailing list