>> I don't understand your confusion. There is _no_ >> context when changing the casing of a filename >> is right. If you change the casing it's the exact >> same thing is if you added "foobar" in the middle >> of the filename. IOW casing matters the same way >> as the actual characters. >> > > I know Viktor. > > But the fact is when hbIDE started I did not know > that casing matters in *.nixes. For certain comparisons > it was needed to normalize the string and this function > saw the light of the world. Later when users reported > I had to change it a bit. But by then the function > get used at many places. > > Now I need to know which action is causing. > Hope I am clear now.
This is the reason I suggested to always use HB_FILEMATCH() when doing any comparison. So if you lookup and change all filename comparisons (except where you compare types by looking at the extension only), you can safely remove all lowercasing and close the whole issue. If you start it one-by-one per report, chances are good the code will never be right. Viktor _______________________________________________ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour