Re: libparted and libstore

2001-03-26 Thread Roland McGrath
> Roland, as you have suggested, I have taken a look at using libparted > in libstore. This seems reasonable to do, however, it has two main > drawback: it is huge, which is to say, we want to read a partition table > (libparted does a lot of checks) and we do not really care about creating > oth

Re: [PATCH] libports / libdiskfs -- weak aliases

2001-03-26 Thread Roland McGrath
Can you separate your miscellaneous fixes from the weak symbol stuff? In general, please separate logically separable changes and post them separately. Then we can easily check in your various small fixes before addressing the whole weak symbol quagmire. And even if we were to decide to commit

dead files: libports

2001-03-26 Thread Neal H Walfield
As indicated in the ChangeLog: Mon May 6 16:33:55 1996 Michael I. Bushnell, p/BSG <[EMAIL PROTECTED]> * ports.h (ports_allocate_port, ports_intern_external_port): Delete obsolete declarations. * allocate-port.c, intern-external-port.c: Delete files. * Ma

weak aliases

2001-03-26 Thread Neal H Walfield
If I turn functions into weak aliases to other functions, all works fine until I reboot and get the following: ... ext2fs.static initmemory_object_data_request (0x0, 0x0, 0xf6000, 0x1000, 0x1) failed, 268435459. What I am trying to do exactly is to convert the public functions in libports into w

[PATCH] No secondary ids

2001-03-26 Thread Neal H Walfield
idvec_merge_implied_gids (a part of libshouldbeinlibc) only merges in primary ids and not secondary ids as it should. This patch corrects that. The following is a test program showing what happened before and after: #define _GNU_SOURCE 1 #include #include #include int main (int argc, char *

[PATCH] proc

2001-03-26 Thread Neal H Walfield
General return value checks, documentation fixes etc. diff -urN hurd-20010307-snapshot/proc/ChangeLog hurd-20010313/proc/ChangeLog --- hurd-20010307-snapshot/proc/ChangeLog Fri Mar 17 11:36:33 2000 +++ hurd-20010313/proc/ChangeLogMon Mar 26 20:57:24 2001 @@ -1,3 +1,48 @@ +2001-03-25

libparted and libstore

2001-03-26 Thread Neal H Walfield
Roland, as you have suggested, I have taken a look at using libparted in libstore. This seems reasonable to do, however, it has two main drawback: it is huge, which is to say, we want to read a partition table (libparted does a lot of checks) and we do not really care about creating other partiti

[PATCH] libports / libdiskfs -- weak aliases

2001-03-26 Thread Neal H Walfield
I have cleaned up the code in libports a bit and, most significantly, I have renamed all the public functions from x to _x and created weak aliases from _x to x. This allows other libraries to wrap or override functions in libports as is currently attempted by libdiskfs in dead-name.c (ports_dead