pike.git / src / builtin_functions.c

version» Context lines:

pike.git/src/builtin_functions.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: builtin_functions.c,v 1.670 2008/06/01 11:19:45 grubba Exp $ + || $Id: builtin_functions.c,v 1.671 2008/06/16 21:46:35 mast Exp $   */      #include "global.h"   #include "interpret.h"   #include "svalue.h"   #include "pike_macros.h"   #include "object.h"   #include "program.h"   #include "array.h"   #include "pike_error.h"
pike.git/src/builtin_functions.c:694:    switch( str[i] ) {    case 0xff: wstr[i] = 0x178; break;    case 0xb5: wstr[i] = 0x39c; break;    default:    DO_UPPER_CASE_SHIFT0(str[i]);    wstr[i] = str[i];    break;    }       /* Discard the too narrow string and use the new one instead. */ -  do_really_free_pike_string(ret); +  do_free_unlinked_pike_string(ret);    ret = wret;    break;    }    }    } else if (orig->size_shift == 1) {    p_wchar1 *str = STR1(ret);       while(i--) {    DO_UPPER_CASE(str[i]);    }