/[libtool]/libtool/libltdl/ltdl.c
ViewVC logotype

Diff of /libtool/libltdl/ltdl.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.167 by gary, Sun Jun 23 21:35:58 2002 UTC revision 1.168 by gary, Tue Jul 16 09:12:30 2002 UTC
# Line 1910  tryall_dlopen (handle, filename) Line 1910  tryall_dlopen (handle, filename)
1910    cur = *handle;    cur = *handle;
1911    if (filename)    if (filename)
1912      {      {
1913          /* We need to catch missing file errors early so that
1914             file_not_found() can detect what happened. */
1915          if (access (filename, R_OK) != 0)
1916            {
1917              LT_DLMUTEX_SETERROR (LT_DLSTRERROR (FILE_NOT_FOUND));
1918              ++errors;
1919              goto done;
1920            }
1921    
1922        cur->info.filename = lt_estrdup (filename);        cur->info.filename = lt_estrdup (filename);
1923        if (!cur->info.filename)        if (!cur->info.filename)
1924          {          {

Legend:
Removed from v.1.167  
changed lines
  Added in v.1.168

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26