On Thu, 2005-02-17 at 09:55 +0000, Nigel Horne wrote: > On Thursday 17 Feb 2005 09:31, -=MikeP=- wrote: > > > >> >> 2) there was a problem with scanning e-mails: I suppose it is the > > >> >> problem of QNX: > > >> >> > > >> >> LibClamAV Error: Can't create temporary file: > > >> >> /tmp/clamav-b6b8e6d1db0cd71b/Snowwhite and the Seven Dwarfs -The > > >> >> Real Story!.eml049122: Filename too long > > >> >> > > >> >> LibClamAV Error: fileblobDestroy: file not saved: report to > > >> >> [EMAIL PROTECTED] > > >> > > >> NAME_MAX is defined to 255 > > >> PATH_MAX is defined to 1024 > > > > NH> So then, on your system what are the circumstances under which > > open(..., > > NH> O_CREAT) returns ENAMETOOLONG? > > > Documentation on open() says: > > ENAMETOOLONG > > The length of the path string exceeds PATH_MAX, or a pathname component is > > longer than NAME_MAX. > > Well, it strikes me that neither of these is true in this case. Perhaps > there's a bug in QNX, or > have I missed something?
If definitely looks like a spurious error - does QNX have a problem with spaces in filenames? MikeP, what happens if you try and create a file with a similar name and path? -trog
signature.asc
Description: This is a digitally signed message part
_______________________________________________ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-devel