Hi Pritpal, It seems you rather created a new problem for *nix users. As a rule: never transform casing of paths and filenames in portable code, and use hb_FileMatch() to check for equality of filenames and paths. This will do case sensitive comparison on *nixes and case insensitive ones on win/dos/os2.
Viktor On 2010 Apr 24, at 08:08, vouch...@users.sourceforge.net wrote: > Revision: 14385 > > http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14385&view=rev > Author: vouchcac > Date: 2010-04-24 06:08:53 +0000 (Sat, 24 Apr 2010) > > Log Message: > ----------- > 2010-04-23 23:05 UTC-0800 Pritpal Bedi (prit...@vouchcac.com) > * contrib/hbide/idemisc.prg > ! Fixed to store original filename without case convertion inside .hbp. > It fixes issue on linux if source file name contains mix case. > > Modified Paths: > -------------- > trunk/harbour/ChangeLog > trunk/harbour/contrib/hbide/idemisc.prg > > Modified: trunk/harbour/ChangeLog > =================================================================== > --- trunk/harbour/ChangeLog 2010-04-24 00:16:02 UTC (rev 14384) > +++ trunk/harbour/ChangeLog 2010-04-24 06:08:53 UTC (rev 14385) > @@ -17,6 +17,11 @@ > past entries belonging to author(s): Viktor Szakats. > */ > > +2010-04-23 23:05 UTC-0800 Pritpal Bedi (prit...@vouchcac.com) > + * contrib/hbide/idemisc.prg > + ! Fixed to store original filename without case convertion inside .hbp. > + It fixes issue on linux if source file name contains mix case. > + > 2010-04-23 17:12 UTC-0800 Pritpal Bedi (prit...@vouchcac.com) > * contrib/gtwvg/wvgpushb.prg > ! Fixed an ommitted SETGET keyword causing demowvg/demoxbp defunct. > > Modified: trunk/harbour/contrib/hbide/idemisc.prg > =================================================================== > --- trunk/harbour/contrib/hbide/idemisc.prg 2010-04-24 00:16:02 UTC (rev > 14384) > +++ trunk/harbour/contrib/hbide/idemisc.prg 2010-04-24 06:08:53 UTC (rev > 14385) > @@ -1571,8 +1571,8 @@ > ENDIF > > cLRoot := hbide_pathNormalized( cRoot, .t. ) > - cLPath := hbide_pathNormalized( cPath, .t. ) > - IF left( cLPath, len( cLRoot ) ) == cLRoot > + cLPath := hbide_pathNormalized( cPath, .f. ) > + IF left( lower( cLPath ), len( cLRoot ) ) == cLRoot > cP := substr( cLPath, len( cRoot ) + 1 ) > RETURN cP > ENDIF > > > This was sent by the SourceForge.net collaborative development platform, the > world's largest Open Source development site. _______________________________________________ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour