Bug 3516 - constify readonly structures
Summary: constify readonly structures
Status: RESOLVED INVALID
Alias: None
Product: poppler
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: high enhancement
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-10 13:43 UTC by Paolo Borelli
Modified: 2010-02-09 14:39 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Paolo Borelli 2005-06-10 13:43:58 UTC
I opened a couple of poppler source files out of curiosity and noticed more than
one structure that afaics can be marked as const (e.g. tables)... running
objdump -x on libpoppler.so seems to turn out quite a bit of stuff that ends up
in .data and if marked const approproately could go in .rodata and shared by all
the users of libpoppler
Comment 1 Albert Astals Cid 2006-01-09 23:24:32 UTC
This is a wish i agree that would be nice but probably will never do to mantain 
as much possible compatibility with xpdf source. 
Comment 2 Albert Astals Cid 2009-06-17 13:36:44 UTC
Can you check if that still happens? If so a patch or at least saying which things you would constify is more than welcome.
Comment 3 Albert Astals Cid 2010-02-09 14:39:43 UTC
No answer for 6 months, closing as INVALID, if you ever care to answer the question, please reopen the bug.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.