(absolute_filename): Use absolutefn.

This commit is contained in:
Richard M. Stallman 1996-04-02 15:39:19 +00:00
parent 13f8accb34
commit b4bcc0c4a8

View file

@ -4425,7 +4425,7 @@ absolute_filename (file, cwd)
cp = slashp;
do
cp--;
while (cp >= res && *cp != '/');
while (cp >= res && !absolutefn (cp));
if (*cp == '/')
{
strcpy (cp, slashp + 3);