[svn] GnuPG - r4817 - trunk

Chuck Swiger cswiger at mac.com
Wed Aug 27 18:26:47 CEST 2008


Howdy--

On Aug 27, 2008, at 6:55 AM, Werner Koch wrote:
> On Wed, 27 Aug 2008 07:58, cvs at cvs.gnupg.org said:
>> * configure.ac: Darwin's /bin/sh has a builtin echo that doesn't
>> understand '-n'.  Use tr to trim the carriage return instead.
>
> David, it seems that you are using Darwin as the development platform.
> Although GnuPG should be buildable on any POSIX alike system, I doubt
> that we should start to fix all the small glitches that Apple  
> introduced
> in their OS again.

Glitches in Bash?  After all, Darwin is using Bash as /bin/sh;  
specifically 2.05b.0(1)-release for Darwin 8 (corresponding with OS X  
10.4) or 3.2.17(1)-release for Darwin 9 aka 10.5...

> In this particular case we may better replace echo(1) by printf(1) as
> suggested by POSIX to overcome the problems with echo(1).  Does Darwin
> feature a printf(1) as required by POSIX 2001?

Yes, in /usr/bin and/or as a shell builtin.

Regards,
-- 
-Chuck




More information about the Gnupg-devel mailing list