Hi,
The following code:
#!/usr/bin/perl
open (FH,"test.txt");
close(FH);
straced, gives:
open("test.txt", O_RDONLY|O_LARGEFILE) = 3
ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfe83bf8) = -1 ENOTTY (Inapp
+ropriate ioctl for device)
I'm using Perl version 5.8.8 on a CentOS release 5.2
(2.6.18-92.1.1.el5), but this behaviour occures
also
on Red Hat Enterprise Linux AS release 4 (2.6.9-55.ELsmp) with perl 5.8.5 on it.
At first I suspected that it has something to do with the O_LARGEFILE flag, but I compiled perl again without
largefile support, and the same error appears.
The script itself isn't affected by this error (at least so it seems), the file is being opened and everything seems well.
My question is, should I be concerned about this error? I saw a lot of these cases over the internet but not one solution.
I'd be happy for an advice on how to get rid of this error.
Thanks,
Adi.