aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/samba
diff options
context:
space:
mode:
authorsada <sada@FreeBSD.org>2000-10-23 04:35:59 +0800
committersada <sada@FreeBSD.org>2000-10-23 04:35:59 +0800
commit990d42b48cb5225ef90072b0fe1ca9ae2ebdb2a1 (patch)
treeb75cf60063e31acf817057e8ac60ec3c673a6af3 /japanese/samba
parentf259cd08b0d3f6ec626291a9b5ba35a1a6565564 (diff)
downloadfreebsd-ports-gnome-990d42b48cb5225ef90072b0fe1ca9ae2ebdb2a1.tar.gz
freebsd-ports-gnome-990d42b48cb5225ef90072b0fe1ca9ae2ebdb2a1.tar.zst
freebsd-ports-gnome-990d42b48cb5225ef90072b0fe1ca9ae2ebdb2a1.zip
Make messages from ``smbclient -L'' to be in appropriate Japanese code
which is specified in ``smb.conf''. PR: ports/22214 Submitted by: Maintainer
Diffstat (limited to 'japanese/samba')
-rw-r--r--japanese/samba/files/patch-ca11
1 files changed, 11 insertions, 0 deletions
diff --git a/japanese/samba/files/patch-ca b/japanese/samba/files/patch-ca
new file mode 100644
index 000000000000..52eaec56c141
--- /dev/null
+++ b/japanese/samba/files/patch-ca
@@ -0,0 +1,11 @@
+--- client/client.c.orig Wed May 10 23:28:49 2000
++++ client/client.c Mon Oct 23 00:40:14 2000
+@@ -1577,7 +1577,7 @@
+ ****************************************************************************/
+ static void server_fn(const char *name, uint32 m, const char *comment)
+ {
+- printf("\t%-16.16s %s\n", name, comment);
++ printf("\t%-16.16s %s\n", unix_to_dos((char *)name, True), unix_to_dos((char *)comment, True));
+ }
+
+ /****************************************************************************