pike.git/
src/
stralloc.c
Branch:
Tag:
Non-build tags
All tags
No tags
2011-01-11
2011-01-11 14:11:18 by Henrik Grubbström (Grubba) <grubba@grubba.org>
1b2020090fa4b71b31bb2b74e0ca0b2095766a37 (
8
lines) (+
5
/-
3
)
[
Show
|
Annotate
]
Branch:
7.9
Got rid of C++-style comment.
2333:
ptrdiff_t len = s->s->len; int mag = min_magnitude(ch);
-
/
/
This is not really expected to happen. But since we are doing
-
//
memset here, a negative argument should be avoided.
-
if (count < 0) Pike_fatal("Non-positive count in call to string_builder_putchars().\n");
+
/
*
This is not really expected to happen. But since we are doing
+
*
memset here, a negative argument should be avoided.
*/
+
if (count < 0)
+
Pike_fatal("Non-positive count in call to string_builder_putchars().\n");
if (!count) return; string_build_mkspace(s, count, mag);