FreeBSD Bugzilla – Attachment 173747 Details for
Bug 211912
bin/ln - 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-ln.txt (text/plain), 528 bytes, created by
Sevan Janiyan
on 2016-08-16 17:17:53 UTC
(
hide
)
Description:
call setlocale()
Filename:
MIME Type:
Creator:
Sevan Janiyan
Created:
2016-08-16 17:17:53 UTC
Size:
528 bytes
patch
obsolete
>Index: bin/ln/ln.c >=================================================================== >--- bin/ln/ln.c (revision 304164) >+++ bin/ln/ln.c (working copy) >@@ -47,6 +47,7 @@ > #include <err.h> > #include <errno.h> > #include <fcntl.h> >+#include <locale.h> > #include <libgen.h> > #include <limits.h> > #include <stdio.h> >@@ -75,6 +76,8 @@ > char *p, *targetdir; > int ch, exitval; > >+ setlocale(LC_ALL, ""); >+ > /* > * Test for the special case where the utility is called as > * "link", for which the functionality provided is greatly
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 211912
: 173747