I have made some final changes:
- renamed those variables from upper case to lower case
- used sss_hash_xxx function to create hash table, so there is less work with de-allocation now
- I also included the intern name of sysdb attributes on output so now it looks like:
<human_readable_attr> (<sysdb_attr>):      <value>
GID Number (gidNumber):     0123456789
- and finally there are no warnings during compilation

I squeezed all the commits into one and I made a patch, that is attached...


2013/4/20 David Bambušek <bambusekd@gmail.com>
Dne 19.4.2013 21:08, Jakub Hrozek napsal(a):

On Fri, Apr 19, 2013 at 02:13:21PM -0400, Simo Sorce wrote:
On Tue, 2013-04-16 at 23:46 +0200, David Bambušek wrote:
So the newest version is already on my github, with all the issues
mentioned above fixed.

Can you please squash commits ?

It is not interesting to see corrections and you need to squash them in
reasonable patches for final submission anyway, better do it often and
earlier IMO.
+1

It's worth noting that David stopped by the office when we had an Open
House day this week and we went through the code in person. I think the
tool mostly behaves good now, there are still some final touches needed,
such as marking several strings as translatable and not naming variables
in UPPERCASE even if they are static.

But the last iterations looked way better than the first ones,
definitely a big improvement.
_______________________________________________
sssd-devel mailing list
sssd-devel@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/sssd-devel
I hope I will be done with all the little things that need to be corrected by the end of this week. And sure, I will squash those commits ;)

David