aboutsummaryrefslogtreecommitdiffstats
path: root/src/coding.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/coding.c')
-rw-r--r--src/coding.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/coding.c b/src/coding.c
index d027c7d5399..7030a53869a 100644
--- a/src/coding.c
+++ b/src/coding.c
@@ -10430,8 +10430,7 @@ encode_file_name (Lisp_Object fname)
10430 cause subtle bugs because the system would silently use a 10430 cause subtle bugs because the system would silently use a
10431 different filename than expected. Perform this check after 10431 different filename than expected. Perform this check after
10432 encoding to not miss NUL bytes introduced through encoding. */ 10432 encoding to not miss NUL bytes introduced through encoding. */
10433 CHECK_TYPE (memchr (SSDATA (encoded), '\0', SBYTES (encoded)) == NULL, 10433 CHECK_STRING_NULL_BYTES (encoded);
10434 Qfilenamep, fname);
10435 return encoded; 10434 return encoded;
10436} 10435}
10437 10436