-
-
Notifications
You must be signed in to change notification settings - Fork 233
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Split objfreespace and second header #929
base: master
Are you sure you want to change the base?
Split objfreespace and second header #929
Conversation
@rurban First version, with error, which I don't see
|
No, we don't. If the objfreespace address is zero, as in sample_2000, this section is omitted, but the 2nd header not |
Ha, another case. AC1012 - some versions do have not objfreespace record in the header, the section doesn't exist. |
section 3 often does not exist, i.e. empty address and size, but often the 2ndheader is still attached to it. My latest fixes work now. I don't want to split it, as it confuses the section number logic. (dwg->header.sections) |
include/dwg.h
Outdated
SECTION_AUXHEADER_R2000 = 5, | ||
SECTION_THUMBNAIL_R13 = 6, | ||
SECTION_OBJFREESPACE_R13 = 3, | ||
SECTION_SECOND_HEADER_R13 = 4, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nope this confuses our section numbering even more. I'd like it keeping attached to the ObjFreeSpace
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I need to look again.
70a1d1f
to
eedb1fb
Compare
@rurban I updated PR. |
eedb1fb
to
c1719a9
Compare
For the time being I did it simplier for 0.13, as your patch with my fixes filled up my hard disc. |
Hm, there is some memory issue. |
But we should fix this better |
c1719a9
to
7c75779
Compare
There is possibility of second header and without objfreespace in AC1012. This mean, that we need to split.