pike.git/
src/
operators.c
Branch:
Tag:
Non-build tags
All tags
No tags
2000-09-26
2000-09-26 03:17:04 by Henrik Wallin <hedda@lysator.liu.se>
fc3a64912b0f9ab938ca2c09d68adb950c0b728f (
6
lines) (+
5
/-
1
)
[
Show
|
Annotate
]
Branch:
7.9
string * float now works better with widestrings.
Rev: src/operators.c:1.106
6:
/**/ #include "global.h" #include <math.h>
-
RCSID("$Id: operators.c,v 1.
105
2000/09/26
02
:
49
:
11
hedda Exp $");
+
RCSID("$Id: operators.c,v 1.
106
2000/09/26
03
:
17
:
04
hedda Exp $");
#include "interpret.h" #include "svalue.h" #include "multiset.h"
1705:
MEMCPY(pos,sp[-2].u.string->str,len); /* copy the last part of the string */ if (extra)
+
{
+
extra=extra << sp[-2].u.string->size_shift;
MEMCPY(pos,sp[-2].u.string->str,extra);
-
+
}
pop_n_elems(2); push_string(low_end_shared_string(ret)); return;