Don't use 'make-temp-file', fixes FFI/PUI.
authorSteve Youngs <steve@sxemacs.org>
Sun, 29 May 2016 01:03:24 +0000 (11:03 +1000)
committerSteve Youngs <steve@sxemacs.org>
Sun, 29 May 2016 01:03:24 +0000 (11:03 +1000)
commita893cff0ab51590058c9dd8a3afc594115dc5276
tree987e28ed71f71efdae4fffc466861b995d05177a
parent751bdf6e4f2b0ddf965dd8108f3838f8e470c4e8
Don't use 'make-temp-file', fixes FFI/PUI.

* lisp/ffi/ffi-curl.el (curl:file-exists-p): Use 'make-temp-name'
instead of 'make-temp-file' which may not be available.
(curl:insert-file-contents-literally): Ditto.
(curl:download): #'expand-file-name on the PREFIX arg of
'make-temp-name' so it attempts to avoid name collision.

Signed-off-by: Steve Youngs <steve@sxemacs.org>
lisp/ffi/ffi-curl.el