Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^2: fcntl failure after eval

by flipper (Beadle)
on Aug 11, 2011 at 19:26 UTC ( [id://919937]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    root@geedorah:~# strace perl foo.pl  2>&1 |grep fcntl
    fcntl(3, F_SETFD, FD_CLOEXEC)           = 0
    ...
    fcntl(3, F_SETLK, {type=F_WRLCK, whence=SEEK_SET, start=0, len=-858311
    +8848}) = -1 EINVAL (Invalid argument)
    fcntl(3, F_SETLK, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0
    root@geedorah:~#
    
  2. or download this
    root@geedorah:~# strace perl foo.pl  2>&1 |grep fcntl
    fcntl(3, F_SETFD, FD_CLOEXEC)           = 0
    fcntl(3, F_SETFD, FD_CLOEXEC)           = 0
    fcntl(3, F_SETLK, {type=F_WRLCK, whence=SEEK_SET, start=0, len=0}) = 0
    fcntl(3, F_SETLK, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://919937]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2024-03-28 22:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found