[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Sv: Sv: Details on some bugs in PenguinFile



Bjarke Hammersholt Roune writes:
 > >>No it wouldn't. This would do it:
 > >>
 > >>char[] __FILE__ = "c:\myfile.cpp"
 > >>
 > >>
 > >>and that's exactly the way it behaves. You seem to suggest this is not
 > >>standard behavior. I don't know...
 > >>
 > >Well, when some program is compiled, the names of its source files should
 > >be pretty constant, right?
 > 
 > >
 > Yes, one would think so. However, I seem to remember there being a very good
 > reason for this being this way, however, I can't seem to remember it right
 > now. Something with changing the source file name in some clever way...
 > 
It used to be a constant but now it isn't.  It has something to
do with threading, but I don't understand how.