#1756 append new line to error string from poptStrerror()
Closed: Fixed None Opened 6 years ago by pbrezina.

Currently all calls of BAD_POPT_PARAMS where popStrerror() is used as a parameter are missing end of line.

Example output:

[pbrezina: ~/workspace/sssd (review)]$ ./sss_cache -h
Usage: sss_cache [-?UGNSA] [-?|--help] [--usage] [-u|--user STRING] [-U|--users] [-g|--group STRING] [-G|--groups] [-n|--netgroup STRING] [-N|--netgroups] [-s|--service STRING] [-S|--services]
        [-a|--autofs-map STRING] [-A|--autofs-maps] [-d|--domain STRING]
unknown option[pbrezina: ~/workspace/sssd (review)]$

This problem applies at least at the following code:

BAD_POPT_PARAMS(pc, poptStrerror(ret), ret, fini);

Fields changed

keywords: => easyfix

Fields changed

milestone: NEEDS_TRIAGE => SSSD 1.11 beta
rhbz: => todo

Fields changed

owner: somebody => mcejnar

Fields changed

milestone: SSSD 1.11 beta => SSSD 1.10 beta
patch: 0 => 1

resolution: => fixed
status: new => closed

Duplicate of 1745 which was logged first in bugzilla and then cloned. Not sure why this was opened.

rhbz: todo => 0

Metadata Update from @pbrezina:
- Issue assigned to mcejnar
- Issue set to the milestone: SSSD 1.10 beta

2 years ago

Login to comment on this ticket.

Metadata