[hackers] [wmii] Fixed readdir.

From: Kris Maglione <jg_AT_suckless.org>
Date: Mon Mar 26 23:42:59 2007

changeset: 2042:3d56a4fdd762
tag: tip
user: Kris Maglione <jg_AT_suckless.org>
date: Mon Mar 26 17:38:02 2007 -0400
summary: Fixed readdir.

diff -r c42d820e77e6 -r 3d56a4fdd762 cmd/wmii/fs.c
--- a/cmd/wmii/fs.c Mon Mar 26 17:21:05 2007 -0400
+++ b/cmd/wmii/fs.c Mon Mar 26 17:38:02 2007 -0400
@@ -647,6 +647,7 @@ fs_read(Ixp9Req *r) {
                                 if(size < n)
                                         break;
                                 ixp_pstat(&m, &s);
+ size -= n;
                         }
                         offset += n;
                 }
Received on Mon Mar 26 2007 - 23:42:59 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:56:27 UTC