[m-rev.] diff: fix string_format test problems under cygwin

Fergus Henderson fjh at cs.mu.OZ.AU
Wed Dec 4 10:24:37 AEDT 2002


On 03-Dec-2002, Peter Ross <pro at missioncriticalit.com> wrote:
> fjh wrote:
> > On 02-Nov-2002, Peter Ross <pro at missioncriticalit.com> wrote:
> > > Fix a problem with the tests on a text mount under cygwin.  For some
> > > unknown reason, the .sorted_out file produced contains ^M's when using
> > > mmake.  They don't occur when creating the output from the shell prompt.
> >
> > If you are on a text-mode mount, then the output *should* contain ^M's,
> > shouldn't it?
>
> Here is a cut down diff the string_format_c.log reports:
> *** string_format_c.exp Tue Nov 19 10:42:27 2002
> --- string_format_c.sorted_out  Tue Dec  3 10:59:18 2002
> ***************
> *** 1,80 ****
> !         %c:' '
> --- 1,80 ----
> !         %c:' '^M

This says that the .sorted_out file contains ^M but the .exp file doesn't.
Probably this means that either
	(1) the .exp file is in Unix format
or	(2) the .sorted_out file contains *two* ^Ms.

Can you check which it is?

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list