Re: include statement bugs
- Posted by "Juergen Luethje" <j.lue at gmx.de> Oct 18, 2004
- 734 views
Robert Craig wrote: > Derek Parnell wrote: >> Do you believe that two files always have the same content if >> the have the same name but reside in different folders? >> >> For example, given these two files ... >> >> myfolder\abc.ew >> yourfolder\abc.ew >> >> do you believe that their contents must therefore also be >> identical, just because their names are the same? > > The second include is ignored on the assumption that they > are essentially the same. ("belief" that they are "identical" > overstates things a bit) > >> If not, will v2.5 use the entire canonical path name when it >> determines whether or not to instantiate a new included file? > > No it won't. > I consider this to be a tiny issue that affects maybe 1% or less > of all programs. What can be the effects of this issue? If this issue can be a source of hidden bugs in a program, the rate of potentially affected programs should not be the only criterion. For causing considerable damage, only 1 buggy program is necessary, that e.g. controls an important device. <snip> Regards, Juergen