Strange fopen() behaviour (was: xsane patch to maintainer)

2001-02-05 Thread Brian Somers
Hi, Would you mind if I commit the attached patch for the xsane port ? It makes sense - rather than dropping a core when fopen() fails (and fclose() is called with a NULL arg). It happens when your home directory isn't writable :-/ I've cc'd -current as I think something more

Re: Strange fopen() behaviour (was: xsane patch to maintainer)

2001-02-05 Thread Andrea Campi
lstat("/tmp//preview-level-0-15-b924dc",0xbfbfe894) ERR#2 'No such file or directory' ^^ surely this is not nice!! My guess is that the double slash is confusing everything... Anyway, I'm more interested in below: @@ -2830,9 +2831,17 @@ if (preview_make_image_path(p,