[Box Backup-dev] [PATCH] Win32 merge [02] BoxPlatform.pm and uname -p

Chris Wilson boxbackup-dev@fluffy.co.uk
Mon, 7 Aug 2006 22:15:24 +0100 (BST)


  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

---128931150-1182473555-1154985324=:28495
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed

Hi all,

On Mon, 7 Aug 2006, Martin Ebourne wrote:

> Chris Wilson <chris@qwirx.com> wrote:
>>  It seems that "uname -p", as used in BoxPlatform.pm.in, is not very
>>  portable. I'm not even sure what $build_cpu is used for, if anything,
>>  but "uname -m" should work better than "uname -p".
[...]
> Box isn't using the result of build_cpu so it doesn't matter a jot. 
> My guess is that it was used before autoconf (eg. I think for endianness - 
> which is generally a processor not architecture thing except on ppc) and it 
> was something I missed in the cleanup.
>
> So no to this version of the patch, please remove that code entirely.

Please review the attached patch. I have verified that $build_cpu is not 
used in any Perl script.

Cheers, Chris.
-- 
_ ___ __     _
  / __/ / ,__(_)_  | Chris Wilson <0000 at qwirx.com> - Cambs UK |
/ (_/ ,\/ _/ /_ \ | Security/C/C++/Java/Perl/SQL/HTML Developer |
\ _/_/_/_//_/___/ | We are GNU-free your mind-and your software |

---128931150-1182473555-1154985324=:28495
Content-Type: TEXT/PLAIN; charset=US-ASCII; name=bb-win32-merge-02-uname-p-v2.patch
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.LNX.4.62.0608072215240.28495@top.qwarx.com>
Content-Description: 
Content-Disposition: attachment; filename=bb-win32-merge-02-uname-p-v2.patch

SW5kZXg6IGluZnJhc3RydWN0dXJlL0JveFBsYXRmb3JtLnBtLmluDQo9PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09DQotLS0gaW5mcmFzdHJ1Y3R1cmUvQm94UGxh
dGZvcm0ucG0uaW4JKHJldmlzaW9uIDcxNykNCisrKyBpbmZyYXN0cnVjdHVy
ZS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