FreeBSD Bugzilla – Attachment 173990 Details for
Bug 212087
sbin/conscontrol - call setlocale so tool adheres to support localisation
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
call setlocale()
patch-freebsd-conscontrol.txt (text/plain), 496 bytes, created by
Sevan Janiyan
on 2016-08-24 03:26:47 UTC
(
hide
)
Description:
call setlocale()
Filename:
MIME Type:
Creator:
Sevan Janiyan
Created:
2016-08-24 03:26:47 UTC
Size:
496 bytes
patch
obsolete
>Index: sbin/conscontrol/conscontrol.c >=================================================================== >--- sbin/conscontrol/conscontrol.c (revision 304713) >+++ sbin/conscontrol/conscontrol.c (working copy) >@@ -34,6 +34,7 @@ > > #include <err.h> > #include <errno.h> >+#include <locale.h> > #include <fcntl.h> > #include <stdio.h> > #include <stdlib.h> >@@ -170,6 +171,8 @@ > main(int argc, char **argv) > { > >+ setlocale(LC_ALL, ""); >+ > if (getopt(argc, argv, "") != -1) > usage(); > argc -= optind;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 212087
: 173990