Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1:kernel-2.6.32
libgnome
libgnome-pixmaps.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libgnome-pixmaps.patch of Package libgnome
diff -ruN libgnome-2.2.0.1/libgnome/gnome-program.c libgnome-n/libgnome/gnome-program.c --- libgnome-2.2.0.1/libgnome/gnome-program.c Thu Feb 13 14:20:27 2003 +++ libgnome-n/libgnome/gnome-program.c Thu Feb 13 15:27:14 2003 @@ -996,16 +996,21 @@ ADD_FILENAME (fnbuf); } } - if (retval != NULL && ret_locations == NULL) + if (retval != NULL && ret_locations == NULL ) goto out; /* Now check the GNOME_PATH. */ for (ptr = program->_priv->gnome_path; search_path && ptr && *ptr; ptr++) { g_snprintf (fnbuf, sizeof (fnbuf), "%s%s/%s", *ptr, prefix_rel, file_name); +/* printf("%s%s/%s",*ptr,prefix_rel, file_name); */ - if (!only_if_exists || g_file_test (fnbuf, G_FILE_TEST_EXISTS)) - ADD_FILENAME (fnbuf); + if (!only_if_exists || g_file_test (fnbuf, G_FILE_TEST_EXISTS)) + { ADD_FILENAME (fnbuf); } else { + g_snprintf (fnbuf, sizeof (fnbuf), "%s/%s", + *ptr,file_name); + if (!only_if_exists || g_file_test (fnbuf, G_FILE_TEST_EXISTS)) + ADD_FILENAME (fnbuf); } } if (retval && !ret_locations) goto out;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor