* fcntl.cc (_fcntl): Whitespace cleanup.
This commit is contained in:
parent
d1eb7a4615
commit
941c9bf805
|
@ -1,3 +1,7 @@
|
||||||
|
2003-12-03 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
|
* fcntl.cc (_fcntl): Whitespace cleanup.
|
||||||
|
|
||||||
2003-12-03 Christopher Faylor <cgf@redhat.com>
|
2003-12-03 Christopher Faylor <cgf@redhat.com>
|
||||||
|
|
||||||
* cygthread.cc (cygthread::stub): Properly establish _threadinfo
|
* cygthread.cc (cygthread::stub): Properly establish _threadinfo
|
||||||
|
|
|
@ -31,7 +31,7 @@ fcntl_worker (int fd, int cmd, void *arg)
|
||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
if (cmd != F_DUPFD)
|
if (cmd != F_DUPFD)
|
||||||
res = cfd->fcntl(cmd, arg);
|
res = cfd->fcntl (cmd, arg);
|
||||||
else
|
else
|
||||||
res = dup2 (fd, cygheap_fdnew (((int) arg) - 1));
|
res = dup2 (fd, cygheap_fdnew (((int) arg) - 1));
|
||||||
done:
|
done:
|
||||||
|
@ -40,7 +40,7 @@ done:
|
||||||
}
|
}
|
||||||
|
|
||||||
extern "C" int
|
extern "C" int
|
||||||
fcntl64 (int fd, int cmd,...)
|
fcntl64 (int fd, int cmd, ...)
|
||||||
{
|
{
|
||||||
void *arg = NULL;
|
void *arg = NULL;
|
||||||
va_list args;
|
va_list args;
|
||||||
|
@ -52,7 +52,7 @@ fcntl64 (int fd, int cmd,...)
|
||||||
}
|
}
|
||||||
|
|
||||||
extern "C" int
|
extern "C" int
|
||||||
_fcntl (int fd, int cmd,...)
|
_fcntl (int fd, int cmd, ...)
|
||||||
{
|
{
|
||||||
void *arg = NULL;
|
void *arg = NULL;
|
||||||
va_list args;
|
va_list args;
|
||||||
|
|
Loading…
Reference in New Issue