]> git.eshelyaron.com Git - emacs.git/commit
Fix check for unsafe watch descriptor
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 13 Aug 2018 22:45:17 +0000 (15:45 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 13 Aug 2018 22:55:53 +0000 (15:55 -0700)
commit76101698a770d389f22b547c331ec78473040c47
tree411115b04cec15dcc216e67818080221dbdaecf5
parenteb787d749f28583906428269b926fa83aef092b9
Fix check for unsafe watch descriptor

* src/lisp.h (make_pointer_integer_unsafe): New function.
(make_pointer_integer): Use it.
* src/gfilenotify.c (dir_monitor_callback): Omit redundant eassert.
(Fgfile_add_watch): Signal an error instead of failing an
assertion if the pointer does not work.
src/gfilenotify.c
src/lisp.h