home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / gnu / lucid / bug-lucid-emacs / text0039.txt < prev    next >
Encoding:
Text File  |  1993-07-04  |  461 b   |  23 lines

  1.  
  2. DEFUN ("make-symbolic-link"...) in fileio.c reads:
  3.       ...
  4.       if (errno == EEXIST)
  5.     {
  6.       unlink ((char *) XSTRING (filename)->data);
  7.       if (0 <= symlink ((char *) XSTRING (filename)->data,
  8.                 (char *) XSTRING (newname)->data))
  9.         return Qnil;
  10.     }
  11.        ...
  12.  
  13. I believe that the wrong file is "unlink"ed here,
  14. it should be:
  15.  
  16.           unlink ((char *) XSTRING (newname)->data);
  17.  
  18.  
  19. (Just lost some files because of this "feature"....)
  20.  
  21. Regards, Frank.
  22.  
  23.