Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Idl-pvware > Re: problem wit...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 3 Topic 5686 of 5741
Post > Topic >>

Re: problem with builtin restore

by Craig Markwardt <craigmnet@[EMAIL PROTECTED] > Apr 28, 2008 at 11:52 AM

Reimar Bauer <R.Bauer@[EMAIL PROTECTED]
> writes:

> Reimar Bauer schrieb:
> > Hi
> > we found a bug in restore of idl6.4 today. (linux version)
> > if you restore lots of files with always the same vars stored we
> > would
> > suppose that the memory allocation is always only done from the last
> > restore you did.
> > It looks like that you can overwrite the vars without reallocating
> > the
> > memory.
> > The cmrestore by CraigMarkwardt does it right.
> > cheers
> > Reimar Bauer
> 
> hmm I'm currently not sure if craigs routine does allocate different.

Reimar, CMSAVE/CMRESTORE just use standard IDL variables, so the
allocation should be the same as IDL's standard
allocation/deallocation. This is not quite true if you use pointers
within your saved data, but this does not apply to your example.

Craig




 3 Posts in Topic:
problem with builtin restore
Reimar Bauer <R.Bauer@  2008-04-28 10:48:02 
Re: problem with builtin restore
Reimar Bauer <R.Bauer@  2008-04-28 11:28:16 
Re: problem with builtin restore
Craig Markwardt <craig  2008-04-28 11:52:44 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat May 17 3:38:04 CDT 2008.