* libshouldbeinlibc/localhost.c (localhost): assign the return value
of realloc to a temporary variable to avoid losing the old value of
buf in the case of realloc failing.
---
libshouldbeinlibc/localhost.c | 21 ++---
1 files changed, 14 insertions(+), 7 deletions(-)
dif
* ftpfs/host.c (split_server_name): assign NULL to *host, *user, and
*passwd instead of 0.
---
ftpfs/host.c |6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/ftpfs/host.c b/ftpfs/host.c
index cd6fd4c..71cf6c8 100644
--- a/ftpfs/host.c
+++ b/ftpfs/host.c
@@ -32,9 +32
* pfinet/linux-src/net/ipv4/ip_options.c (ip_options_get): calculate
the size of opt only once, free opt before returning -EFAULT.
---
pfinet/linux-src/net/ipv4/ip_options.c |9 ++---
1 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/pfinet/linux-src/net/ipv4/ip_options.c
Hello,
Jonathan Neuschäfer, le Mon 15 Aug 2011 14:31:46 +0200, a écrit :
> In reply to this mail, I'll send some patches. (They are untested)
Thanks! Please also post Change Logs for them, see the GNU Coding
Standards and existing entries in git log for example. For the spelling
patch, just sayin
Also a tiny bit of cleanup.
---
pfinet/linux-src/net/ipv4/ip_options.c |9 ++---
1 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/pfinet/linux-src/net/ipv4/ip_options.c
b/pfinet/linux-src/net/ipv4/ip_options.c
index a3d1f0a..ec21054 100644
--- a/pfinet/linux-src/net/ipv4/ip_
---
ftpfs/host.c |6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/ftpfs/host.c b/ftpfs/host.c
index cd6fd4c..71cf6c8 100644
--- a/ftpfs/host.c
+++ b/ftpfs/host.c
@@ -32,9 +32,9 @@ split_server_name (const char *server, char **host, char
**user, char **passwd)
size_
I don't really like this patch, but feel free to apply it, if you do.
---
libshouldbeinlibc/localhost.c | 21 ++---
1 files changed, 14 insertions(+), 7 deletions(-)
diff --git a/libshouldbeinlibc/localhost.c b/libshouldbeinlibc/localhost.c
index f0c6754..f21f970 100644
--- a/li
Hello.
In reply to this mail, I'll send some patches. (They are untested)
I also planned to send a coccinelle-generated patch, but I didn't review
it, so it would be a bit pointless. Anyway, this is the coccinelle patch:
@@ expression *p; @@
- p = 0
+ p = NULL
Thanks,
Jonathan Neuschäf
Svante Signell, le Sun 14 Aug 2011 22:10:51 +0200, a écrit :
> Any chances of porting libpcap2 to GNU/{hurd,kfreebsd-*}?
Not an easy task, particularly since GNU/Hurd does not really have a
Linux-like capability system.
> Or should build dependencies for these archs avoid it?
Probably.
> Conseq