Hello, Please see http://bugs.debian.org/81090 for the original report. Basically, the issue is that when putting "linux" in /etc/X11/xdm/Xresources_0 it gets replaced by "1", because cpp #defines linux to 1, for #ifdef linux C code tests. One solution could be to pass --std=c99 to cpp, since then it has to strictly respect macro namespace, i.e. not define anything that doesn't start with two underscores, which should be fine enough for xdm user uses. Samuel
xdm doesn't call cpp - it calls xrdb to load the Xresources, so changes to this would not just be limited to xdm's resources. (And if we did change it, --std=c99 is not portable enough, as not all platforms use GNU cpp.) We've noticed the same issue for years with "sun", but changing this would break everyone that has ~/.Xresources with things like #ifdef linux and #ifdef sun to share their .Xresources across multiple machines. You could put #undef linux in affected Xresources or quote strings you don't want the preprocessor to change.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.