~ubuntu-branches/ubuntu/intrepid/ecl/intrepid

« back to all changes in this revision

Viewing changes to src/c/unixfsys.d

  • Committer: Bazaar Package Importer
  • Author(s): Peter Van Eynde
  • Date: 2006-07-02 00:20:00 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20060702002000-8bn170vd0qpx7to8
Tags: 0.9i-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
187
187
                        FEcannot_open(orig_pathname);
188
188
#ifdef HAVE_LSTAT
189
189
                } else if (kind == @':link') {
190
 
                        filename = si_readlink(filename);
 
190
                        /* The link might be a relative pathname. In that case we have
 
191
                         * to merge with the original pathname */
 
192
                        filename = cl_merge_pathnames(2, si_readlink(filename),
 
193
                                                      make_pathname(Cnil, Cnil,
 
194
                                                                    cl_pathname_directory(1,filename),
 
195
                                                                    Cnil, Cnil, Cnil));
191
196
#endif
192
197
                } else {
193
198
                        filename = OBJNULL;