Mercurial > hg > xemacs-beta
comparison src/fileio.c @ 4465:732b87cfabf2
Document Win32 symlink behaviour; adjust tests to take it into a/c.
src/ChangeLog addition:
2008-05-21 Aidan Kehoe <kehoea@parhasard.net>
* fileio.c (Fmake_symbolic_link):
Document behaviour when the underlying OS doesn't support symbolic
links.
tests/ChangeLog addition:
2008-05-21 Aidan Kehoe <kehoea@parhasard.net>
* automated/mule-tests.el (featurep):
Make sure that working symlinks are available before testing
their functionality.
Also, don't bomb out on deleting the other temporary files if
deleting the first threw an error.
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Wed, 21 May 2008 16:55:14 +0200 |
parents | 1e04b9c8125b |
children | eb82259f265d |
comparison
equal
deleted
inserted
replaced
4464:61aff09a7589 | 4465:732b87cfabf2 |
---|---|
2197 Make a symbolic link to FILENAME, named LINKNAME. Both args strings. | 2197 Make a symbolic link to FILENAME, named LINKNAME. Both args strings. |
2198 Signals a `file-already-exists' error if a file LINKNAME already exists | 2198 Signals a `file-already-exists' error if a file LINKNAME already exists |
2199 unless optional third argument OK-IF-ALREADY-EXISTS is non-nil. | 2199 unless optional third argument OK-IF-ALREADY-EXISTS is non-nil. |
2200 A number as third arg means request confirmation if LINKNAME already exists. | 2200 A number as third arg means request confirmation if LINKNAME already exists. |
2201 This happens for interactive use with M-x. | 2201 This happens for interactive use with M-x. |
2202 | |
2203 On platforms where symbolic links are not available, any file handlers will | |
2204 be run, but the check for the existence of LINKNAME will not be done, and | |
2205 the symbolic link will not be created. | |
2202 */ | 2206 */ |
2203 (filename, linkname, ok_if_already_exists)) | 2207 (filename, linkname, ok_if_already_exists)) |
2204 { | 2208 { |
2205 /* This function can GC. GC checked 1997.06.04. */ | 2209 /* This function can GC. GC checked 1997.06.04. */ |
2206 /* XEmacs change: run handlers even if local machine doesn't have symlinks */ | 2210 /* XEmacs change: run handlers even if local machine doesn't have symlinks */ |