All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hannes Reinecke <hare@suse.de>
To: linux-hotplug@vger.kernel.org
Subject: Re: [klibc] Update ash-port to NetBSD-1.6.1
Date: Fri, 16 Jul 2004 07:19:25 +0000	[thread overview]
Message-ID: <40F7817D.8050001@suse.de> (raw)
In-Reply-To: <40F6571F.8070500@suse.de>

[-- Attachment #1: Type: text/plain, Size: 1617 bytes --]

H. Peter Anvin wrote:
> Hannes Reinecke wrote:
> 
>> Hi all,
>>
>> this patch updates the ash-port of klibc to that one found in 
>> NetBSD-1.6.1 instead of the horribly old one currently used. It's a 
>> bit longish (appearently there has been some work done between 1993 
>> and today), but now it's even useable on 64-bit systems :-).
>> Plus I've added some nice-to-have builtins, e.g. printf.
>>
> 
> I have received at least one contribution for this, but it nearly 
> doubles the size of what is already the largest binary, by far, in the 
> klibc distribution, almost three times the size of the library itself.
> 
Yep, I know ('twas from Olaf Hering, right ?). Nevertheless, both should 
be close if not identical.

> I think it needs to be cut down in size to something closer to the 
> original.
> 
Ok, I've stripped the new ash of all new features, so that now the old 
and the new version are identical in respect to the supported commands.
Only two minor things:
- 'type' is a new command (that was too ingrained within the shell 
itself so it couldn't readily stripped out)
- 'lc' is gone (I've no idea what it did in the first place, so it 
should not be a big deal)

Doesn't help much with the patch, though; uncompressed it's still some 
600k. Nevertheless this update should be done as the old ash wasn't even 
64-bit clean.

And it would cut down our patch-list for klibc by quite a bit :-)

Cheers,

Hannes
-- 
Dr. Hannes Reinecke			hare@suse.de
SuSE Linux AG				S390 & zSeries
Maxfeldstraße 5				+49 911 74053 688
90409 Nürnberg				http://www.suse.de

[-- Attachment #2: klibc-0.148-ash-update-2.patch.gz --]
[-- Type: application/x-gunzip, Size: 171362 bytes --]

      parent reply	other threads:[~2004-07-16  7:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-15 10:06 Update ash-port to NetBSD-1.6.1 Hannes Reinecke
2004-07-15 16:31 ` [klibc] " H. Peter Anvin
2004-07-16  7:19 ` Hannes Reinecke [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=40F7817D.8050001@suse.de \
    --to=hare@suse.de \
    --cc=linux-hotplug@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.