pike.git/
src/
opcodes.c
Branch:
Tag:
Non-build tags
All tags
No tags
1999-10-31
1999-10-31 21:51:59 by Henrik Grubbström (Grubba) <grubba@grubba.org>
a68c65340ef164832a999613029482293cf6add9 (
15
lines) (+
9
/-
6
)
[
Show
|
Annotate
]
Branch:
7.9
Improved support for wide-strings in sscanf().
Rev: src/opcodes.c:1.56
25:
#include "security.h" #include "bignum.h"
-
RCSID("$Id: opcodes.c,v 1.
55
1999/10/31
20
:
52
:
09
grubba Exp $");
+
RCSID("$Id: opcodes.c,v 1.
56
1999/10/31
21
:
51
:
59
grubba Exp $");
void index_no_free(struct svalue *to,struct svalue *what,struct svalue *ind) {
1264:
\ if(!contains_percent_percent) \ { \
-
/*
FIXME!
*/
\
+
struct
generic_mem_searcher
searcher;
\
PIKE_CONCAT(p_wchar, INPUT_SHIFT) *s2; \
-
s2=my
_
memmem
(end_str_start,
\
-
end_str_end-end_str_start,
\
-
input+eye
, \
-
input_len-eye);
\
+
init
_
generic_memsearcher
(
&searcher,
end_str_start,
\
+
end_str_end
-
end_str_start,
\
+
MATCH_SHIFT,
input_len
- eye
,
\
+
INPUT_SHIFT);
\
+
s2
=
generic_memory_search(&searcher,
input+eye,
\
+
input_len - eye, INPUT_SHIFT);
\
if(!s2) \ { \ chars_matched[0]=eye; \