This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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] |
René Rebe <rene@exactcode.de> writes: > The attached patch works around this. Most probably there is a more elegant > way to fix this. Roland added this patch already, I've added the other one, Thanks, Andreas > > --- glibc/sysdeps/unix/sysv/linux/fchownat.c.vanilla 2005-11-27 12:30:44.000000000 +0100 > +++ glibc/sysdeps/unix/sysv/linux/fchownat.c 2005-11-27 12:37:15.000000000 +0100 > @@ -23,6 +23,8 @@ > #include <string.h> > #include <unistd.h> > #include <sys/types.h> > +#include <alloca.h> > +#include <sysdep.h> > > /* Change the owner and group of FILE. */ > int > > > and later on MREMAP_FIXED was undefined: > > --- glibc/sysdeps/unix/sysv/linux/mips/bits/mman.h.vanilla 2005-11-27 13:20:18.000000000 +0100 > +++ glibc/sysdeps/unix/sysv/linux/mips/bits/mman.h 2005-11-27 13:23:09.000000000 +0100 > @@ -89,4 +89,5 @@ > /* Flags for `mremap'. */ > #ifdef __USE_GNU > # define MREMAP_MAYMOVE 1 > +# define MREMAP_FIXED 2 > #endif > > > > Yours, Andreas -- Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
Attachment:
pgp00000.pgp
Description: PGP signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |