Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Apr 2002 22:12:45 -0600 (MDT)
From:      "M. Warner Losh" <imp@village.org>
To:        mike@FreeBSD.ORG
Cc:        drosih@rpi.edu, arch@FreeBSD.ORG, freebsd-standards@FreeBSD.ORG
Subject:   Re: diff & patch problem with 'No newline'
Message-ID:  <20020425.221245.99497735.imp@village.org>
In-Reply-To: <20020426000849.C43192@espresso.q9media.com>
References:  <20020425210035.A43192@espresso.q9media.com> <20020425.202217.82927028.imp@village.org> <20020426000849.C43192@espresso.q9media.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <20020426000849.C43192@espresso.q9media.com>
            Mike Barcroft <mike@FreeBSD.ORG> writes:
: M. Warner Losh <imp@village.org> writes:
: > There's lots of software (well, OK, subversion) that depends on the
: > old, historical behavior.  The historical behavior of diff has been to
: > include the "this file doesn't end with a newline" message, not what
: > FreeBSD hacked it to do.
: 
: Perhaps the people working on Subversion still have time to fix that
: designo before too many people start using it.  Solaris 2.5.1, for
: instance, returns "Warning: missing newline at end of file" on stderr
: for this condition.

Subversion already powers through this by forcing the user to install
gnu diff.

What does POSIX.1 say about this matter?

Warner

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-standards" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020425.221245.99497735.imp>