FreeBSD Bugzilla – Attachment 173782 Details for
Bug 211941
bin/setfacl - 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-setfacl.txt (text/plain), 528 bytes, created by
Sevan Janiyan
on 2016-08-17 12:38:32 UTC
(
hide
)
Description:
call setlocale()
Filename:
MIME Type:
Creator:
Sevan Janiyan
Created:
2016-08-17 12:38:32 UTC
Size:
528 bytes
patch
obsolete
>Index: bin/setfacl/setfacl.c >=================================================================== >--- bin/setfacl/setfacl.c (revision 304289) >+++ bin/setfacl/setfacl.c (working copy) >@@ -35,6 +35,7 @@ > > #include <err.h> > #include <errno.h> >+#include <locale.h> > #include <stdio.h> > #include <stdlib.h> > #include <string.h> >@@ -112,6 +113,8 @@ > char *end; > struct stat sb; > >+ setlocale(LC_ALL, ""); >+ > acl_type = ACL_TYPE_ACCESS; > carried_error = local_error = 0; > h_flag = have_mask = have_stdin = n_flag = need_mask = 0;
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 211941
: 173782