J
Jean-Marc Bourguet
CBFalconer said:In that case the '/' will cause problems. I meant filenames without
paths. Paths are normally controlled through unmentioned compiler
options anyhow. And I have little sympathy for people who give different
files the same name.
I don't have the luxery of working only with what I've written and I've
spend to much time integrating together things which where not designed to
be integrated (they started in different companies), not to have sympathy
for people struggling with name conflict in general.
Using prefixes help somewhat but the more robust way I'm aware is putting
some generated unique id in the guard (for example combining the time, a
numeric id of the host -- MAC address? -- and a numeric id of the user).
Yours,