mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
Fix typo in macro names in sysconf.c
Spell _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly. Found when trying to make the getconf environment variables typo-proof. * sysdeps/posix/sysconf.c (__sysconf): Spell _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
|
||||||
|
|
||||||
|
* sysdeps/posix/sysconf.c (__sysconf): Spell
|
||||||
|
_POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
|
||||||
|
|
||||||
2014-08-12 Florian Weimer <fweimer@redhat.com>
|
2014-08-12 Florian Weimer <fweimer@redhat.com>
|
||||||
|
|
||||||
* iconv/gconv_open.c (__gconv_open): Remove transliteration module
|
* iconv/gconv_open.c (__gconv_open): Remove transliteration module
|
||||||
|
@ -886,13 +886,13 @@ __sysconf (name)
|
|||||||
return -1;
|
return -1;
|
||||||
#endif
|
#endif
|
||||||
case _SC_DEVICE_SPECIFIC:
|
case _SC_DEVICE_SPECIFIC:
|
||||||
#if _POSIX_DEVICE_SPCIFIC > 0
|
#if _POSIX_DEVICE_SPECIFIC > 0
|
||||||
return _POSIX_DEVICE_SPECIFIC;
|
return _POSIX_DEVICE_SPECIFIC;
|
||||||
#else
|
#else
|
||||||
return -1;
|
return -1;
|
||||||
#endif
|
#endif
|
||||||
case _SC_DEVICE_SPECIFIC_R:
|
case _SC_DEVICE_SPECIFIC_R:
|
||||||
#if _POSIX_DEVICE_SPCIFIC_R > 0
|
#if _POSIX_DEVICE_SPECIFIC_R > 0
|
||||||
return _POSIX_DEVICE_SPECIFIC_R;
|
return _POSIX_DEVICE_SPECIFIC_R;
|
||||||
#else
|
#else
|
||||||
return -1;
|
return -1;
|
||||||
|
Reference in New Issue
Block a user