Messages in this thread | | | From | Alistair John Strachan <> | Subject | Re: __FILE__ gets expanded to absolute pathname | Date | Tue, 25 Apr 2006 12:03:47 +0100 |
| |
On Tuesday 25 April 2006 08:44, Denis Vlasenko wrote: > Sometime ago I noticed that __FILE__ gets expanded into > *absolute* pathname if one builds kernel in separate object directory. > > I thought a bit about it but failed to arrive at any sensible > solution. > > Any thoughs?
Sounds to me like in-tree users of __FILE__ should be audited. Those using them for print statements about how unhappy they are should probably be revised to "drivername: <message>"..
-- Cheers, Alistair.
Third year Computer Science undergraduate. 1F2 55 South Clerk Street, Edinburgh, UK. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |