pike.git/
src/
array.c
Branch:
Tag:
Non-build tags
All tags
No tags
2008-02-12
2008-02-12 18:51:29 by Henrik Grubbström (Grubba) <grubba@grubba.org>
e1b0447371316f72a02bc6d5fe1376cb1cf10fca (
5
lines) (+
3
/-
2
)
[
Show
|
Annotate
]
Branch:
7.9
Fixed typo in comment.
Rev: src/array.c:1.200
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: array.c,v 1.
199
2008/
01
/
29
20
:
10
:
06
grubba Exp $
+
|| $Id: array.c,v 1.
200
2008/
02
/
12
18
:
51
:
29
grubba Exp $
*/ #include "global.h"
1230:
if(!v->size) return NULL;
-
/*
Overlow
safe: ((1<<29)-4)*4 < ULONG_MAX */
+
/*
Overflow
safe: ((1<<29)-4)*4 < ULONG_MAX */
current_order=(INT32 *)xalloc(v->size * sizeof(INT32)); SET_ONERROR(tmp, free, current_order); for(e=0; e<v->size; e++) current_order[e]=e;