home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / lang / perl / 6875 < prev    next >
Encoding:
Text File  |  1992-11-08  |  810 b   |  27 lines

  1. Newsgroups: comp.lang.perl
  2. Path: sparky!uunet!brunix!brunix!jsb
  3. From: jsb@cs.brown.edu (John Bazik)
  4. Subject: perl lockf
  5. Message-ID: <1992Nov6.220846.12955@cs.brown.edu>
  6. Sender: news@cs.brown.edu
  7. Organization: Brown University Department of Computer Science
  8. Date: Fri, 6 Nov 1992 22:08:46 GMT
  9. Lines: 16
  10.  
  11. Hi.  I need lockf(2) in perl.  The bible says you can emulate lockf
  12. using fcntl.  Problem is, under SunOS 4.1.1, fcntl'ing F_SETLK appears
  13. to be broken - it returns EINVAL, which isn't true since I can compile
  14. and run the same C test program on a decstation without incident.
  15.  
  16. Okay, so I'm poking Sun with the bug, but in the meantime, I still need
  17. some nfs-smart file locking.
  18.  
  19. Anyone out there got something I can use?
  20.  
  21. Please email me - I can't keep up with news...
  22.  
  23. Thanks.
  24.  
  25. John Bazik
  26. jsb@cs.brown.edu
  27.