mirror of
https://github.com/adtools/clib2.git
synced 2025-12-08 14:59:05 +00:00
- The record locking code in fcntl() is no longer part of the
regular libc.a, but only of libunix.a. - Changed the definition of the D_S() macro to cast the pointer address to an unsigned 32 bit integer. git-svn-id: file:///Users/olsen/Code/migration-svn-zu-git/logical-line-staging/clib2/trunk@14956 87f5fb63-7c3d-0410-a384-fd976d0f7a62
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* $Id: fcntl_fcntl.c,v 1.17 2005-04-24 08:46:37 obarthel Exp $
|
||||
* $Id: fcntl_fcntl.c,v 1.18 2005-05-27 13:19:30 obarthel Exp $
|
||||
*
|
||||
* :ts=4
|
||||
*
|
||||
@ -84,6 +84,7 @@ fcntl(int file_descriptor, int cmd, ... /* int arg */ )
|
||||
|
||||
switch(cmd)
|
||||
{
|
||||
#if defined(UNIX_PATH_SEMANTICS)
|
||||
case F_GETLK:
|
||||
case F_SETLK:
|
||||
case F_SETLKW:
|
||||
@ -133,6 +134,7 @@ fcntl(int file_descriptor, int cmd, ... /* int arg */ )
|
||||
result = OK;
|
||||
|
||||
break;
|
||||
#endif /* UNIX_PATH_SEMANTICS */
|
||||
|
||||
case F_GETFL:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user