From: Mike Frysinger
These files are already mostly written in POSIX shell, so convert their
shebangs to /bin/sh and tweak the few bashisms in here.
URL: https://crbug.com/756559
Reported-by: Pat Erley
Signed-off-by: Mike Frysinger
---
ip/ifcfg | 12 ++--
ip/rtpr | 2 +-
2 files
From: Mike Frysinger
This makes it easier to execute locally for testing.
Signed-off-by: Mike Frysinger
---
ip/ifcfg | 0
ip/routef | 0
ip/routel | 0
ip/rtpr | 0
4 files changed, 0 insertions(+), 0 deletions(-)
mode change 100644 => 100755 ip/ifcfg
mode change 100644 => 100
Some lines use tabs while others use spaces. Use spaces everywhere.
Signed-off-by: Mike Frysinger
---
misc/ifstat.c | 24
misc/nstat.c | 22 +++---
2 files changed, 23 insertions(+), 23 deletions(-)
diff --git a/misc/ifstat.c b/misc/ifstat.c
index
included from /usr/include/sys/select.h:43:0,
from /usr/include/sys/types.h:219,
from /usr/include/stdlib.h:314,
from zntune.c:9:
/usr/include/time.h:120:8: note: originally defined here
struct timespec
^
Signed-off-by: Mike Frysinger
---
inc
Signed-off-by: Mike Frysinger
---
Makefile | 5 -
iputils_md5dig.h | 2 +-
ping6.c | 28 +++-
3 files changed, 32 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
index b6cf512f22a5..8b9e2aa232e6 100644
--- a/Makefile
+++ b/Makefile
On 02 Jun 2016 17:49, YOSHIFUJI Hideaki wrote:
> Mike Frysinger wrote:
> > @@ -891,6 +899,7 @@ int main(int argc, char *argv[])
> > }
> > #endif
> >
> > +#ifdef USE_CRYPTO
> > if (niquery_is_enabled()) {
> > niquery_init_nonce();
Signed-off-by: Mike Frysinger
---
Makefile | 5 -
iputils_md5dig.h | 4 +++-
ping6.c | 19 ++-
3 files changed, 25 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
index b6cf512..8b9e2aa 100644
--- a/Makefile
+++ b/Makefile
@@ -36,7 +36,7
: Mike Frysinger
---
ping_common.c | 17 +
1 file changed, 17 insertions(+)
diff --git a/ping_common.c b/ping_common.c
index 62f53a6..6054a91 100644
--- a/ping_common.c
+++ b/ping_common.c
@@ -269,11 +269,28 @@ void common_options(int ch)
double dbl
On 02 Jun 2016 11:06, YOSHIFUJI Hideaki wrote:
> Mike Frysinger wrote:
> > Signed-off-by: Mike Frysinger
> > ---
> > .gitignore | 22 ++
> > doc/.gitignore | 2 ++
> > 2 files changed, 24 insertions(+)
> > create mode 100644
On 02 Jun 2016 11:10, YOSHIFUJI Hideaki wrote:
> Mike Frysinger wrote:
> > Commit d81a44625b04d487c895473aa77af13420b7afdd added support for checking
> > the set*id calls, but would call syslog() before it had called openlog().
> > Move the call up earlier to fix that.
>
&
This defaults CFLAGS to -O3 without clobbering settings people have set
up in the environment already.
Signed-off-by: Mike Frysinger
---
Makefile | 13 +
1 file changed, 5 insertions(+), 8 deletions(-)
diff --git a/Makefile b/Makefile
index 7147f08..362f1c8 100644
--- a/Makefile
The use of the same tempdir prevents building of these files in parallel.
So build all of them in unique tempdirs so we can do them in parallel.
Signed-off-by: Mike Frysinger
---
doc/Makefile | 37 -
1 file changed, 24 insertions(+), 13 deletions(-)
diff
Signed-off-by: Mike Frysinger
---
Makefile | 5 -
iputils_md5dig.h | 4 +++-
ping6.c | 10 ++
3 files changed, 17 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index 54e5a6d..7147f08 100644
--- a/Makefile
+++ b/Makefile
@@ -36,7 +36,7
Signed-off-by: Mike Frysinger
---
.gitignore | 22 ++
doc/.gitignore | 2 ++
2 files changed, 24 insertions(+)
create mode 100644 .gitignore
create mode 100644 doc/.gitignore
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 000..30ed00c
--- /dev
Always use #.# format for the -i flag even when the current locale uses
a different separator. Locale de_DE which uses #,# normally.
Simple testcase:
$ make USE_IDN=1
$ LANG=de_DE.UTF8 ./ping -i 0.5 localhost
Reported-by: Sergey Fionov
Signed-off-by: Mike Frysinger
---
ping_common.c | 8
Commit d81a44625b04d487c895473aa77af13420b7afdd added support for checking
the set*id calls, but would call syslog() before it had called openlog().
Move the call up earlier to fix that.
Signed-off-by: Mike Frysinger
---
tftpd.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff
On 23 Oct 2015 22:07, Florian Weimer wrote:
> --- /dev/null
> +++ b/sysdeps/unix/sysv/linux/netlink_assert_response.c
> @@ -0,0 +1,100 @@
> +/* Copyright (C) 2015 Free Software Foundation, Inc.
> + This file is part of the GNU C Library.
guess we like to have the first line be a short desc of th
On 27 May 2015 12:07, Stephen Hemminger wrote:
> On Tue, 26 May 2015 02:51:30 -0400
> Mike Frysinger wrote:
> > From: Mike Frysinger
> >
> > Make sure we use 64-bit filesystem functions everywhere. This applies not
> > only to being able to read large files (wh
From: Mike Frysinger
Make sure we use 64-bit filesystem functions everywhere. This applies not
only to being able to read large files (which generally doesn't apply to
us), but also being able to simply stat them (as they might be using large
inodes).
Signed-off-by: Mike Frys
Always use #.# format for the -i flag even when the current locale uses
a different separator. Locale de_DE which uses #,# normally.
Simple testcase:
$ make USE_IDN=1
$ LANG=de_DE.UTF8 ./ping -i 0.5 localhost
Reported-by: Sergey Fionov
Signed-off-by: Mike Frysinger
---
ping_common.c | 8
Signed-off-by: Mike Frysinger
---
Makefile | 5 -
iputils_md5dig.h | 4 +++-
ping6.c | 10 ++
3 files changed, 17 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index 54e5a6d..7147f08 100644
--- a/Makefile
+++ b/Makefile
@@ -36,7 +36,7
Commit d81a44625b04d487c895473aa77af13420b7afdd added support for checking
the set*id calls, but would call syslog() before it had called openlog().
Move the call up earlier to fix that.
Signed-off-by: Mike Frysinger
---
tftpd.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff
On Friday 11 January 2008, Mike Frysinger wrote:
> On Friday 11 January 2008, H. Peter Anvin wrote:
> > Again, I don't particularly care about what they're named, but the whole
> > point is
> >
> > #include
> >
> > if you want the subset and
&g
On Friday 11 January 2008, H. Peter Anvin wrote:
> Mike Frysinger wrote:
> >> all this stuff is ABI constants, and the only reason glibc
> >> doesn't use them is that glibc prefers to use enums over #defines.
> >
> > a proper libc defines things in their he
On Friday 11 January 2008, H. Peter Anvin wrote:
> Mike Frysinger wrote:
> > oh, sorry, i see what you mean. i was thinking in terms of crap removed
> > (as that's what i'm after), not crap added (which is what Peter is
> > after). i hadnt noticed that. i dont
On Friday 11 January 2008, David Miller wrote:
> From: Mike Frysinger <[EMAIL PROTECTED]>
> Date: Fri, 11 Jan 2008 01:23:37 -0500
>
> > On Friday 11 January 2008, David Miller wrote:
> > > From: "H. Peter Anvin" <[EMAIL PROTECTED]>
> > >
>
On Friday 11 January 2008, David Miller wrote:
> From: "H. Peter Anvin" <[EMAIL PROTECTED]>
> > Seems the most logical thing to do would be to break out the small
> > portion that everyone wants into or somesuch, and
> > then remove those ifdefs entirely.
> >
> > Proposed patch (still being tested
On Nov 20, 2007 2:17 AM, Jan Engelhardt <[EMAIL PROTECTED]> wrote:
> I get this during boot:
>
> [ 40.821740] netconsole: eth1 doesn't exist, aborting.
>
> Given that CONFIG_NETCONSOLE=y and CONFIG_8139TOO=m, I can imagine.
> Is there a way to get this working without making 8139TOO=y or
> NETCON
the OPEN_MAX define was removed from the kernel's limits.h during the 2.6.23
development cycle, so switching to using the dynamic sysconf() func should be
done
-mike
signature.asc
Description: This is a digitally signed message part.
the OPEN_MAX define has been removed in newer kernel headers
On 8/28/07, Sam Ravnborg <[EMAIL PROTECTED]> wrote:
> > > But I'd like a better description, please. Which "non-gcc parser" are we
> > > talking about here? Something under ./scripts/. Well, please identify
> > > it,
> > > and describe what the problem is, and how the proposed patch will addres
On 8/26/07, Geert Uytterhoeven <[EMAIL PROTECTED]> wrote:
> On Fri, 24 Aug 2007, Joe Perches wrote:
> > Corrected printk calls with multiple output lines which
> > did not correctly preface each line with KERN_
> >
> > Fixed uses of some single lines with too many KERN_
>
> > --- a/arch/arm/kernel/
On 7/14/07, Michael Buesch <[EMAIL PROTECTED]> wrote:
On Saturday 14 July 2007 21:49:21 Mike Frysinger wrote:
> On 7/14/07, Michael Buesch <[EMAIL PROTECTED]> wrote:
> > On Saturday 14 July 2007 20:49:53 Bryan Wu wrote:
> > > +static int __init bf537ma
On 7/14/07, Michael Buesch <[EMAIL PROTECTED]> wrote:
On Saturday 14 July 2007 20:49:53 Bryan Wu wrote:
> +static int __init bf537mac_probe(struct net_device *dev)
> +{
> + struct bf537mac_local *lp = netdev_priv(dev);
> + int retval;
> +
> + /* Grab the MAC address in the MAC */
> +
On 3/1/07, Stephen Hemminger <[EMAIL PROTECTED]> wrote:
Wu, Bryan wrote:
> +config BFIN_MAC
> + tristate "Blackfin 536/537 on-chip mac support"
> + depends on NET_ETHERNET && (BF537 || BF536) && (!BF537_PORT_H)
> + select CRC32
> + select BFIN_MAC_USE_L1 if DMA_UNCACHED_NONE
> +
on: PGP signature
Use diff variable names than the standard type so we can run automated script
checks on the code to easily pull out export violations.
Signed-off-by: Mike Frysinger <[EMAIL PROTECTED]>
--- a/include/linux/netfilter/x_tables.h
+++ b/include/linux/netfilter/x_tables.h
@@ -82,10
this patch tweaks the makefile so that it respects user environment variables
such as CC/CFLAGS/etc... and cleans out some cruft that is no longer utilized
-mike
pgplx9s90lvR9.pgp
Description: PGP signature
Respect user environment variables.
Signed-off-by: Mike Frysinger <[EMAIL PROTEC
e.
Signed-off-by: Robert Moss <[EMAIL PROTECTED]>
Signed-off-by: Mike Frysinger <[EMAIL PROTECTED]>
diff --git a/tracepath.c b/tracepath.c
index c3f6f74..7ff85a2 100644
--- a/tracepath.c
+++ b/tracepath.c
@@ -77,7 +77,7 @@ int recverr(int fd, int ttl)
int progress = -1;
int br
the pg directory in /proc with newer kernels.
Signed-off-by: Mike Frysinger <[EMAIL PROTECTED]>
--- a/ipg
+++ b/ipg
@@ -1,21 +1,32 @@
#! /bin/bash
-modprobe pg3
+if [ -e /proc/modules ] ; then
+ modprobe pg3 >& /dev/null
+ modprobe pktgen >& /dev/null
+fi
+
+for PGDEV in
a bunch of places in iputils utilize "int" lengths when in reality they should
be using socklen_t
-mike
pgpSqlzw2arsi.pgp
Description: PGP signature
Use socklen_t in all the right places.
Signed-off-by: Mike Frysinger <[EMAIL PROTECTED]>
diff --git a/arping.c b/arping.c
index
On 11/30/06, Robert P. J. Day <[EMAIL PROTECTED]> wrote:
but there are a few other
cases which still contain compound preprocessor directives such as:
#if defined(__KERNEL__) || !defined(__GLIBC__) || (__GLIBC__ < 2)
having never worked with unifdef before, i guess i was being overly
optimist
On Friday 08 December 2006 12:33, Jim Gifford wrote:
> I have seen issues with some version of unifdef remove any instance of
> __KERNEL__
so use a version of unifdef that isnt broken ?
-mike
pgpsiyqaE9CFU.pgp
Description: PGP signature
41 matches
Mail list logo