<feed xmlns='http://www.w3.org/2005/Atom'>
<title>xine-lib/src/libsputext, branch 1.1.18</title>
<subtitle>xine-lib git mirror
</subtitle>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/'/>
<entry>
<title>Trim trailing space &amp; reduce space+tab.</title>
<updated>2009-11-30T21:24:21+00:00</updated>
<author>
<name>Darren Salt</name>
<email>linux@youmustbejoking.demon.co.uk</email>
</author>
<published>2009-11-30T21:24:21+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/commit/?id=add0bcc4c9191cb8980d0b6935ca5d51a9928d82'/>
<id>add0bcc4c9191cb8980d0b6935ca5d51a9928d82</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove '#include "config.h"' from all public header files.</title>
<updated>2009-01-18T00:21:47+00:00</updated>
<author>
<name>Darren Salt</name>
<email>linux@youmustbejoking.demon.co.uk</email>
</author>
<published>2009-01-18T00:21:47+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/commit/?id=c8f8261d199af4956aeaf387b2fde41baf905f83'/>
<id>c8f8261d199af4956aeaf387b2fde41baf905f83</id>
<content type='text'>
This requires that many other files include config.h themselves.
Also convert &lt;config.h&gt; to "config.h".
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This requires that many other files include config.h themselves.
Also convert &lt;config.h&gt; to "config.h".
</pre>
</div>
</content>
</entry>
<entry>
<title>Avoid libtool running ldconfig (where not needed) at install time.</title>
<updated>2009-01-17T14:30:50+00:00</updated>
<author>
<name>Darren Salt</name>
<email>linux@youmustbejoking.demon.co.uk</email>
</author>
<published>2009-01-17T14:30:50+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/commit/?id=d462ef0ce04d5ca91cd008efecc37c2c1fa39bbb'/>
<id>d462ef0ce04d5ca91cd008efecc37c2c1fa39bbb</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>check length parameter against buffer length in libsputext read_line_from_input</title>
<updated>2009-01-01T18:25:07+00:00</updated>
<author>
<name>Matthias Hopf</name>
<email>mhopf@suse.de</email>
</author>
<published>2009-01-01T18:25:07+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/commit/?id=f834d9a8a46a8d3edfea5ea1c9ee66177dee7b04'/>
<id>f834d9a8a46a8d3edfea5ea1c9ee66177dee7b04</id>
<content type='text'>
Currently, this is satisfied in all locations where it is called,
but it is more prudent to add the check.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently, this is satisfied in all locations where it is called,
but it is more prudent to add the check.
</pre>
</div>
</content>
</entry>
<entry>
<title>Simplify code and update code style.</title>
<updated>2008-07-04T14:26:37+00:00</updated>
<author>
<name>Diego 'Flameeyes' Pettenò</name>
<email>flameeyes@gmail.com</email>
</author>
<published>2008-07-04T14:26:37+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/commit/?id=9c5977f1fb284f47eb12c8b8da87f291fd0f5a8f'/>
<id>9c5977f1fb284f47eb12c8b8da87f291fd0f5a8f</id>
<content type='text'>
--HG--
extra : transplant_source : i%86L%8F_h%1D%DDv%DF%E4%2B%906%8B%FBM%87h%2A
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
--HG--
extra : transplant_source : i%86L%8F_h%1D%DDv%DF%E4%2B%906%8B%FBM%87h%2A
</pre>
</div>
</content>
</entry>
<entry>
<title>Use size_t to keep the value returned by strlen().</title>
<updated>2008-05-09T19:54:58+00:00</updated>
<author>
<name>Diego 'Flameeyes' Pettenò</name>
<email>flameeyes@gmail.com</email>
</author>
<published>2008-05-09T19:54:58+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/commit/?id=16a41a85516f6055918887938e9dd3f3f9fbcf28'/>
<id>16a41a85516f6055918887938e9dd3f3f9fbcf28</id>
<content type='text'>
When using a variable to store the result of strlen(), make sure its
type is size_t just like the function returns, rather than using a
smaller type like int.

--HG--
extra : transplant_source : %B0%D5%3B%D7%1Dy%0A%7E%7D%7C%023%08%B2%CE%D3t%0B3%D7
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When using a variable to store the result of strlen(), make sure its
type is size_t just like the function returns, rather than using a
smaller type like int.

--HG--
extra : transplant_source : %B0%D5%3B%D7%1Dy%0A%7E%7D%7C%023%08%B2%CE%D3t%0B3%D7
</pre>
</div>
</content>
</entry>
<entry>
<title>Use size_t rather than int to store the return value of strlen().</title>
<updated>2008-05-09T16:17:44+00:00</updated>
<author>
<name>Diego 'Flameeyes' Pettenò</name>
<email>flameeyes@gmail.com</email>
</author>
<published>2008-05-09T16:17:44+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/commit/?id=4384f0b14a658b4179cedf77c2d6c2718610017b'/>
<id>4384f0b14a658b4179cedf77c2d6c2718610017b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Avoid transforming a string to uppecase, and avoid one call to strlen().</title>
<updated>2008-05-09T15:50:19+00:00</updated>
<author>
<name>Diego 'Flameeyes' Pettenò</name>
<email>flameeyes@gmail.com</email>
</author>
<published>2008-05-09T15:50:19+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/commit/?id=a51427608e2f4543ae0cb0598517a1e4f6b0928b'/>
<id>a51427608e2f4543ae0cb0598517a1e4f6b0928b</id>
<content type='text'>
Instead of looping through the directive string as returned by
sscanf() and transforming each character to its uppercase version, use
strcasestr to run a case-insensitive sub-string search.

Also avoid runing multiple strlen() calls per each line, use strncpy
instead.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead of looping through the directive string as returned by
sscanf() and transforming each character to its uppercase version, use
strcasestr to run a case-insensitive sub-string search.

Also avoid runing multiple strlen() calls per each line, use strncpy
instead.
</pre>
</div>
</content>
</entry>
<entry>
<title>Use strn?dup instead of alloc + strn?cpy.</title>
<updated>2008-05-07T16:23:55+00:00</updated>
<author>
<name>Diego 'Flameeyes' Pettenò</name>
<email>flameeyes@gmail.com</email>
</author>
<published>2008-05-07T16:23:55+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/commit/?id=657a953d5d2807ed99eddf7b45a4dc46cef626d5'/>
<id>657a953d5d2807ed99eddf7b45a4dc46cef626d5</id>
<content type='text'>
Whenever an allocated memory area is immediately filled in with a
string through strcpy() or strncpy(), replace the calls with the
appropriate strn?dup().
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Whenever an allocated memory area is immediately filled in with a
string through strcpy() or strncpy(), replace the calls with the
appropriate strn?dup().
</pre>
</div>
</content>
</entry>
<entry>
<title>xine_xmalloc() deprecation: replace its use with static and non-zero size.</title>
<updated>2008-05-07T14:59:00+00:00</updated>
<author>
<name>Diego 'Flameeyes' Pettenò</name>
<email>flameeyes@gmail.com</email>
</author>
<published>2008-05-07T14:59:00+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/commit/?id=88d23a2dbabf419ab4014b449be119a741aa54f5'/>
<id>88d23a2dbabf419ab4014b449be119a741aa54f5</id>
<content type='text'>
The xine_xmalloc() function is going to be deprecated, as its
behaviour is rarely needed as such, and it's thus misused.

With this, almost all uses of xine_xmalloc() with static size (for
instance the value returned by sizeof()) or with a size that is
guaranteed not to be zero (like strlen()+1) are replaced with calls to
either calloc(1, ...) or malloc().

malloc() is used whenever the allocated memory is going to be
immediately overwritten, while calloc() is used in every other case,
as it sets the whole memory area to zero.

--HG--
extra : transplant_source : %8F%98%EC%02%1E%83%F0s%06X%83C%205Y%80%B12%CC%E1
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The xine_xmalloc() function is going to be deprecated, as its
behaviour is rarely needed as such, and it's thus misused.

With this, almost all uses of xine_xmalloc() with static size (for
instance the value returned by sizeof()) or with a size that is
guaranteed not to be zero (like strlen()+1) are replaced with calls to
either calloc(1, ...) or malloc().

malloc() is used whenever the allocated memory is going to be
immediately overwritten, while calloc() is used in every other case,
as it sets the whole memory area to zero.

--HG--
extra : transplant_source : %8F%98%EC%02%1E%83%F0s%06X%83C%205Y%80%B12%CC%E1
</pre>
</div>
</content>
</entry>
</feed>
