-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Suraj N. Kurapati wrote:
> I'm proud to present this patch which enables the use of unique
> client ID numbers instead of relative position indices in the
> wmii-3.1 file system.
In case you are wondering why the order of clients in a column is
not represented in the output of `wmiir read ...`, the reason is
that wmiir sorts the output before printing it.
If you disable this sorting behavior, as shown below, then you will
once again see the ordering of client IDs in the wmiir output.
Cheers.
- --- wmii-3.1.orig/cmd/wmiir.c 2006-06-17 04:44:30.000000000 -0700
+++ wmii-3.1/cmd/wmiir.c 2006-09-09 00:59:14.000000000 -0700
@@ -150,7 +150,7 @@
p = ixp_unpack_stat(p, &dir[i++]);
}
while(p - result < msize);
- - qsort(dir, n, sizeof(Stat), comp_stat);
+ //qsort(dir, n, sizeof(Stat), comp_stat);
for(i = 0; i < n; i++) {
fprintf(stdout, "%s %s %s %5llu %s %s\n",
str_of_mode(dir[i].mode),
dir[i].uid, dir[i].gid, dir[i].length,
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
iD8DBQFFAnUwmV9O7RYnKMcRAo/YAKChDsRlJs0A/nRYX7JhC16Tr8gxtQCfbfM+
vbPgUPMQawq5pgZbJMvyrJg=
=jgM2
-----END PGP SIGNATURE-----
Received on Sat Sep 09 2006 - 10:04:08 UTC
This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 16:13:32 UTC