Project

General

Profile

Actions

Bug #189

open

flock does not work

Added by Igor Pashev about 9 years ago. Updated over 7 years ago.

Status:
New
Priority:
High
Assignee:
-
Start date:
2015-09-12
Due date:
% Done:

0%

Estimated time:

Description

flock does not work:

# truss flock ~/2 ls

...

open("/home/pashev/2", O_RDONLY|O_CREAT|O_NOCTTY, 0666) = 3
fstat(3, 0xFFFFFD7FFFDFF180)                    = 0
fcntl(3, F_SETLKW, 0xFFFFFD7FFFDFF2F0)          Err#9 EBADF
access("/usr/lib/locale/ru_RU.UTF-8", F_OK)     = 0
open("/usr/lib/locale/ru_RU.UTF-8/LC_MESSAGES/SUNW_OST_OSLIB.mo", O_RDONLY) Err#2 ENOENT
fstat(2, 0xFFFFFD7FFFDFE010)                    = 0
flockwrite(2, " f l o c k", 5)                  = 5
: write(2, " :  ", 2)                           = 2
/home/pashev/2write(2, " / h o m e / p a s h e v".., 14)        = 14
: write(2, " :  ", 2)                           = 2
Bad file numberwrite(2, " B a d   f i l e   n u m".., 15)       = 15

write(2, "\n", 1)                               = 1
_exit(65)

Actions #1

Updated by Igor Pashev over 7 years ago

  • Priority changed from Normal to High
Actions

Also available in: Atom PDF