[sane-devel] Odd compile problem

Michael Carmack karmak at karmak.org
Thu Mar 21 04:06:20 GMT 2002


On Thu, Mar 21, 2002 at 03:42:05AM +0000, Michael Carmack wrote:
> 
> That is, replacing  #x  with  "x"  correctly stringifies the path.

Should have tested things a little more thoroughly before sending
this. This is totally false. All this did was replace the config
path with a literal "x". Here's the new strace:

open("./dll.conf", O_RDONLY)            = -1 ENOENT (No such file or directory)
open("x/dll.conf", O_RDONLY)            = -1 ENOENT (No such file or directory)


So, the problem _is_ with the STRINGIFY definition, but I'm not sure 
what the fix is.

m.





More information about the sane-devel mailing list