1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-07 10:13:12 +02:00

core: replace "Mac OS X" and "OS X" by "macOS" (issue #1272)

This commit is contained in:
Sébastien Helleu
2018-11-18 11:03:36 +01:00
parent 3c0f72d48b
commit d26380a9bb
22 changed files with 66 additions and 60 deletions
+8 -2
View File
@@ -1198,7 +1198,10 @@ network_connect_child (struct t_hook *hook_connect)
msg.msg_control = msg_buf;
msg.msg_controllen = sizeof (msg_buf);
/* send 1 byte of data (not required on Linux, required by BSD/OSX) */
/*
* send 1 byte of data
* (not required on Linux, required by BSD/macOS)
*/
memset (iov, 0, sizeof (iov));
iov[0].iov_base = iov_data;
iov[0].iov_len = 1;
@@ -1459,7 +1462,10 @@ network_connect_child_read_cb (const void *pointer, void *data, int fd)
msg.msg_control = msg_buf;
msg.msg_controllen = sizeof (msg_buf);
/* recv 1 byte of data (not required on Linux, required by BSD/OSX) */
/*
* recv 1 byte of data
* (not required on Linux, required by BSD/macOS)
*/
memset (iov, 0, sizeof (iov));
iov[0].iov_base = iov_data;
iov[0].iov_len = 1;