pike.git/
lib/
master.pike.in
Branch:
Tag:
Non-build tags
All tags
No tags
2008-03-20
2008-03-20 15:03:07 by Henrik Grubbström (Grubba) <grubba@grubba.org>
58eb132f6b0d594e4203630b4f67c725b55210b1 (
9
lines) (+
8
/-
1
)
[
Show
|
Annotate
]
Branch:
7.9
Module filenames should now be encoded according to UTF-8.
Rev: lib/master.pike.in:1.413
6:
// Pike is distributed under GPL, LGPL and MPL. See the file COPYING // for more information. //
-
// $Id: master.pike.in,v 1.
412
2008/
02
/
28
18
:
18
:
28
grubba Exp $
+
// $Id: master.pike.in,v 1.
413
2008/
03
/
20
15
:
03
:
07
grubba Exp $
#pike __REAL_VERSION__ //#pragma strict_types
1508:
static string base_from_filename(string fname) { string low_name = FIX_CASE(fname);
+
catch {
+
// FIXME: Warn on failure?
+
low_name = utf8_to_string(low_name);
+
// FIXME: MacOS X/HFS uses decomposed Unicode by default.
+
// Use Unicode.normalize(low_name, "NFC") to fix.
+
};
if (has_prefix(low_name, ".#")) return 0; if (has_suffix(low_name, ".pike") || has_suffix(low_name, ".pmod")) {