Share

GDL - GNU Data Language

Tracker: Bugs

5 point_lun and openr,/compress don't mix - ID: 2894673
Last Update: Comment added ( m_schellens )

When a file is opened with
openr, /COMPRESS, lun, file, /get_lun
then
point_lun, lun, 0L
which should rewind the file, is ineffectual, whether or not the file is
actually compressed.
On the other hand
openr, lun, file, /get_lun
point_lun, lun, 0L
works fine.

An example is enclosed.


Eric Hivon ( hivon ) - 2009-11-09 16:34

5

Open

None

Nobody/Anonymous

None

None

Public


Comments ( 2 )




Date: 2009-11-13 17:58
Sender: m_schellensProject Admin

Although this should be fixed in the CVS, I could not restore data
successfully with COMPRESS.
Did it ever work for you not using POINT_LUN?




Date: 2009-11-11 13:37
Sender: slayoo

Thanks for reporting it and for the testfile.

Quoting authors of the gzstream wrapper the is used to implement /COMPRESS
keyword (http://www.cs.unc.edu/Research/compgeom/gzstream/):
... What's Missing: - Seek. The zlib library provides the necessary
functionality, but we have not realized that in the wrapper (yet? ;-)...

So, that would probably be the starting point to fix it.

Sylwester



Log in to comment.

Attached File ( 1 )

Filename Description Download
test_point_lun.pro testing point_lun with openr,/compress Download

Change ( 1 )

Field Old Value Date By
File Added 350159: test_point_lun.pro 2009-11-09 16:34 hivon