summaryrefslogtreecommitdiff
path: root/sys/isofs/udf
diff options
context:
space:
mode:
authorPedro Martelletto <pedro@cvs.openbsd.org>2005-03-30 01:10:01 +0000
committerPedro Martelletto <pedro@cvs.openbsd.org>2005-03-30 01:10:01 +0000
commitd3bf75089e069f2caea93471dc0db582bda248a4 (patch)
treef9935900d1fe80c813a9a5c78f7ceef4f3e5cae7 /sys/isofs/udf
parente66a312218b6d0be7728c42c2397bc0259a5e339 (diff)
Insert elucidative comment about what's going on.
Diffstat (limited to 'sys/isofs/udf')
-rw-r--r--sys/isofs/udf/udf_vnops.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/isofs/udf/udf_vnops.c b/sys/isofs/udf/udf_vnops.c
index 271bee6657b..bcd25c1d6f0 100644
--- a/sys/isofs/udf/udf_vnops.c
+++ b/sys/isofs/udf/udf_vnops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: udf_vnops.c,v 1.3 2005/03/30 00:37:13 pedro Exp $ */
+/* $OpenBSD: udf_vnops.c,v 1.4 2005/03/30 01:10:00 pedro Exp $ */
/*
* Copyright (c) 2001, 2002 Scott Long <scottl@freebsd.org>
@@ -494,6 +494,7 @@ udf_transname(char *cs0string, char *destname, int len, struct udf_mnt *udfmp)
return (0);
}
+ /* Pack it back to 8-bit Unicode. */
for (i = 0; i < unilen ; i++)
if (transname[i] & 0xff00)
destname[i] = '.'; /* Fudge the 16bit chars */