* [PATCH] linux/alpha: convert from epoll_create2 to epoll_create1
2010-08-31 20:09 [PATCH] linux/alpha: convert from epoll_create2 to epoll_create1 Mike Frysinger
@ 2010-08-31 20:09 ` Mike Frysinger
2010-08-31 20:12 ` Mike Frysinger
2010-09-29 22:48 ` Mike Frysinger
` (3 subsequent siblings)
4 siblings, 1 reply; 11+ messages in thread
From: Mike Frysinger @ 2010-08-31 20:09 UTC (permalink / raw)
To: libc-ports
Alpha's epoll.h was missed when epoll_create2 was changed to epoll_create1.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-08-31 Mike Frysinger <vapier@gentoo.org>
* sysdeps/unix/sysv/linux/alpha/sys/epoll.h (epoll_create2): Delete.
(epoll_create1): Add.
---
sysdeps/unix/sysv/linux/alpha/sys/epoll.h | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/sysdeps/unix/sysv/linux/alpha/sys/epoll.h b/sysdeps/unix/sysv/linux/alpha/sys/epoll.h
index 9f983a5..9177c31 100644
--- a/sysdeps/unix/sysv/linux/alpha/sys/epoll.h
+++ b/sysdeps/unix/sysv/linux/alpha/sys/epoll.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002-2006, 2007, 2008 Free Software Foundation, Inc.
+/* Copyright (C) 2002-2008, 2010 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -31,7 +31,7 @@ typedef __sigset_t sigset_t;
#endif
-/* Flags to be passed to epoll_create2. */
+/* Flags to be passed to epoll_create1. */
enum
{
EPOLL_CLOEXEC = 010000000,
@@ -101,8 +101,9 @@ __BEGIN_DECLS
returned by epoll_create() should be closed with close(). */
extern int epoll_create (int __size) __THROW;
-/* Same as epoll_create but with an additional FLAGS parameter. */
-extern int epoll_create2 (int __size, int __flags) __THROW;
+/* Same as epoll_create but with an FLAGS parameter. The unused SIZE
+ parameter has been dropped. */
+extern int epoll_create1 (int __flags) __THROW;
/* Manipulate an epoll instance "epfd". Returns 0 in case of success,
--
1.7.2
^ permalink raw reply [flat|nested] 11+ messages in thread
* [PATCH] linux/alpha: convert from epoll_create2 to epoll_create1
@ 2010-08-31 20:09 Mike Frysinger
2010-08-31 20:09 ` Mike Frysinger
` (4 more replies)
0 siblings, 5 replies; 11+ messages in thread
From: Mike Frysinger @ 2010-08-31 20:09 UTC (permalink / raw)
To: libc-ports
Alpha's epoll.h was missed when epoll_create2 was changed to epoll_create1.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-08-31 Mike Frysinger <vapier@gentoo.org>
* sysdeps/unix/sysv/linux/alpha/sys/epoll.h (epoll_create2): Delete.
(epoll_create1): Add.
---
sysdeps/unix/sysv/linux/alpha/sys/epoll.h | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/sysdeps/unix/sysv/linux/alpha/sys/epoll.h b/sysdeps/unix/sysv/linux/alpha/sys/epoll.h
index 9f983a5..9177c31 100644
--- a/sysdeps/unix/sysv/linux/alpha/sys/epoll.h
+++ b/sysdeps/unix/sysv/linux/alpha/sys/epoll.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002-2006, 2007, 2008 Free Software Foundation, Inc.
+/* Copyright (C) 2002-2008, 2010 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -31,7 +31,7 @@ typedef __sigset_t sigset_t;
#endif
-/* Flags to be passed to epoll_create2. */
+/* Flags to be passed to epoll_create1. */
enum
{
EPOLL_CLOEXEC = 010000000,
@@ -101,8 +101,9 @@ __BEGIN_DECLS
returned by epoll_create() should be closed with close(). */
extern int epoll_create (int __size) __THROW;
-/* Same as epoll_create but with an additional FLAGS parameter. */
-extern int epoll_create2 (int __size, int __flags) __THROW;
+/* Same as epoll_create but with an FLAGS parameter. The unused SIZE
+ parameter has been dropped. */
+extern int epoll_create1 (int __flags) __THROW;
/* Manipulate an epoll instance "epfd". Returns 0 in case of success,
--
1.7.2
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH] linux/alpha: convert from epoll_create2 to epoll_create1
2010-08-31 20:09 ` Mike Frysinger
@ 2010-08-31 20:12 ` Mike Frysinger
0 siblings, 0 replies; 11+ messages in thread
From: Mike Frysinger @ 2010-08-31 20:12 UTC (permalink / raw)
To: libc-ports
[-- Attachment #1: Type: Text/Plain, Size: 78 bytes --]
ugh, i keep doing this: `git send-email -1 <patch>`. ignore this copy.
-mike
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH] linux/alpha: convert from epoll_create2 to epoll_create1
2010-08-31 20:09 [PATCH] linux/alpha: convert from epoll_create2 to epoll_create1 Mike Frysinger
2010-08-31 20:09 ` Mike Frysinger
@ 2010-09-29 22:48 ` Mike Frysinger
2011-03-07 20:42 ` Mike Frysinger
` (2 subsequent siblings)
4 siblings, 0 replies; 11+ messages in thread
From: Mike Frysinger @ 2010-09-29 22:48 UTC (permalink / raw)
To: libc-ports
[-- Attachment #1: Type: Text/Plain, Size: 153 bytes --]
On Tuesday, August 31, 2010 16:08:35 Mike Frysinger wrote:
> Alpha's epoll.h was missed when epoll_create2 was changed to epoll_create1.
ping ...
-mike
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH] linux/alpha: convert from epoll_create2 to epoll_create1
2010-08-31 20:09 [PATCH] linux/alpha: convert from epoll_create2 to epoll_create1 Mike Frysinger
2010-08-31 20:09 ` Mike Frysinger
2010-09-29 22:48 ` Mike Frysinger
@ 2011-03-07 20:42 ` Mike Frysinger
2011-09-19 19:03 ` Mike Frysinger
2012-04-27 2:50 ` Matt Turner
4 siblings, 0 replies; 11+ messages in thread
From: Mike Frysinger @ 2011-03-07 20:42 UTC (permalink / raw)
To: libc-ports, Richard Henderson
[-- Attachment #1: Type: Text/Plain, Size: 1782 bytes --]
On Tuesday, August 31, 2010 16:08:35 Mike Frysinger wrote:
> Alpha's epoll.h was missed when epoll_create2 was changed to epoll_create1.
>
> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
>
> 2010-08-31 Mike Frysinger <vapier@gentoo.org>
>
> * sysdeps/unix/sysv/linux/alpha/sys/epoll.h (epoll_create2): Delete.
> (epoll_create1): Add.
> ---
> sysdeps/unix/sysv/linux/alpha/sys/epoll.h | 9 +++++----
> 1 files changed, 5 insertions(+), 4 deletions(-)
>
> diff --git a/sysdeps/unix/sysv/linux/alpha/sys/epoll.h
> b/sysdeps/unix/sysv/linux/alpha/sys/epoll.h index 9f983a5..9177c31 100644
> --- a/sysdeps/unix/sysv/linux/alpha/sys/epoll.h
> +++ b/sysdeps/unix/sysv/linux/alpha/sys/epoll.h
> @@ -1,4 +1,4 @@
> -/* Copyright (C) 2002-2006, 2007, 2008 Free Software Foundation, Inc.
> +/* Copyright (C) 2002-2008, 2010 Free Software Foundation, Inc.
> This file is part of the GNU C Library.
>
> The GNU C Library is free software; you can redistribute it and/or
> @@ -31,7 +31,7 @@ typedef __sigset_t sigset_t;
> #endif
>
>
> -/* Flags to be passed to epoll_create2. */
> +/* Flags to be passed to epoll_create1. */
> enum
> {
> EPOLL_CLOEXEC = 010000000,
> @@ -101,8 +101,9 @@ __BEGIN_DECLS
> returned by epoll_create() should be closed with close(). */
> extern int epoll_create (int __size) __THROW;
>
> -/* Same as epoll_create but with an additional FLAGS parameter. */
> -extern int epoll_create2 (int __size, int __flags) __THROW;
> +/* Same as epoll_create but with an FLAGS parameter. The unused SIZE
> + parameter has been dropped. */
> +extern int epoll_create1 (int __flags) __THROW;
>
>
> /* Manipulate an epoll instance "epfd". Returns 0 in case of success,
ping ...
-mike
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH] linux/alpha: convert from epoll_create2 to epoll_create1
2010-08-31 20:09 [PATCH] linux/alpha: convert from epoll_create2 to epoll_create1 Mike Frysinger
` (2 preceding siblings ...)
2011-03-07 20:42 ` Mike Frysinger
@ 2011-09-19 19:03 ` Mike Frysinger
2011-09-19 19:32 ` Roland McGrath
2011-09-21 21:50 ` Matt Turner
2012-04-27 2:50 ` Matt Turner
4 siblings, 2 replies; 11+ messages in thread
From: Mike Frysinger @ 2011-09-19 19:03 UTC (permalink / raw)
To: libc-ports, Roland McGrath
[-- Attachment #1.1: Type: Text/Plain, Size: 214 bytes --]
On Tuesday, August 31, 2010 16:08:35 Mike Frysinger wrote:
> Alpha's epoll.h was missed when epoll_create2 was changed to epoll_create1.
ping x 3 ... maybe alpha is outside of what Roland wants to touch ...
-mike
[-- Attachment #1.2: 0001-linux-alpha-convert-from-epoll_create2-to-epoll_crea.patch --]
[-- Type: text/x-patch, Size: 1872 bytes --]
From feed50101967bd7b97762d68a3b592d9798e6eb2 Mon Sep 17 00:00:00 2001
From: Mike Frysinger <vapier@gentoo.org>
Date: Tue, 31 Aug 2010 16:06:02 -0400
Subject: [PATCH 1/2] linux/alpha: convert from epoll_create2 to epoll_create1
Alpha's epoll.h was missed when epoll_create2 was changed to epoll_create1.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-08-31 Mike Frysinger <vapier@gentoo.org>
* sysdeps/unix/sysv/linux/alpha/sys/epoll.h (epoll_create2): Delete.
(epoll_create1): Add.
---
sysdeps/unix/sysv/linux/alpha/sys/epoll.h | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/sysdeps/unix/sysv/linux/alpha/sys/epoll.h b/sysdeps/unix/sysv/linux/alpha/sys/epoll.h
index 9f983a5..9177c31 100644
--- a/sysdeps/unix/sysv/linux/alpha/sys/epoll.h
+++ b/sysdeps/unix/sysv/linux/alpha/sys/epoll.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002-2006, 2007, 2008 Free Software Foundation, Inc.
+/* Copyright (C) 2002-2008, 2010 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -31,7 +31,7 @@ typedef __sigset_t sigset_t;
#endif
-/* Flags to be passed to epoll_create2. */
+/* Flags to be passed to epoll_create1. */
enum
{
EPOLL_CLOEXEC = 010000000,
@@ -101,8 +101,9 @@ __BEGIN_DECLS
returned by epoll_create() should be closed with close(). */
extern int epoll_create (int __size) __THROW;
-/* Same as epoll_create but with an additional FLAGS parameter. */
-extern int epoll_create2 (int __size, int __flags) __THROW;
+/* Same as epoll_create but with an FLAGS parameter. The unused SIZE
+ parameter has been dropped. */
+extern int epoll_create1 (int __flags) __THROW;
/* Manipulate an epoll instance "epfd". Returns 0 in case of success,
--
1.7.6
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH] linux/alpha: convert from epoll_create2 to epoll_create1
2011-09-19 19:03 ` Mike Frysinger
@ 2011-09-19 19:32 ` Roland McGrath
2011-09-21 21:50 ` Matt Turner
1 sibling, 0 replies; 11+ messages in thread
From: Roland McGrath @ 2011-09-19 19:32 UTC (permalink / raw)
To: Mike Frysinger; +Cc: libc-ports
Indeed, I'm certainly going to leave anything in alpha (beyond something
like a typo fix) to the alpha port's maintainers.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH] linux/alpha: convert from epoll_create2 to epoll_create1
2011-09-19 19:03 ` Mike Frysinger
2011-09-19 19:32 ` Roland McGrath
@ 2011-09-21 21:50 ` Matt Turner
2011-09-22 1:40 ` Mike Frysinger
1 sibling, 1 reply; 11+ messages in thread
From: Matt Turner @ 2011-09-21 21:50 UTC (permalink / raw)
To: Mike Frysinger; +Cc: libc-ports, Roland McGrath
On Mon, Sep 19, 2011 at 3:03 PM, Mike Frysinger <vapier@gentoo.org> wrote:
> On Tuesday, August 31, 2010 16:08:35 Mike Frysinger wrote:
>> Alpha's epoll.h was missed when epoll_create2 was changed to epoll_create1.
>
> ping x 3 ... maybe alpha is outside of what Roland wants to touch ...
> -mike
I got a long todo list of minor alpha header fixes, so I can include
this in that pull request. I think we've got another couple alpha
patches in Gentoo that should go upstream too.
Matt
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH] linux/alpha: convert from epoll_create2 to epoll_create1
2011-09-21 21:50 ` Matt Turner
@ 2011-09-22 1:40 ` Mike Frysinger
0 siblings, 0 replies; 11+ messages in thread
From: Mike Frysinger @ 2011-09-22 1:40 UTC (permalink / raw)
To: Matt Turner; +Cc: libc-ports
[-- Attachment #1: Type: Text/Plain, Size: 678 bytes --]
On Wednesday, September 21, 2011 17:50:03 Matt Turner wrote:
> On Mon, Sep 19, 2011 at 3:03 PM, Mike Frysinger <vapier@gentoo.org> wrote:
> > On Tuesday, August 31, 2010 16:08:35 Mike Frysinger wrote:
> >> Alpha's epoll.h was missed when epoll_create2 was changed to
> >> epoll_create1.
> >
> > ping x 3 ... maybe alpha is outside of what Roland wants to touch ...
>
> I got a long todo list of minor alpha header fixes, so I can include
> this in that pull request. I think we've got another couple alpha
> patches in Gentoo that should go upstream too.
i think so too. if you want to drive that, np from me. i'm not an alpha
expert that's for sure.
-mike
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH] linux/alpha: convert from epoll_create2 to epoll_create1
2010-08-31 20:09 [PATCH] linux/alpha: convert from epoll_create2 to epoll_create1 Mike Frysinger
` (3 preceding siblings ...)
2011-09-19 19:03 ` Mike Frysinger
@ 2012-04-27 2:50 ` Matt Turner
2012-04-27 4:07 ` Mike Frysinger
4 siblings, 1 reply; 11+ messages in thread
From: Matt Turner @ 2012-04-27 2:50 UTC (permalink / raw)
To: Richard Henderson; +Cc: Mike Frysinger, libc-ports
On Tue, Aug 31, 2010 at 4:08 PM, Mike Frysinger <vapier@gentoo.org> wrote:
> Alpha's epoll.h was missed when epoll_create2 was changed to epoll_create1.
>
> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
>
> 2010-08-31 Mike Frysinger <vapier@gentoo.org>
>
> * sysdeps/unix/sysv/linux/alpha/sys/epoll.h (epoll_create2): Delete.
> (epoll_create1): Add.
> ---
> sysdeps/unix/sysv/linux/alpha/sys/epoll.h | 9 +++++----
> 1 files changed, 5 insertions(+), 4 deletions(-)
>
> diff --git a/sysdeps/unix/sysv/linux/alpha/sys/epoll.h b/sysdeps/unix/sysv/linux/alpha/sys/epoll.h
> index 9f983a5..9177c31 100644
> --- a/sysdeps/unix/sysv/linux/alpha/sys/epoll.h
> +++ b/sysdeps/unix/sysv/linux/alpha/sys/epoll.h
> @@ -1,4 +1,4 @@
> -/* Copyright (C) 2002-2006, 2007, 2008 Free Software Foundation, Inc.
> +/* Copyright (C) 2002-2008, 2010 Free Software Foundation, Inc.
> This file is part of the GNU C Library.
>
> The GNU C Library is free software; you can redistribute it and/or
> @@ -31,7 +31,7 @@ typedef __sigset_t sigset_t;
> #endif
>
>
> -/* Flags to be passed to epoll_create2. */
> +/* Flags to be passed to epoll_create1. */
> enum
> {
> EPOLL_CLOEXEC = 010000000,
> @@ -101,8 +101,9 @@ __BEGIN_DECLS
> returned by epoll_create() should be closed with close(). */
> extern int epoll_create (int __size) __THROW;
>
> -/* Same as epoll_create but with an additional FLAGS parameter. */
> -extern int epoll_create2 (int __size, int __flags) __THROW;
> +/* Same as epoll_create but with an FLAGS parameter. The unused SIZE
> + parameter has been dropped. */
> +extern int epoll_create1 (int __flags) __THROW;
>
>
> /* Manipulate an epoll instance "epfd". Returns 0 in case of success,
> --
> 1.7.2
>
Richard,
Can you apply this with the other patches I sent tonight?
Thanks,
Matt
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH] linux/alpha: convert from epoll_create2 to epoll_create1
2012-04-27 2:50 ` Matt Turner
@ 2012-04-27 4:07 ` Mike Frysinger
0 siblings, 0 replies; 11+ messages in thread
From: Mike Frysinger @ 2012-04-27 4:07 UTC (permalink / raw)
To: Matt Turner; +Cc: Richard Henderson, libc-ports
[-- Attachment #1: Type: Text/Plain, Size: 494 bytes --]
On Thursday 26 April 2012 22:49:55 Matt Turner wrote:
> On Tue, Aug 31, 2010 at 4:08 PM, Mike Frysinger <vapier@gentoo.org> wrote:
> > Alpha's epoll.h was missed when epoll_create2 was changed to
> > epoll_create1.
> >
> > sysdeps/unix/sysv/linux/alpha/sys/epoll.h | 9 +++++----
>
> Can you apply this with the other patches I sent tonight?
it's no longer necessary after we migrated to bits/epoll.h. there is only one
sys/epoll.h now (in common code) and it's fixed.
-mike
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2012-04-27 4:07 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-31 20:09 [PATCH] linux/alpha: convert from epoll_create2 to epoll_create1 Mike Frysinger
2010-08-31 20:09 ` Mike Frysinger
2010-08-31 20:12 ` Mike Frysinger
2010-09-29 22:48 ` Mike Frysinger
2011-03-07 20:42 ` Mike Frysinger
2011-09-19 19:03 ` Mike Frysinger
2011-09-19 19:32 ` Roland McGrath
2011-09-21 21:50 ` Matt Turner
2011-09-22 1:40 ` Mike Frysinger
2012-04-27 2:50 ` Matt Turner
2012-04-27 4:07 ` Mike Frysinger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).