FreeBSD Bugzilla – Attachment 173771 Details for
Bug 211934
bin/mv - 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-mv.txt (text/plain), 469 bytes, created by
Sevan Janiyan
on 2016-08-17 10:47:53 UTC
(
hide
)
Description:
call setlocale()
Filename:
MIME Type:
Creator:
Sevan Janiyan
Created:
2016-08-17 10:47:53 UTC
Size:
469 bytes
patch
obsolete
>Index: bin/mv/mv.c >=================================================================== >--- bin/mv/mv.c (revision 304289) >+++ bin/mv/mv.c (working copy) >@@ -56,6 +56,7 @@ > #include <errno.h> > #include <fcntl.h> > #include <grp.h> >+#include <locale.h> > #include <limits.h> > #include <paths.h> > #include <pwd.h> >@@ -87,6 +88,8 @@ > int ch; > char path[PATH_MAX]; > >+ setlocale(LC_ALL, ""); >+ > while ((ch = getopt(argc, argv, "fhinv")) != -1) > switch (ch) { > case 'h':
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 211934
: 173771