Closed GoogleCodeExporter closed 8 years ago
Here is a patch that solves this problem.
When running the template, it will first create a mapping from symbols to
symbol file
names and ensure that there are no duplicates, in a case insensitive way. All
further
duplicates of a given symbol name will have a number appended to their
filenames.
The Link class has been modified to make use of the files mapping when creating
links
between files.
Original comment by PVinc...@googlemail.com
on 8 Jul 2008 at 3:56
Attachments:
Original comment by micmath
on 21 Jun 2009 at 4:37
It may be rare that people name their symbols identically except for case but
for those who do and who also
work on case-insensitive file systems (as I do, using Apple's HFS+) the
consequence is very bad: missing
documentation. So I think this warrants a usable solution.
This probably could have been dealt with via a plugin running an onSymbolLink
handler, but I chose to add it
to the template. I assume people will want to control whatever system is used
to generate the unique output
names. The new commandline option -u or --unique will switch this on, and is
recommended for anyone
using a case-insensitive fs to generate their output files.
This was committed in revision 801 and will be in release version 2.3.0.
Original comment by micmath
on 21 Jun 2009 at 10:38
Original issue reported on code.google.com by
PVinc...@googlemail.com
on 7 Jul 2008 at 1:43