Merge in Windows port using mingw and make.

This commit is contained in:
Russ Cox
2005-10-31 15:30:23 +00:00
parent d920d42c8b
commit 5d6ebf7a53
56 changed files with 730 additions and 978 deletions

View File

@ -477,8 +477,10 @@ mntstat(Chan *c, uchar *dp, int n)
r->request.fid = c->fid;
mountrpc(m, r);
if(r->reply.nstat >= 1<<(8*BIT16SZ))
/* r->reply.nstat is 16 bits
if(r->reply.nstat >= 1<<16)
error("returned stat buffer count too large");
*/
if(r->reply.nstat > n){
/*