Hi Richard, Are the old names being removed from glibc ? Currently I am using glibc 2.11 and they are present.
Actually the name choice was intentional, because they are used as argument to a function asking whether read, write etc is allowed to the current user, leaving to the function to identify whether this user is owner of file, member of group, or other. So using the names for owner's permissions is deceptive. I could use R_OK, W_OK etc, but in that list there is no name for requesting the specific actions for a sticky directory. I would have to add an extra argument and forward it to the called functions. I need to think more about it before accepting the proposal. Regards Jean-Pierre Richard W.M. Jones wrote: > Quoting from the man page for stat(2) on Linux: > > Unix V7 (and later systems) had S_IREAD, S_IWRITE, S_IEXEC, where POSIX > prescribes the synonyms S_IRUSR, S_IWUSR, S_IXUSR. > > This patch makes this simple substitution so that the code compiles > with recent glibc. (The patch also applies correctly to 2010.1.16). > > Rich. > > > > > ------------------------------------------------------------------------------ > The Planet: dedicated and managed hosting, cloud storage, colocation > Stay online with enterprise data centers and the best network in the business > Choose flexible plans and management services without long-term contracts > Personal 24x7 support from experience hosting pros just a phone call away. > http://p.sf.net/sfu/theplanet-com > > > _______________________________________________ > ntfs-3g-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/ntfs-3g-devel > -- JP André email [email protected] ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ ntfs-3g-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ntfs-3g-devel
