Function usage() in tools_util.c now correctly appends new line character with popt error messages.
https://fedorahosted.org/sssd/ticket/1756 This patch changes function usage() in tools_util.c which is used by BAD_POPT_PARAMS macro. Since BAD_POPT_PARAMS macro is called by multiple functions in multiple files with both custom messages termited with \n as well as popt messages which are not terminated by default, this patch offers a correction by checking the string just before printing out to console and printing out additional \n if new line wasn't present. ----------- The second patch - includes previously omitted brackets after if condition - uses only one fprint()f call instead of two
0002-Patch-for-bug-1756-Append-new-line-to-string-from-po.patch
Description: Binary data
_______________________________________________ sssd-devel mailing list sssd-devel@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/sssd-devel