Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!vsi1!wyse!mips!lai From: lai@mips.COM (David Lai) Newsgroups: comp.std.c Subject: strange filenames in __FILE__ macro Message-ID: <26208@gumby.mips.COM> Date: 25 Aug 89 16:37:46 GMT Lines: 11 Does the standard specify what characters are legal for a filename. Specifically, when the __FILE__ macro is expanded, does the preprocessor have to perform special excape sequence translations. As an example, in MS-DOS systems the '\' character is prevalent in pathnames, does each '\' in the pathname get translated to '\\' when expanding __FILE__? How about filenames with '"' or "'" or non-printing characters? -- "What is a DJ if he can't scratch?" - Uncle Jamms Army David Lai (lai@mips.com || {ames,prls,pyramid,decwrl}!mips!lai)