This is the mail archive of the glibc-cvs@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]

GNU C Library master sources branch master updated. glibc-2.20-16-g920238e


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  920238e061af76ac99dd94c40a80b0c6d23f35d4 (commit)
      from  ba7b4d294b01870ce3497971e9d07ee261cdc540 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=920238e061af76ac99dd94c40a80b0c6d23f35d4

commit 920238e061af76ac99dd94c40a80b0c6d23f35d4
Author: Siddhesh Poyarekar <siddhesh@redhat.com>
Date:   Fri Sep 12 16:37:31 2014 +0530

    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.

diff --git a/ChangeLog b/ChangeLog
index 95388d8..fdcaca6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
 
 	* iconv/gconv_open.c (__gconv_open): Remove transliteration module
diff --git a/sysdeps/posix/sysconf.c b/sysdeps/posix/sysconf.c
index e940099..cd2fb5a 100644
--- a/sysdeps/posix/sysconf.c
+++ b/sysdeps/posix/sysconf.c
@@ -886,13 +886,13 @@ __sysconf (name)
       return -1;
 #endif
     case _SC_DEVICE_SPECIFIC:
-#if _POSIX_DEVICE_SPCIFIC > 0
+#if _POSIX_DEVICE_SPECIFIC > 0
       return _POSIX_DEVICE_SPECIFIC;
 #else
       return -1;
 #endif
     case _SC_DEVICE_SPECIFIC_R:
-#if _POSIX_DEVICE_SPCIFIC_R > 0
+#if _POSIX_DEVICE_SPECIFIC_R > 0
       return _POSIX_DEVICE_SPECIFIC_R;
 #else
       return -1;

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog               |    5 +++++
 sysdeps/posix/sysconf.c |    4 ++--
 2 files changed, 7 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


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