umode_t?
Quoted 2 lines · David Mosberger
Isn't the poinit of
AC_CHECK_TYP(umode_t, int)that ifumode_tisn't defined already, it will get defined as an "int"?
Yes, but then there are all kinds of casting problems. That needs to be fixed too, for systems without umode_t at all, but it led me to the question about umode_t not being in sys/types.h.
Quoted 3 lines
You'll need to talk to glibc maintainers as to whether
umode_tshould or should not be defined. I don't keep track of the latest name space rules.
OK, glibc people: Why don't you get umode_t by including sys/types.h? As far as i can tell, you have to include asm/types.h to get it; clearly not an option for an autoconf macro.
Signature · 4 lines
Eric Gillespie, Jr. <*> [email protected] Software Developer Progeny Linux Systems - http://progeny.com "I don't know what a Sawfish Window Manager is."
Quoted 3 lines · Eric Gillespie
OK, glibc people: Why don't you get
umode_tby includingsys/types.h? As far as i can tell, you have to includeasm/types.hto get it; clearly not an option for an autoconf macro.
It's none of your business to use this type in user-level code. This is a kernel type.
Signature · 3 lines
---------------. ,-. 1325 Chesapeake Terrace Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA Red Hat `--' drepper at redhat.com `------------------------
Quoted 2 lines · Ulrich Drepper
It's none of your business to use this type in user-level code. This is a kernel type.
OK, that's fine with me. I'll send the curves people a patch to drop the use of umode_t.
Thanks.
Signature · 4 lines
Eric Gillespie, Jr. <*> [email protected] Software Developer Progeny Linux Systems - http://progeny.com "I don't know what a Sawfish Window Manager is."