Commit 1b47babd authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

Minor change in variable name in inotify.c.

 src/inotify.c (Finotify_add_watch): Rename decoded_file_name to
 encoded_file_name, which is what it is.
parent d46d2d3a
2012-12-11 Eli Zaretskii <eliz@gnu.org>
* inotify.c (Finotify_add_watch): Rename decoded_file_name to
encoded_file_name, which is what it is.
2012-12-11 Dmitry Antipov <dmantipov@yandex.ru>
Consistently use marker_position and marker_byte_position.
......
......@@ -325,7 +325,7 @@ is managed internally and there is no corresponding inotify_init. Use
{
uint32_t mask;
Lisp_Object watch_object;
Lisp_Object decoded_file_name;
Lisp_Object encoded_file_name;
Lisp_Object watch_descriptor;
int watchdesc = -1;
......@@ -345,8 +345,8 @@ is managed internally and there is no corresponding inotify_init. Use
}
mask = aspect_to_inotifymask (aspect);
decoded_file_name = ENCODE_FILE (file_name);
watchdesc = inotify_add_watch (inotifyfd, SSDATA (decoded_file_name), mask);
encoded_file_name = ENCODE_FILE (file_name);
watchdesc = inotify_add_watch (inotifyfd, SSDATA (encoded_file_name), mask);
if (watchdesc == -1)
report_file_error ("Could not add watch for file", Fcons (file_name, Qnil));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment