<feed xmlns='http://www.w3.org/2005/Atom'>
<title>sssd.git/src/util/sss_python.h, branch 1.9.2-35</title>
<subtitle>sssd with jhrozek's patches</subtitle>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/jhrozek/public_git/sssd.git/'/>
<entry>
<title>Multiline macro cleanup</title>
<updated>2011-09-28T13:06:57+00:00</updated>
<author>
<name>Jakub Hrozek</name>
<email>jhrozek@redhat.com</email>
</author>
<published>2011-09-23T06:47:53+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/jhrozek/public_git/sssd.git/commit/?id=4a6a5421113ab662a665c62ed6a24b61a5a36950'/>
<id>4a6a5421113ab662a665c62ed6a24b61a5a36950</id>
<content type='text'>
This is mostly a cosmetic patch.

The purpose of wrapping a multi-line macro in a do { } while(0) is to
make the macro usable as a regular statement, not a compound statement.

When the while(0) is terminated with a semicolon, the do { } while(0);
block becomes a compound statement again.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is mostly a cosmetic patch.

The purpose of wrapping a multi-line macro in a do { } while(0) is to
make the macro usable as a regular statement, not a compound statement.

When the while(0) is terminated with a semicolon, the do { } while(0);
block becomes a compound statement again.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix python HBAC bindings for python &lt;= 2.4</title>
<updated>2011-07-13T15:00:47+00:00</updated>
<author>
<name>Jakub Hrozek</name>
<email>jhrozek@redhat.com</email>
</author>
<published>2011-07-12T19:22:22+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/jhrozek/public_git/sssd.git/commit/?id=72e60fd4eabcfbcdbfe01e8c38b94052bc6c2067'/>
<id>72e60fd4eabcfbcdbfe01e8c38b94052bc6c2067</id>
<content type='text'>
Several parts of the HBAC python bindings did not work with old Python
versions, such as the one shipped in RHEL5.

The changes include:
* a compatibility wrapper around python set object
* PyModule_AddIntMacro compat macro
* Py_ssize_t compat definition
* Do not use PyUnicode_FromFormat
* several function prototypes and structures used to have "char
  arguments where they have "const char *" in recent versions.
  This caused compilation warnings this patch mitigates by using
  the discard_const hack on python 2.4
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Several parts of the HBAC python bindings did not work with old Python
versions, such as the one shipped in RHEL5.

The changes include:
* a compatibility wrapper around python set object
* PyModule_AddIntMacro compat macro
* Py_ssize_t compat definition
* Do not use PyUnicode_FromFormat
* several function prototypes and structures used to have "char
  arguments where they have "const char *" in recent versions.
  This caused compilation warnings this patch mitigates by using
  the discard_const hack on python 2.4
</pre>
</div>
</content>
</entry>
</feed>
