Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/ntfs argh, forgot to add the implementation of ntfs_u28()
details: https://anonhg.NetBSD.org/src/rev/dde67e6c1b2a
branches: trunk
changeset: 476088:dde67e6c1b2a
user: jdolecek <jdolecek%NetBSD.org@localhost>
date: Sun Sep 05 12:30:56 1999 +0000
description:
argh, forgot to add the implementation of ntfs_u28()
diffstat:
sys/ntfs/ntfs_subr.c | 16 +++++++++++++++-
1 files changed, 15 insertions(+), 1 deletions(-)
diffs (27 lines):
diff -r 48980a4693f3 -r dde67e6c1b2a sys/ntfs/ntfs_subr.c
--- a/sys/ntfs/ntfs_subr.c Sun Sep 05 12:17:22 1999 +0000
+++ b/sys/ntfs/ntfs_subr.c Sun Sep 05 12:30:56 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ntfs_subr.c,v 1.11 1999/09/04 22:12:15 augustss Exp $ */
+/* $NetBSD: ntfs_subr.c,v 1.12 1999/09/05 12:30:56 jdolecek Exp $ */
/*-
* Copyright (c) 1998, 1999 Semen Ustimenko (semenu%FreeBSD.org@localhost)
@@ -2012,3 +2012,17 @@
/* release the lock */
lockmgr(&ntfs_toupper_lock, LK_RELEASE, NULL);
}
+
+/*
+ * maps the Unicode char to 8bit equivalent
+ * XXX currently only gets lower 8bit from the Unicode char
+ * and substitutes a '_' for it if the result would be '\0';
+ * something better has to be definitely though out
+ */
+char
+ntfs_u28(unichar)
+ wchar unichar;
+{
+ return (char) NTFS_U28(unichar);
+}
+
Home |
Main Index |
Thread Index |
Old Index