Path: news.cs.au.dk!not-for-mail From: Stephan Erbs Korsholm Newsgroups: comp.lang.beta Subject: Re: BUG: Windows does not treat filenames case-sensitive!! Date: 21 Mar 2000 09:40:00 +0100 Organization: University of Aarhus, Department of Computer Science (DAIMI) Lines: 48 Message-ID: References: <20000319111410.21036.qmail@noatun.mjolner.dk> NNTP-Posting-Host: geri.mjolner.dk X-Trace: xinwen.cs.au.dk 953628008 13696713 255.255.255.255 (21 Mar 2000 08:40:08 GMT) X-Complaints-To: news@cs.au.dk NNTP-Posting-Date: 21 Mar 2000 08:40:08 GMT X-Newsreader: Gnus v5.7/Emacs 20.4 Xref: news.cs.au.dk comp.lang.beta:12269 Hi, Sascha Kimmel writes, "I found a BUG: G:\Projekte\hostDirector>beta hostdirector Mjølner BETA Compiler version 5.4.5 (711) for WinNT/Win95 (i386) (MS) Target machine type nti_ms Building dependency graph for: 'hostdirector' ... Parsing: 'hostdirector' Parsing: 'httpfuncs' Filename found which only differs in case. Previously found: G:\Projekte\hostDirector\hostdirector Now found: G:\Projekte\hostDirector\hostDirector Filenames must be unique regardless of case. This error must not happen on any WIndows system, because Windows treats filenames the same regardless of the case! Please fix this error in the next release." This is not a bug, but a consequence of a well considered design decision. In order to support multi platform development the BETA fragment system require that filenames are unique regardless of case. Since certain platforms support case-sensitive filenames we have to enforce this on all platforms. In this particular case your program above might not compile on UNIX, since the 'hostdirector.bet' fragment might be saved as 'hostDirector.bet', in which case the fragment system would complain that the file didn't exist. Kind Regards, Stephan Korsholm, Mjolner Informatics. -- ====================================================================== Stephan Korsholm, MSc C.S., Software Engineer, Mjolner Informatics ApS email - sek@mjolner.dk phone - +45 86 20 20 11 ... wait for tone, then dial ... 2757 fax - +45 70 27 43 44 (mark with 'Mjolner Informatics') address - Forskerparken, Gustav Wieds Vej 10, DK-8000 Aarhus C ======================================================================