Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:13.2:Update
ngrep
20_setlocale.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 20_setlocale.diff of Package ngrep
Call setlocale to make isprint() decide what's printable depending on the current locale. See #307496. --- ngrep.c | 4 ++++ 1 file changed, 4 insertions(+) --- a/ngrep.c +++ b/ngrep.c @@ -97,6 +97,8 @@ #include "regex-0.12/regex.h" #endif +#include <locale.h> + #include "ngrep.h" @@ -195,6 +197,8 @@ signal(SIGWINCH, update_windowsize); #endif + setlocale(LC_ALL, ""); + while ((c = getopt(argc, argv, "LNhXViwqpevxlDtTRMs:n:c:d:A:I:O:S:P:F:W:")) != EOF) { switch (c) { case 'W': {
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor