linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Update ash-port to NetBSD-1.6.1
@ 2004-07-15 10:06 Hannes Reinecke
  2004-07-15 16:31 ` [klibc] " H. Peter Anvin
  2004-07-16  7:19 ` Hannes Reinecke
  0 siblings, 2 replies; 3+ messages in thread
From: Hannes Reinecke @ 2004-07-15 10:06 UTC (permalink / raw)
  To: linux-hotplug

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

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.

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.patch.gz --]
[-- Type: application/x-gunzip, Size: 212472 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [klibc] Update ash-port to NetBSD-1.6.1
  2004-07-15 10:06 Update ash-port to NetBSD-1.6.1 Hannes Reinecke
@ 2004-07-15 16:31 ` H. Peter Anvin
  2004-07-16  7:19 ` Hannes Reinecke
  1 sibling, 0 replies; 3+ messages in thread
From: H. Peter Anvin @ 2004-07-15 16:31 UTC (permalink / raw)
  To: linux-hotplug

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.

I think it needs to be cut down in size to something closer to the original.

	-hpa


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_idG21&alloc_id\x10040&op=click
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [klibc] Update ash-port to NetBSD-1.6.1
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Hannes Reinecke @ 2004-07-16  7:19 UTC (permalink / raw)
  To: linux-hotplug

[-- 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 --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-07-16  7:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).