FreeBSD Bugzilla – Attachment 173963 Details for
Bug 212070
sbin/bsdlabel - 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-bsdlabel.txt (text/plain), 469 bytes, created by
Sevan Janiyan
on 2016-08-23 04:50:13 UTC
(
hide
)
Description:
call setlocale()
Filename:
MIME Type:
Creator:
Sevan Janiyan
Created:
2016-08-23 04:50:13 UTC
Size:
469 bytes
patch
obsolete
>Index: sbin/bsdlabel/bsdlabel.c >=================================================================== >--- sbin/bsdlabel/bsdlabel.c (revision 304656) >+++ sbin/bsdlabel/bsdlabel.c (working copy) >@@ -66,6 +66,7 @@ > #define MAXPARTITIONS 20 > #include <sys/disklabel.h> > >+#include <locale.h> > #include <unistd.h> > #include <string.h> > #include <stdio.h> >@@ -145,6 +146,8 @@ > int ch, error, fd; > const char *name; > >+ setlocale(LC_ALL, ""); >+ > error = 0; > name = NULL; >
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 212070
: 173963