1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00
* ctype/ctype.h: Pretty print.
This commit is contained in:
Ulrich Drepper
1999-10-08 22:25:13 +00:00
parent 0f5219d4fa
commit c813f986d0
4 changed files with 25 additions and 17 deletions

View File

@ -1,5 +1,7 @@
1999-10-08 Ulrich Drepper <drepper@cygnus.com> 1999-10-08 Ulrich Drepper <drepper@cygnus.com>
* ctype/ctype.h: Pretty print.
* po/cs.po: Fix typos. * po/cs.po: Fix typos.
* nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_spent): Fix * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_spent): Fix

View File

@ -141,11 +141,11 @@ __exctype (_tolower);
# define isupper(c) __isctype((c), _ISupper) # define isupper(c) __isctype((c), _ISupper)
# define isxdigit(c) __isctype((c), _ISxdigit) # define isxdigit(c) __isctype((c), _ISxdigit)
#ifdef __USE_GNU # ifdef __USE_GNU
# define isblank(c) __isctype((c), _ISblank) # define isblank(c) __isctype((c), _ISblank)
#endif # endif
#if defined __OPTIMIZE__ && !defined __OPTIMIZE_SIZE__ \ # if defined __OPTIMIZE__ && !defined __OPTIMIZE_SIZE__ \
&& defined __USE_EXTERN_INLINES && defined __USE_EXTERN_INLINES
extern __inline int extern __inline int
tolower (int __c) __THROW tolower (int __c) __THROW
@ -158,10 +158,10 @@ toupper (int __c) __THROW
{ {
return __c >= -128 && __c < 256 ? __ctype_toupper[__c] : __c; return __c >= -128 && __c < 256 ? __ctype_toupper[__c] : __c;
} }
#endif # endif
#if __GNUC__ >= 2 && defined __OPTIMIZE__ && !defined __cplusplus # if __GNUC__ >= 2 && defined __OPTIMIZE__ && !defined __cplusplus
# define __tobody(c, f, a) \ # define __tobody(c, f, a) \
(__extension__ \ (__extension__ \
({ int __res; \ ({ int __res; \
if (sizeof (c) > 1) \ if (sizeof (c) > 1) \
@ -178,17 +178,17 @@ toupper (int __c) __THROW
__res = a[(int) (c)]; \ __res = a[(int) (c)]; \
__res; })) __res; }))
# define tolower(c) __tobody (c, tolower, __ctype_tolower) # define tolower(c) __tobody (c, tolower, __ctype_tolower)
# define toupper(c) __tobody (c, toupper, __ctype_toupper) # define toupper(c) __tobody (c, toupper, __ctype_toupper)
#endif /* Optimizing gcc */ # endif /* Optimizing gcc */
#if defined __USE_SVID || defined __USE_MISC || defined __USE_XOPEN # if defined __USE_SVID || defined __USE_MISC || defined __USE_XOPEN
# define isascii(c) __isascii (c) # define isascii(c) __isascii (c)
# define toascii(c) __toascii (c) # define toascii(c) __toascii (c)
# define _tolower(c) ((int) __ctype_tolower[(int) (c)]) # define _tolower(c) ((int) __ctype_tolower[(int) (c)])
# define _toupper(c) ((int) __ctype_toupper[(int) (c)]) # define _toupper(c) ((int) __ctype_toupper[(int) (c)])
#endif # endif
#endif /* Not __NO_CTYPE. */ #endif /* Not __NO_CTYPE. */

View File

@ -1,3 +1,9 @@
1999-10-08 Ulrich Drepper <drepper@cygnus.com>
* manager.c (__pthread_manager) [REQ_POST]: Use __new_sem_post
directly instead of calling sem_post which should not be necessary
but is faster and might help in some case to work around problems.
1999-10-08 Andreas Schwab <schwab@suse.de> 1999-10-08 Andreas Schwab <schwab@suse.de>
* sysdeps/pthread/Subdirs: New file. * sysdeps/pthread/Subdirs: New file.

View File

@ -159,7 +159,7 @@ int __pthread_manager(void *arg)
} }
break; break;
case REQ_POST: case REQ_POST:
sem_post(request.req_args.post); __new_sem_post(request.req_args.post);
break; break;
case REQ_DEBUG: case REQ_DEBUG:
/* Make gdb aware of new thread and gdb will restart the /* Make gdb aware of new thread and gdb will restart the