projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5af8387
)
Add a string check to delete-file-internal.
author
Eric S. Raymond
<esr@thyrsus.com>
Wed, 9 Aug 2023 04:02:22 +0000
(
00:02
-0400)
committer
Eric S. Raymond
<esr@thyrsus.com>
Wed, 9 Aug 2023 04:02:51 +0000
(
00:02
-0400)
* src/fileio.c (delete-file-internal): Argument should be a string.
src/fileio.c
patch
|
blob
|
history
diff --git
a/src/fileio.c
b/src/fileio.c
index 4c00f1e5ff4dfb6621cbf6114b01e98bccf6d8c7..14e39445efadf53855d74ba696e11e6cc912ce1f 100644
(file)
--- a/
src/fileio.c
+++ b/
src/fileio.c
@@
-2592,6
+2592,7
@@
If file has multiple names, it continues to exist with the other names. */)
{
Lisp_Object encoded_file;
+ CHECK_STRING (filename);
filename = Fexpand_file_name (filename, Qnil);
encoded_file = ENCODE_FILE (filename);