changeset 45009:7a00556be3ce

(x_create_bitmap_from_file, x_find_image_file): Update call to openp.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Tue, 30 Apr 2002 01:02:42 +0000
parents 07245ba4ebcc
children 138248fb3df1
files src/macfns.c src/w32fns.c src/xfns.c
diffstat 3 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/src/macfns.c	Tue Apr 30 01:02:26 2002 +0000
+++ b/src/macfns.c	Tue Apr 30 01:02:42 2002 +0000
@@ -539,7 +539,7 @@
     }
 
   /* Search bitmap-file-path for the file, if appropriate.  */
-  fd = openp (Vx_bitmap_file_path, file, "", &found, 0);
+  fd = openp (Vx_bitmap_file_path, file, "", &found, Qnil);
   if (fd < 0)
     return -1;
   /* LoadLibraryEx won't handle special files handled by Emacs handler.  */
@@ -5570,7 +5570,7 @@
   GCPRO2 (file_found, search_path);
 
   /* Try to find FILE in data-directory, then x-bitmap-file-path.  */
-  fd = openp (search_path, file, Qnil, &file_found, 0);
+  fd = openp (search_path, file, Qnil, &file_found, Qnil);
   
   if (fd < 0)
     file_found = Qnil;
--- a/src/w32fns.c	Tue Apr 30 01:02:26 2002 +0000
+++ b/src/w32fns.c	Tue Apr 30 01:02:42 2002 +0000
@@ -576,7 +576,7 @@
     }
 
   /* Search bitmap-file-path for the file, if appropriate.  */
-  fd = openp (Vx_bitmap_file_path, file, Qnil, &found, 0);
+  fd = openp (Vx_bitmap_file_path, file, Qnil, &found, Qnil);
   if (fd < 0)
     return -1;
   emacs_close (fd);
@@ -9454,7 +9454,7 @@
   GCPRO2 (file_found, search_path);
 
   /* Try to find FILE in data-directory, then x-bitmap-file-path.  */
-  fd = openp (search_path, file, Qnil, &file_found, 0);
+  fd = openp (search_path, file, Qnil, &file_found, Qnil);
   
   if (fd == -1)
     file_found = Qnil;
--- a/src/xfns.c	Tue Apr 30 01:02:26 2002 +0000
+++ b/src/xfns.c	Tue Apr 30 01:02:42 2002 +0000
@@ -649,7 +649,7 @@
     }
 
   /* Search bitmap-file-path for the file, if appropriate.  */
-  fd = openp (Vx_bitmap_file_path, file, Qnil, &found, 0);
+  fd = openp (Vx_bitmap_file_path, file, Qnil, &found, Qnil);
   if (fd < 0)
     return -1;
   emacs_close (fd);
@@ -6674,7 +6674,7 @@
   GCPRO2 (file_found, search_path);
 
   /* Try to find FILE in data-directory, then x-bitmap-file-path.  */
-  fd = openp (search_path, file, Qnil, &file_found, 0);
+  fd = openp (search_path, file, Qnil, &file_found, Qnil);
   
   if (fd == -1)
     file_found = Qnil;