Hi Ken, > > Yes. sendmail had to be run as /usr/lib/sendmail IIRC, so not in > > PATH normally ... > So I really can't justify (or coherently explain) why one invocation > of sendmail uses execvp() and the other does not.
Yes, I'm not arguing that PATH shouldn't be used today, I'm just remembering how it didn't used to be in PATH and so code written back then wouldn't bother searching it. Later code could expect to find it under PATH as it moved. And there would have been a time when it differed between Unixes, thus things like Perl's metaconf adding /usr/lib to the PATH when a-hunting. https://github.com/Perl/metaconfig/blob/ilmari/rewritten-history/dist/U/Loc.U#L218 -- Cheers, Ralph. https://plus.google.com/+RalphCorderoy -- nmh-workers https://lists.nongnu.org/mailman/listinfo/nmh-workers
