Mercurial > hg > xemacs-beta
comparison src/text.h @ 2526:902d5bd9b75c
[xemacs-hg @ 2005-01-28 02:36:11 by ben]
Support symlinks under Windows
nt.c, fileio.c: Fix sync comments.
config.h.in, dired-msw.c, emacs.c, event-msw.c, fileio.c, glyphs.c, lisp.h, nt.c, process-nt.c, realpath.c, sound.c, symsinit.h, sysdep.c, sysfile.h, syswindows.h, win32.c: Add support for treating shortcuts under Windows as symbolic links.
Enabled with mswindows-shortcuts-are-links (t by default). Rewrite
lots of places to use PATHNAME_CONVERT_OUT, which is moved to
sysfile.h. Add PATHNAME_RESOLVE_LINKS, which only does things
under Windows.
Add profiling section for expand_file_name calls.
nt.c, sysdep.c: Unicode-ize.
realpath.c: Renamed from readlink_and_correct_case. Fix some problems with
Windows implementation due to incorrect understanding of workings
of the function.
sound.c, ntplay.c, sound.h: Rename play_sound_file to nt_play_sound_file and pass
internally-formatted data to it to avoid converting out and back
again.
text.h: is_c -> is_ascii.
author | ben |
---|---|
date | Fri, 28 Jan 2005 02:36:28 +0000 |
parents | 3d8143fc88e1 |
children | d30cd499e445 |
comparison
equal
deleted
inserted
replaced
2525:52f00344a629 | 2526:902d5bd9b75c |
---|---|
2389 | 2389 |
2390 /* ----- Comparison ----- */ | 2390 /* ----- Comparison ----- */ |
2391 | 2391 |
2392 int eicmp_1 (Eistring *ei, Bytecount off, Charcount charoff, | 2392 int eicmp_1 (Eistring *ei, Bytecount off, Charcount charoff, |
2393 Bytecount len, Charcount charlen, const Ibyte *data, | 2393 Bytecount len, Charcount charlen, const Ibyte *data, |
2394 const Eistring *ei2, int is_c, int fold_case); | 2394 const Eistring *ei2, int is_ascii, int fold_case); |
2395 | 2395 |
2396 #define eicmp_ei(eistr, eistr2) \ | 2396 #define eicmp_ei(eistr, eistr2) \ |
2397 eicmp_1 (eistr, 0, -1, -1, -1, 0, eistr2, 0, 0) | 2397 eicmp_1 (eistr, 0, -1, -1, -1, 0, eistr2, 0, 0) |
2398 #define eicmp_off_ei(eistr, off, charoff, len, charlen, eistr2) \ | 2398 #define eicmp_off_ei(eistr, off, charoff, len, charlen, eistr2) \ |
2399 eicmp_1 (eistr, off, charoff, len, charlen, 0, eistr2, 0, 0) | 2399 eicmp_1 (eistr, off, charoff, len, charlen, 0, eistr2, 0, 0) |