pike.git
/
src
/
modules
/
_Roxen
/
roxen.c
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/modules/_Roxen/roxen.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: roxen.c,v 1.
37
2004/01/27 10:
54
:
06
grubba Exp $
+
|| $Id: roxen.c,v 1.
38
2004/01/27 10:
59
:
15
grubba Exp $
*/ #define NO_PIKE_SHORTHAND #include "global.h" #include "config.h" #include "machine.h"
pike.git/src/modules/_Roxen/roxen.c:353:
foo += 2; } } } if (!proc) { pop_n_elems(args-1); return; } newstr = begin_wide_shared_string(Pike_sp[-args].u.string->len - adjust_len, size_shift); if (size_shift) {
-
p_wchar1 dest = STR1(newstr);
+
p_wchar1
*
dest = STR1(newstr);
for (proc=0; bar<end; dest++) if (*bar=='%') { if (bar[1] == 'u' || bar[1] == 'U') { if (bar<end-4) *dest = (((bar[1]<'A')?(bar[1]&15):((bar[1]+9)&15))<<12)| (((bar[2]<'A')?(bar[2]&15):((bar[2]+9)&15))<<8)| (((bar[3]<'A')?(bar[3]&15):((bar[3]+9)&15))<<4)| ((bar[4]<'A')?(bar[4]&15):((bar[4]+9)&15)); else