[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[search path] behavior difference.
From: |
serge |
Subject: |
[search path] behavior difference. |
Date: |
Fri, 20 Sep 2013 19:33:14 +0200 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 |
hello
There is a difference in the way "search path" is handle between
m4-1.4.2 and m4-1.4.14.
- With m4-1.4.2 each m4 file that is include will be search by
default in the current path and each path include by -I option.
- With m4-1.14 only the first m4 file will be search in current and
path include by -I option, all other m4 file will be search in the path
match by the first include m4 file.
It's like there is some path cache in operation somewhere.
DEBIAN-SARGE: strace -e trace=open m4 -DconfOLEANE_OS=linux -I../
-I/usr/share/sendmail-dev/cf/ m4/cf.m4 cluster/mx-daemon.mc >
cluster/mx-daemon.cf
open("m4/cf.m4", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("../m4/cf.m4", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/usr/share/sendmail-dev/cf/m4/cf.m4", O_RDONLY) = 3
open("feature/oleane-name.m4", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("../feature/oleane-name.m4", O_RDONLY) = 4
DEBIAN-SQUEEZE:strace -e trace=open m4 -DconfOLEANE_OS=linux -I../
-I/usr/share/sendmail-dev/cf/ m4/cf.m4 cluster/mx-daemon.mc >
cluster/mx-daemon.cf
open("m4/cf.m4", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("../m4/cf.m4", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/usr/share/sendmail-dev/cf/m4/cf.m4", O_RDONLY) = 3
open("/usr/share/sendmail-dev/cf/feature/oleane-name.m4", O_RDONLY) = -1
ENOENT (No such file or directory)
A+
-- Serge ABIDAL - address@hidden
Orange Business Services FT/SCE/CSO/ITD/DIH/CIE/SSP
13 rue de Javael 75015 Paris
tel. (33) 1 53 95 11 23
- [search path] behavior difference.,
serge <=