pike.git/
src/
stralloc.c
Branch:
Tag:
Non-build tags
All tags
No tags
2005-11-18
2005-11-18 01:14:22 by Martin Nilsson <mani@lysator.liu.se>
86a15467f9c04002f42a12c6b7cc7a8b9adbf536 (
6
lines) (+
4
/-
2
)
[
Show
|
Annotate
]
Branch:
7.6
Very late backport of reference underflow in modify_shared_string()
Rev: src/stralloc.c:1.170
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: stralloc.c,v 1.
169
2005/
01
/
19
13
:
06
:
57
grubba
Exp $
+
|| $Id: stralloc.c,v 1.
170
2005/
11
/
18
01
:
14
:
22
nilsson
Exp $
*/ #include "global.h"
24:
#include <ctype.h> #include <math.h>
-
RCSID("$Id: stralloc.c,v 1.
169
2005/
01
/
19
13
:
06
:
57
grubba
Exp $");
+
RCSID("$Id: stralloc.c,v 1.
170
2005/
11
/
18
01
:
14
:
22
nilsson
Exp $");
/* #define STRALLOC_USE_PRIMES */
1596:
add_ref(a = old); } else { link_pike_string(a, a->hval);
+
add_ref(a);
} return a; }else{