diff options
| -rw-r--r-- | src/ChangeLog | 5 | ||||
| -rw-r--r-- | src/fileio.c | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 1ff5c7cedf4..5a67533e82b 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2003-05-16 Ralph Schleicher <rs@nunatak.allgaeu.org> (tiny change) | ||
| 2 | |||
| 3 | * fileio.c (Fdelete_file): Handle symlinks pointing to | ||
| 4 | directories. | ||
| 5 | |||
| 1 | 2003-05-15 Stefan Monnier <monnier@cs.yale.edu> | 6 | 2003-05-15 Stefan Monnier <monnier@cs.yale.edu> |
| 2 | 7 | ||
| 3 | * keyboard.c (apply_modifiers): Don't fill the other cache. | 8 | * keyboard.c (apply_modifiers): Don't fill the other cache. |
diff --git a/src/fileio.c b/src/fileio.c index cfaf5738a5e..c84298cdaf1 100644 --- a/src/fileio.c +++ b/src/fileio.c | |||
| @@ -2623,7 +2623,8 @@ If file has multiple names, it continues to exist with the other names. */) | |||
| 2623 | struct gcpro gcpro1; | 2623 | struct gcpro gcpro1; |
| 2624 | 2624 | ||
| 2625 | GCPRO1 (filename); | 2625 | GCPRO1 (filename); |
| 2626 | if (!NILP (Ffile_directory_p (filename))) | 2626 | if (!NILP (Ffile_directory_p (filename)) |
| 2627 | && NILP (Ffile_symlink_p (filename))) | ||
| 2627 | Fsignal (Qfile_error, | 2628 | Fsignal (Qfile_error, |
| 2628 | Fcons (build_string ("Removing old name: is a directory"), | 2629 | Fcons (build_string ("Removing old name: is a directory"), |
| 2629 | Fcons (filename, Qnil))); | 2630 | Fcons (filename, Qnil))); |