[DVDnav-discuss] [PATCH] Mark some literals array more "const" (trivial)

Diego 'Flameeyes' Pettenò flameeyes at gmail.com
Wed Apr 18 00:39:15 CEST 2007


This is a really trivial patch, it simply marks a few literals arrays
as constant pointers to constant characters. The change doesn't affect
the functionality of the code, but could avoid possible mistakes in the
code that would try to change the literals at runtime, triggering a COW
to the dirty rss pages.

-- 
Diego "Flameeyes" Pettenò
http://farragut.flameeyes.is-a-geek.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libdvdnav-const-arrays.patch
Type: text/x-patch
Size: 1169 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/dvdnav-discuss/attachments/20070418/3a3643c8/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/dvdnav-discuss/attachments/20070418/3a3643c8/attachment.pgp>


More information about the DVDnav-discuss mailing list