develooper Front page | perl.perl5.porters | Postings from May 2009

Re: patch@2009-05-25.21:50:08 text-options.t file cleanup on VMS

Thread Previous
From:
John E. Malmberg
Date:
May 26, 2009 17:50
Subject:
Re: patch@2009-05-25.21:50:08 text-options.t file cleanup on VMS
Message ID:
4A1C8E2C.10507@qsl.net
Craig A. Berry wrote:
<snip>
> The other thing I usually have to do with John's patches to get
> git-apply to swallow them is convert the DOS line endings to Unix,

The patches leave my system as stream-lf format generated by GNV.  The 
older Mozilla on VMS would not accept any other format.

To non-VMS people, stream-lf is plain text with Unix line endings.

> and
> if I want to avoid the warnings about "whitespace errors" I manually
> remove trailing whitespace from the changed lines (but it looks like I
> should be using --whitespace=fix).  If there are offsets and/or fuzz,
> you pretty much have to abandon git and use GNU patch, then commit
> with --author.

While my editor by default trims trailing spaces, I usually have that 
turned that off since so many modules in Perl have trailing spaces. 
Occasionally after a power failure, I forget to reset the editor.

> Keep the patches coming, John -- we'll figure out how to get them in
> (but obviously the cleaner the better).

I think I have all the major things (Filename Unix Report mode) that I 
would like to see in the next Perl/VMS right now in the various queues 
waiting to make it into blead, so I have slowed down.  As I find time, I 
would like to fix up some stuff left behind from the tests.

I want to find a place in the test harness where I can snapshot a list 
of files in the current working directory, my home directory, the temp 
directory, and process logical names to make sure that tests do not 
leave extra ones behind, but I am looking at perl-next as an 
implementation time.

-John
wb8tyw@qsl.net
Personal Opinion Only

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About