mirror of
https://git.savannah.gnu.org/git/tar.git
synced 2026-05-02 14:15:48 +00:00
*** empty log message ***
This commit is contained in:
@@ -252,7 +252,7 @@ checkbuf(record, size)
|
||||
maxrecsize = size;
|
||||
#ifdef SO_RCVBUF
|
||||
while (size > 1024 &&
|
||||
setsockopt(0, SOL_SOCKET, SO_RCVBUF, &size, sizeof (size)) < 0)
|
||||
setsockopt(0, SOL_SOCKET, SO_RCVBUF, (char *)&size, sizeof (size)) < 0)
|
||||
size -= 1024;
|
||||
#else
|
||||
size= 1+((size-1)%1024);
|
||||
|
||||
@@ -62,7 +62,7 @@ extern char *__rmt_path;
|
||||
extern char *index();
|
||||
#endif
|
||||
|
||||
#define _remdev(path) (!f_force_local && __rmt_path=index(path, ':'))
|
||||
#define _remdev(path) (!f_force_local && (__rmt_path=index(path, ':')))
|
||||
#define _isrmt(fd) ((fd) >= __REM_BIAS)
|
||||
|
||||
#define rmtopen(path,oflag,mode) (_remdev(path) ? __rmt_open(path, oflag, mode, __REM_BIAS) : open(path, oflag, mode))
|
||||
|
||||
Reference in New Issue
Block a user