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.
42
2005/04/08 17:
23
:
46
grubba Exp $
+
|| $Id: roxen.c,v 1.
43
2005/04/08 17:
24
:
39
grubba Exp $
*/ #define NO_PIKE_SHORTHAND #include "global.h" #include "config.h" #include "machine.h"
pike.git/src/modules/_Roxen/roxen.c:386:
*dest=(((bar[1]<'A')?(bar[1]&15):((bar[1]+9)&15))<<4)| ((bar[2]<'A')?(bar[2]&15):((bar[2]+9)&15)); else *dest=0; bar+=3; } } else { *dest=*(bar++); } } else {
-
foo = newstr
->str
;
+
foo =
STR0(
newstr
)
;
for (proc=0; bar<end; foo++) if (*bar=='%') { if (bar[1] == 'u' || bar[1] == 'U') { /* We know that the following two characters are zeros. */ bar+=3; } if (bar<end-2) *foo=(((bar[1]<'A')?(bar[1]&15):((bar[1]+9)&15))<<4)| ((bar[2]<'A')?(bar[2]&15):((bar[2]+9)&15)); else