#1756 append new line to error string from poptStrerror()
Closed: Fixed None Opened 7 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

3 years ago

SSSD is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in SSSD's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/SSSD/sssd/issues/2798

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Login to comment on this ticket.

Metadata