From owner-freebsd-standards Thu Apr 25 21:13:13 2002 Delivered-To: freebsd-standards@freebsd.org Received: from rover.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id 8D65E37B425; Thu, 25 Apr 2002 21:13:03 -0700 (PDT) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.11.3/8.11.3) with ESMTP id g3Q4D0H94130; Thu, 25 Apr 2002 22:13:01 -0600 (MDT) (envelope-from imp@village.org) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.11.6/8.11.6) with ESMTP id g3Q4Cwb45510; Thu, 25 Apr 2002 22:12:58 -0600 (MDT) (envelope-from imp@village.org) Date: Thu, 25 Apr 2002 22:12:45 -0600 (MDT) Message-Id: <20020425.221245.99497735.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' From: "M. Warner Losh" 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> X-Mailer: Mew version 2.1 on Emacs 21.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-standards@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message: <20020426000849.C43192@espresso.q9media.com> Mike Barcroft writes: : M. Warner Losh 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