Re: Support building in a different directory on Solaris - Mailing list pgsql-patches

From Ian Lance Taylor
Subject Re: Support building in a different directory on Solaris
Date
Msg-id sipua37fxe.fsf@daffy.airs.com
Whole thread Raw
In response to Re: Support building in a different directory on Solaris  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Support building in a different directory on Solaris  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-patches
Tom Lane <tgl@sss.pgh.pa.us> writes:

> > The second is that /bin/find requires
> > an explicit -print when -o is used.
>
> This is a good change.  A lot of older "find"s don't provide a default
> -print action at all (-o or no -o), so writing -print is the portable
> way to use it.  I don't think you need two of them though.

Actually, you do, because of the -o.  The -print is an action which is
applied to files which match up to that point.  Actions are not
carried across -o, and actions found after a -o are not applied to
files matched before the -o.

If you have access to a Solaris system, try it.

Ian

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: Support building in a different directory on Solaris
Next
From: Tom Lane
Date:
Subject: Re: Support building in a different directory on Solaris