Menu

#163 Non-portable paths in code base

open
nobody
None
2024-03-30
2024-03-30
No

Several files in the source code for CDE have case conflicts. This prevents porting to systems which have case-preserving but not case-sensitive filesystems. In particular, this also causes problems while checking out the repository on systems such as Mac OS X.

The following files have conflicts:

cde/doc/de_DE.UTF-8/guides/usersGuide/graphics/CDR/Mailbox.cdr
cde/doc/de_DE.UTF-8/guides/usersGuide/graphics/CDR/mailbox.cdr
cde/doc/de_DE.UTF-8/guides/usersGuide/graphics/CDR/PMscreen.cdr
cde/doc/de_DE.UTF-8/guides/usersGuide/graphics/CDR/pmscreen.cdr
cde/doc/de_DE.UTF-8/guides/usersGuide/graphics/CDR/Screen1.cdr
cde/doc/de_DE.UTF-8/guides/usersGuide/graphics/CDR/screen1.cdr
cde/doc/de_DE.UTF-8/guides/usersGuide/graphics/CDR/Screen3.cdr
cde/doc/de_DE.UTF-8/guides/usersGuide/graphics/CDR/screen3.cdr
cde/doc/ja_JP.UTF-8/guides/usersGuide/graphics/BSpushb1.tif
cde/doc/ja_JP.UTF-8/guides/usersGuide/graphics/bspushb1.tif
cde/doc/ja_JP.UTF-8/guides/usersGuide/graphics/PMMainW.tif
cde/doc/ja_JP.UTF-8/guides/usersGuide/graphics/pmmainw.tif
cde/doc/ja_JP.UTF-8/guides/usersGuide/graphics/Screen3.tif
cde/doc/ja_JP.UTF-8/guides/usersGuide/graphics/screen3.tif
cde/lib/DtMmdb/StyleSheet/DocParser.C
cde/lib/DtMmdb/StyleSheet/docparser.C
cde/lib/DtMmdb/StyleSheet/Feature.C
cde/lib/DtMmdb/StyleSheet/feature.C
cde/lib/DtMmdb/utility/prolatex.C
cde/lib/DtMmdb/utility/prolatex.c
cde/programs/dtappbuilder/src/include/ab_private/AB.h
cde/programs/dtappbuilder/src/include/ab_private/ab.h
cde/programs/dtimsstart/conf/aix/Ja_JP
cde/programs/dtimsstart/conf/aix/ja_JP
cde/programs/dtimsstart/conf/aix/ZH_CN
cde/programs/dtimsstart/conf/aix/zh_CN
cde/programs/dtimsstart/conf/aix/Zh_TW
cde/programs/dtimsstart/conf/aix/zh_TW
cde/programs/dtinfo/dtinfo/src/UAS/Test/dlstub.C
cde/programs/dtinfo/dtinfo/src/UAS/Test/dlstub.c
cde/programs/dtlogin/config/Dtlogin.src
cde/programs/dtlogin/config/dtlogin.src
cde/programs/icons/DtABabF.m.bm
cde/programs/icons/DtABabf.m.bm
cde/programs/icons/DtABabW.m.bm
cde/programs/icons/DtABabw.m.bm
cde/programs/icons/DtABalF.m.bm
cde/programs/icons/DtABalf.m.bm
cde/programs/icons/DtABalL.m.bm
cde/programs/icons/DtABall.m.bm
cde/programs/icons/DtABalW.m.bm
cde/programs/icons/DtABalw.m.bm
cde/programs/icons/DtABarF.m.bm
cde/programs/icons/DtABarf.m.bm
cde/programs/icons/DtABarW.m.bm
cde/programs/icons/DtABarw.m.bm
cde/programs/icons/DtABatF.m.bm
cde/programs/icons/DtABatf.m.bm
cde/programs/icons/DtABatW.m.bm
cde/programs/icons/DtABatw.m.bm
cde/programs/icons/DtMail.m.bm
cde/programs/icons/Dtmail.m.bm
cde/programs/icons/DtMail.m.pm
cde/programs/icons/Dtmail.m.pm
cde/programs/icons/DtMail.m_m.bm
cde/programs/icons/Dtmail.m_m.bm
cde/programs/icons/DtMail.t.bm
cde/programs/icons/Dtmail.t.bm
cde/programs/icons/DtMail.t.pm
cde/programs/icons/Dtmail.t.pm
cde/programs/icons/DtMail.t_m.bm
cde/programs/icons/Dtmail.t_m.bm

Some of them are not a problem, but others, such as cde/programs/dtappbuilder/src/include/ab_private/AB.h and cde/programs/dtappbuilder/src/include/ab_private/ab.h are.

A careful solution needs to be considered that is respectful of the history of the code base, and also leads to the least amount of change. I would propose that the upper-case files be renamed with an underscore prepended, for example AB.h --> _AB.h. Exceptions to this would be in cases where the upper-case name is referenced more frequently in other code or where the files are duplicates.

I will submit a merge request as a proposal for resolving.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB