Issue 69814 - dmakes directory cache is case sensitive on even if the FS is not
Summary: dmakes directory cache is case sensitive on even if the FS is not
Status: CLOSED FIXED
Alias: None
Product: Build Tools
Classification: Code
Component: dmake (show other issues)
Version: current
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: hjs
QA Contact: issues@tools
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-24 16:13 UTC by quetschke
Modified: 2013-08-07 15:34 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Patch for dmake (9.81 KB, patch)
2006-09-29 16:47 UTC, quetschke
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description quetschke 2006-09-24 16:13:13 UTC
Small testcase (on cygwin, but this should also happen on MacOSX with HFS+)

-- t_dcache_1.mk --
SHELL*:=/bin/sh 
SHELLFLAGS*:=-ce

test.file :
	@echo "Building $@"
-- t_dcache_1.mk --

$ rm -f test.file ; touch TEST.file

$ ./dmake/dmake.exe -rf t_dcache_1.mk 
"Building test.file"

but if the directory cache is disabled:
$ ./dmake/dmake.exe -d -rf t_dcache_1.mk 
`test.file' is up to date


This is obviously only an issue for case insensitive (but preserving) file
systems.

(While looking at this I found that the native W32 version doesn't do any
directory caching at all, but that is clearly another issue.)
Comment 1 quetschke 2006-09-29 16:47:37 UTC
Created attachment 39456 [details]
Patch for dmake
Comment 2 quetschke 2006-09-29 19:58:25 UTC
Committed (plus testcase).
Comment 3 quetschke 2006-09-29 19:58:55 UTC
Please verify.
Comment 4 hjs 2007-01-16 12:19:57 UTC
.
Comment 5 hjs 2007-01-23 14:36:52 UTC
seen in MWS