pike.git / src / modules / _Charset / misc.c

version» Context lines:

pike.git/src/modules/_Charset/misc.c:1:   /*   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: misc.c,v 1.13 2003/04/06 14:37:31 nilsson Exp $ + || $Id: misc.c,v 1.14 2003/06/30 17:11:19 mast Exp $   */      #include "global.h"      const p_wchar1 map_DEC_MCS[] = {    0xfffd, 0x00a1, 0x00a2, 0x00a3, 0xfffd, 0x00a5, 0xfffd, 0x00a7,    0x00a4, 0x00a9, 0x00aa, 0x00ab, 0xfffd, 0xfffd, 0xfffd, 0xfffd,    0x00b0, 0x00b1, 0x00b2, 0x00b3, 0xfffd, 0x00b5, 0x00b6, 0x00b7,    0xfffd, 0x00b9, 0x00ba, 0x00bb, 0x00bc, 0x00bd, 0xfffd, 0x00bf,    0x00c0, 0x00c1, 0x00c2, 0x00c3, 0x00c4, 0x00c5, 0x00c6, 0x00c7,
pike.git/src/modules/_Charset/misc.c:2070:    if((c = strcmp(name, charset_map[mid].name))==0) {    *rlo = charset_map[mid].lo;    *rhi = charset_map[mid].hi;    return charset_map[mid].table;    }    if(c<0)    hi=mid-1;    else    lo=mid+1;    } -  return (p_wchar1 *)0; +  return (p_wchar1 *)NULL;   }