This is the mail archive of the libc-ports@sources.redhat.com mailing list for the libc-ports project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: alpha fcntl bits missing defines


Hi Matt!

Am 23.02.2011 17:57, schrieb Matt Turner:
On Wed, Feb 23, 2011 at 11:52 AM, Oliver Falk<oliver@linux-kernel.at> wrote:
Hi!

Just noticed, that [ports]/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h is
missing the following 2 defines:

--- fcntl.h.PIPE_SZ     2011-02-23 10:46:09.000000000 +0100
+++ fcntl.h     2011-02-23 10:46:11.000000000 +0100
@@ -97,6 +97,8 @@
  # define F_SETLEASE    1024    /* Set a lease.  */
  # define F_GETLEASE    1025    /* Enquire what lease is active.  */
  # define F_NOTIFY      1026    /* Request notfications on a directory.  */
+# define F_SETPIPE_SZ   1031    /* Set pipe page size array.  */
+# define F_GETPIPE_SZ   1032    /* Set pipe page size array.  */
  #endif
  #ifdef __USE_XOPEN2K8
  # define F_DUPFD_CLOEXEC 1030  /* Duplicate file descriptor with

Would be great if one could add it.

-of

I'm curious. What program needs these defines?


More evidence that we need a common set of headers.

Actually glibc needs it :-)


See also ia64/bits/fcntl.h.

Actually it is used by fpathconf.c.

And... It's glibc 2.12/2.13...

-of


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]