~ubuntu-branches/ubuntu/precise/eglibc/precise

« back to all changes in this revision

Viewing changes to intl/localealias.c

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2011-10-04 17:48:26 UTC
  • mfrom: (216.1.23 oneiric)
  • Revision ID: package-import@ubuntu.com-20111004174826-2cyb9ewn3ucymlsx
Tags: 2.13-20ubuntu5
libc6-dev: Don't break the current {gnat,gcj}-4.4-base versons. LP: #853688.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* Handle aliases for locale names.
2
 
   Copyright (C) 1995-2002, 2003, 2005, 2011 Free Software Foundation, Inc.
 
2
   Copyright (C) 1995-2002, 2003, 2005 Free Software Foundation, Inc.
3
3
   This file is part of the GNU C Library.
4
4
 
5
5
   The GNU C Library is free software; you can redistribute it and/or
64
64
/* Rename the non ANSI C functions.  This is required by the standard
65
65
   because some ANSI C functions will require linking with this object
66
66
   file and the name space must not be polluted.  */
67
 
# define strcasecmp(s1, s2) __strcasecmp_l (s1, s2, _nl_C_locobj_ptr)
 
67
# define strcasecmp __strcasecmp
68
68
 
69
69
# ifndef mempcpy
70
70
#  define mempcpy __mempcpy
221
221
 
222
222
  /* Note the file is opened with cancellation in the I/O functions
223
223
     disabled.  */
224
 
  fp = fopen (full_fname, "rce");
 
224
  fp = fopen (full_fname, "rc");
225
225
  freea (full_fname);
226
226
  if (fp == NULL)
227
227
    return 0;