FreeBSD Bugzilla – Attachment 173989 Details for
Bug 212086
sbin/comcontrol - 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-comcontrol.txt (text/plain), 528 bytes, created by
Sevan Janiyan
on 2016-08-24 03:21:06 UTC
(
hide
)
Description:
call setlocale()
Filename:
MIME Type:
Creator:
Sevan Janiyan
Created:
2016-08-24 03:21:06 UTC
Size:
528 bytes
patch
obsolete
>Index: sbin/comcontrol/comcontrol.c >=================================================================== >--- sbin/comcontrol/comcontrol.c (revision 304713) >+++ sbin/comcontrol/comcontrol.c (working copy) >@@ -32,6 +32,7 @@ > #include <ctype.h> > #include <err.h> > #include <errno.h> >+#include <locale.h> > #include <fcntl.h> > #include <stdio.h> > #include <stdlib.h> >@@ -58,6 +59,8 @@ > int print_dtrwait = 1, print_drainwait = 1; > int dtrwait = -1, drainwait = -1; > >+ setlocale(LC_ALL, ""); >+ > if (argc < 2) > usage(); >
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 212086
: 173989