# HG changeset patch # User Stefan Monnier # Date 1020128562 0 # Node ID 7a00556be3cec3ab9b5e28560f89121920b05653 # Parent 07245ba4ebcca5c523a427c38103b166c3a4a114 (x_create_bitmap_from_file, x_find_image_file): Update call to openp. diff -r 07245ba4ebcc -r 7a00556be3ce src/macfns.c --- 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; diff -r 07245ba4ebcc -r 7a00556be3ce src/w32fns.c --- 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; diff -r 07245ba4ebcc -r 7a00556be3ce src/xfns.c --- 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;