IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Opened 20 years ago

Closed 20 years ago

Last modified 20 years ago

#682 closed defect (fixed)

psArray updates

Reported by: Paul Price Owned by: David.Robbins@…
Priority: high Milestone:
Component: types Version: unspecified
Severity: normal Keywords:
Cc:

Description

psArrayAlloc shall set psArray.n to zero
psVectorAlloc shall set psVector.n to zero
psArrayAlloc shall initialise the array values to NULL
psArrayRealloc shall initialise the grown values on the array to NULL

See bug 676.

Change History (7)

comment:1 by gusciora@…, 20 years ago

Owner: changed from gusciora@… to David.Robbins@…

comment:2 by jhoblitt, 20 years ago

blocked: 717

comment:3 by David.Robbins@…, 20 years ago

Should VectorAlloc also initialize vector values to NULL as with array? Should
VectorRealloc and VectorRecycle also be altered correspondingly?

comment:4 by Paul Price, 20 years ago

No, psVectorAlloc stores numbers, not pointers.

psVector initialisation is performed by psVectorInit, and we let the user call
this explicitly, since there is no standard value for initialisation.

comment:5 by David.Robbins@…, 20 years ago

Resolution: fixed
Status: newclosed

Changed psArray & psVector as desired (& all corresponding instances).

comment:6 by Paul Price, 20 years ago

Keywords: VERIFIED added

Bug has been resolved.... closing.

comment:7 by Paul Price, 20 years ago

Keywords: VERIFIED removed

Bugs have been fixed... closing.

Note: See TracTickets for help on using tickets.