Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 104740 | Differences between
and this patch

Collapse All | Expand All

(-)hard-locale.h.orig (-2 / +2 lines)
Lines 22-27 Link Here
22
   Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
22
   Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
23
23
24
24
25
static ptr_t xmalloc PARAMS ((size_t n));
26
25
/* Return nonzero if the current CATEGORY locale is hard, i.e. if you
27
/* Return nonzero if the current CATEGORY locale is hard, i.e. if you
26
   can't get away with assuming traditional C or POSIX behavior.  */
28
   can't get away with assuming traditional C or POSIX behavior.  */
27
static int
29
static int
Lines 40-47 Link Here
40
      if (strcmp (p, "C") == 0 || strcmp (p, "POSIX") == 0)
42
      if (strcmp (p, "C") == 0 || strcmp (p, "POSIX") == 0)
41
	hard = 0;
43
	hard = 0;
42
# else
44
# else
43
      static ptr_t xmalloc PARAMS ((size_t n));
44
45
      char *locale = xmalloc (strlen (p) + 1);
45
      char *locale = xmalloc (strlen (p) + 1);
46
      strcpy (locale, p);
46
      strcpy (locale, p);
47
47

Return to bug 104740