generate a special message for it. Suggested by Eli Zaretskii in
<http://lists.gnu.org/archive/html/emacs-devel/2011-02/msg00995.html>.
2011-02-25 Paul Eggert <eggert@cs.ucla.edu>
Simplify symlink portability workaround.
+ * fileio.c (Fmake_symbolic_link): Treat ENOSYS specially, and
+ generate a special message for it. Suggested by Eli Zaretskii in
+ <http://lists.gnu.org/archive/html/emacs-devel/2011-02/msg00995.html>.
* config.in: Regenerate.
* dired.c (Ffile_attributes): Increase size of modes from 10 to 12
return Qnil;
}
}
+ if (errno == ENOSYS)
+ {
+ UNGCPRO;
+ xsignal1 (Qfile_error,
+ build_string ("Symbolic links are not supported"));
+ }
report_file_error ("Making symbolic link", list2 (filename, linkname));
}