Replaced read() and write() with recv() and send() for socket operations
even under normal unixes.
This commit is contained in:
Родитель
e60e7414b9
Коммит
dc82f9e6df
|
@ -125,8 +125,8 @@ defined(HAVE_LIBSSL) && defined(HAVE_LIBCRYPTO)
|
|||
|
||||
#else
|
||||
#define sclose(x) close(x)
|
||||
#define sread(x,y,z) read(x,y,z)
|
||||
#define swrite(x,y,z) write(x,y,z)
|
||||
#define sread(x,y,z) recv(x,y,z,0)
|
||||
#define swrite(x,y,z) send(x,y,z,0)
|
||||
#define myalarm(x) alarm(x)
|
||||
|
||||
#define PATH_CHAR ":"
|
||||
|
|
Загрузка…
Ссылка в новой задаче