[postgis-devel] Testing astyle rule

Paul Ramsey pramsey at cleverelephant.ca
Thu Jan 28 11:52:39 PST 2010


astyle --style=ansi --indent=tab --suffix=none

to avoid creating .orig files on modified files

P

On Thu, Jan 28, 2010 at 11:51 AM, Paul Ramsey <pramsey at cleverelephant.ca> wrote:
> Mark, don't you find that you can run
>
> astyle --style=ansi --indent=tab <list of files>
>
> and have it both (a) not alter files that need to be altered and
> (b) leave .orig files hanging around afterwards?
> Your approach seems to be making a modification to the file metadata
> at a minimum, (atime? mtime?) even when there's no content change.
> P.
>
> On Thu, Jan 28, 2010 at 11:47 AM, Paul Ramsey <pramsey at cleverelephant.ca> wrote:
>> I'd say so... when I ran it here, I had about 1/2 coming out modified
>> (which was still, to my mind, a little high, since I ran every file at
>> the 1.4 release time)
>>
>> P
>>
>> On Thu, Jan 28, 2010 at 11:44 AM, strk <strk at keybit.net> wrote:
>>> Just for testing, I fetched current trunk (r5177)
>>> and run 'make astyle'.
>>>
>>> Now, is the fact that *every* file results modified
>>> a sign of something not working as expected ?
>>>
>>> --strk;
>>>
>>>  ()   Free GIS & Flash consultant/developer
>>>  /\   http://foo.keybit.net/~strk/services.html
>>> _______________________________________________
>>> postgis-devel mailing list
>>> postgis-devel at postgis.refractions.net
>>> http://postgis.refractions.net/mailman/listinfo/postgis-devel
>>>
>>
>



More information about the postgis-devel mailing list