Skip to contentSkip to conversation

dhcp-transport: define _GNU_SOURCE

PATCH Applied John 2 participants 6 messages May 17, 2018

lore
Share & tools
lore

John

author
#0 lore raw

PATCH 1/2 dhcp-transport: define _GNU_SOURCE

the source, dest, len, check naming for the udphdr struct is not avaible on non GLIBC libc's like MUSL without defining _GNU_SOURCE

---
 ell/dhcp-transport.c | 1 +
 1 file changed, 1 insertion(+)
ell/dhcp-transport.c +1 -0
index a317431..1de190a 100644
@@ -24,6 +24,7 @@
 #include <config.h>
 #endif
 
+#define _GNU_SOURCE
 #include <linux/types.h>
 #include <sys/uio.h>
 #include <sys/socket.h>
Signature · 1 line
2.17.0
#1 lore raw

Hi John,

Quoted 6 lines · John

the source, dest, len, check naming for the udphdr struct is not avaible on non GLIBC libc's like MUSL without defining _GNU_SOURCE

---
  ell/dhcp-transport.c | 1 +
  1 file changed, 1 insertion(+)

These look fine, but could you add some form of last name to your author info? We use a simplified form of Linux Kernel patch submission guidelines but still require a full name for acceptance.

Regards,
-Denis

#2 lore raw
Quoted 11 lines · Denis Kenzior

Hi John,

Quoted 7 lines · John

the source, dest, len, check naming for the udphdr struct is not avaible
on non GLIBC libc's like MUSL without defining _GNU_SOURCE

---
  ell/dhcp-transport.c | 1 +
  1 file changed, 1 insertion(+)
Quoted 7 lines

These look fine, but could you add some form of last name to your author
info? We use a simplified form of Linux Kernel patch submission guidelines but still require a full name for acceptance.

Regards,
-Denis

Yep can do that.

From 150e93547b14b13db187dd4b3beb13e238405b85 Mon Sep 17 00:00:00 2001
From: John Zimmermann <[email protected]>
Date: Thu, 17 May 2018 12:59:56 +0200
Subject: [PATCH 1/2] dhcp-transport: define _GNU_SOURCE

the source, dest, len, check naming for the udphdr struct is not avaible on non GLIBC libc's like MUSL without defining _GNU_SOURCE

---
 ell/dhcp-transport.c | 1 +
 1 file changed, 1 insertion(+)
ell/dhcp-transport.c +1 -0
index a317431..1de190a 100644
@@ -24,6 +24,7 @@
 #include <config.h>
 #endif
 
+#define _GNU_SOURCE
 #include <linux/types.h>
 #include <sys/uio.h>
 #include <sys/socket.h>
Signature · 1 line
2.17.0
#3 lore raw

Hi John,

Quoted 17 lines · John Zimmermann
Quoted 16 lines · Denis Kenzior

Hi John,

Quoted 7 lines · John

the source, dest, len, check naming for the udphdr struct is not avaible
on non GLIBC libc's like MUSL without defining _GNU_SOURCE

---
   ell/dhcp-transport.c | 1 +
   1 file changed, 1 insertion(+)

These look fine, but could you add some form of last name to your author
info? We use a simplified form of Linux Kernel patch submission guidelines but still require a full name for acceptance.

Quoted 5 lines
Quoted 2 lines

Regards,
-Denis

Yep can do that.

Could you resubmit with git send-email to save me the trouble of manually editing the author info? Would be appreciated.

Regard,
-Denis

#4 lore raw

PATCH 1/2 dhcp-transport: define _GNU_SOURCE

the source, dest, len, check naming for the udphdr struct is not avaible on non GLIBC libc's like MUSL without defining _GNU_SOURCE

---
 ell/dhcp-transport.c | 1 +
 1 file changed, 1 insertion(+)
ell/dhcp-transport.c +1 -0
index a317431..1de190a 100644
@@ -24,6 +24,7 @@
 #include <config.h>
 #endif
 
+#define _GNU_SOURCE
 #include <linux/types.h>
 #include <sys/uio.h>
 #include <sys/socket.h>
Signature · 1 line
2.17.0
#5 lore raw

Hi John,

Quoted 6 lines · John Zimmermann

the source, dest, len, check naming for the udphdr struct is not avaible on non GLIBC libc's like MUSL without defining _GNU_SOURCE

---
  ell/dhcp-transport.c | 1 +
  1 file changed, 1 insertion(+)

Applied, thanks.

Regards,
-Denis