mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
39da1b6369
commit
3a47cf3395
212 changed files with 846 additions and 846 deletions
|
|
@ -27,7 +27,7 @@ int
|
|||
flock(int fd, int operation)
|
||||
{
|
||||
struct flock lock;
|
||||
|
||||
|
||||
switch (operation & ~LOCK_NB) {
|
||||
case LOCK_SH:
|
||||
lock.l_type = F_RDLCK;
|
||||
|
|
@ -44,7 +44,7 @@ flock(int fd, int operation)
|
|||
}
|
||||
lock.l_whence = SEEK_SET;
|
||||
lock.l_start = lock.l_len = 0L;
|
||||
|
||||
|
||||
return fcntl(fd, (operation & LOCK_NB) ? F_SETLK : F_SETLKW, &lock);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue