Displaying 3 results from an estimated 3 matches for "a935cc4".
2015 Oct 05
1
[PATCH] lib: include <sys/socket.h> for accept4
...tly implicitly pulled by something else on Linux, it is not when
building on e.g. FreeBSD.
This reverts the change to this file of
commit 3b17152ec399acb35b23331d2c3b4f424a68824a.
---
src/conn-socket.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/conn-socket.c b/src/conn-socket.c
index a935cc4..05177ca 100644
--- a/src/conn-socket.c
+++ b/src/conn-socket.c
@@ -28,6 +28,7 @@
#include <errno.h>
#include <poll.h>
#include <sys/stat.h>
+#include <sys/socket.h> /* accept4 */
#include <sys/types.h>
#include <assert.h>
#include <libintl.h>
--
2....
2015 Oct 05
0
[PATCH 2/2] Fix whitespace.
...char **appliance_rtn)
+ char **kernel_rtn,
+ char **dtb_rtn,
+ char **initrd_rtn,
+ char **appliance_rtn)
{
char *kernel = NULL, *dtb = NULL, *initrd = NULL, *appliance = NULL;
diff --git a/src/conn-socket.c b/src/conn-socket.c
index 252b942..a935cc4 100644
--- a/src/conn-socket.c
+++ b/src/conn-socket.c
@@ -380,8 +380,8 @@ static struct connection_ops ops = {
*/
struct connection *
guestfs_int_new_conn_socket_listening (guestfs_h *g,
- int daemon_accept_sock,
- int con...
2015 Oct 05
3
[PATCH 1/2] Change 'fprintf (stdout,...)' -> printf.
Result of earlier copy and paste.
---
align/scan.c | 35 ++++++++++---------
cat/cat.c | 39 +++++++++++----------
cat/filesystems.c | 69 +++++++++++++++++++-------------------
cat/log.c | 35 ++++++++++---------
cat/ls.c | 61 +++++++++++++++++----------------
df/main.c | 43 ++++++++++++------------
diff/diff.c | 67