mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-27 11:52:03 +00:00
minor bug fixes
This commit is contained in:
parent
587ef67d77
commit
631fe87f4c
2 changed files with 3 additions and 0 deletions
|
@ -84,6 +84,8 @@ _p9dir(struct stat *st, char *name, Dir *d, char **str, char *estr)
|
||||||
static int gid, uid;
|
static int gid, uid;
|
||||||
int sz, fd;
|
int sz, fd;
|
||||||
|
|
||||||
|
fd = -1;
|
||||||
|
USED(fd);
|
||||||
sz = 0;
|
sz = 0;
|
||||||
if(d)
|
if(d)
|
||||||
memset(d, 0, sizeof *d);
|
memset(d, 0, sizeof *d);
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#include <lib9.h>
|
#include <lib9.h>
|
||||||
|
#include "9proc.h"
|
||||||
|
|
||||||
extern int __isthreaded;
|
extern int __isthreaded;
|
||||||
int
|
int
|
||||||
|
|
Loading…
Reference in a new issue