pike.git/
src/
builtin.cmod
Branch:
Tag:
Non-build tags
All tags
No tags
2008-06-30
2008-06-30 10:01:54 by Henrik Grubbström (Grubba) <grubba@grubba.org>
8d9a1b3e60f5c6fb1e58fd79659ab171935311b4 (
5
lines) (+
3
/-
2
)
[
Show
|
Annotate
]
Branch:
7.9
Fixed ref-counting bug in String.secure().
Rev: src/builtin.cmod:1.221
2:
|| 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.cmod,v 1.
220
2008/06/
29
23
:
14
:
18
grubba Exp $
+
|| $Id: builtin.cmod,v 1.
221
2008/06/
30
10
:
01
:
54
grubba Exp $
*/ #include "global.h"
656:
rawtype tFunc(tSetvar(0, tStr), tVar(0)); { str->flags |= STRING_CLEAR_ON_EXIT;
-
RETURN str;
+
REF_
RETURN str;
} /*! @decl int count(string haystack, string needle)