<div dir="auto">Re the proposed patch to try to avoid access calls on arguments that contain just a single dot (changing the code to look for ".."):<div dir="auto"><br></div><div dir="auto">There are no filenames with any dots in the zoneinfo tree produced from an unmodified tz distribution. So whether or not access is called, there will be one system call for a dot-containing argument; either access or open will fail and no further calls will be made. Avoiding the access call doesn't save a system call.</div><div dir="auto"><br></div><div dir="auto">(Looking for ".." rather than "." will save a call on customized systems that put dot-containing names in the zoneinfo tree.)</div><div dir="auto"><br></div><div dir="auto">    @dashdashado</div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Oct 29, 2018, 11:47 AM Paul Eggert <<a href="mailto:eggert@cs.ucla.edu">eggert@cs.ucla.edu</a> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 10/28/18 9:23 PM, Paul Eggert wrote:<br>
> 'zdump New_York' is treated differently from 'zdump ./New_York'. It <br>
> might make sense for the code to try harder to treat only ".." <br>
> components differently.<br>
<br>
I installed the attached first patch to try to do that. The second <br>
attached patch silences a warning when running "make <br>
CFLAGS='$(GCC_DEBUG_FLAGS)' GCC_INSTRUMENT=" on my platform (I updated <br>
GCC recently).<br>
<br>
</blockquote></div>