[Libsysio-commit] defer-cwd: libsysio/drivers/sockets sockets.c
Brought to you by:
lward
From: Lee W. <lw...@us...> - 2004-09-23 17:10:30
|
Update of /cvsroot/libsysio/libsysio/drivers/sockets In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24231/drivers/sockets Modified Files: Tag: defer-cwd sockets.c Log Message: The head brnach had been updated to carry the full attributes around in the inode, directly. Need to change the way we cache in the native driver, then. Merged the head in to get the relevant changes. Index: sockets.c =================================================================== RCS file: /cvsroot/libsysio/libsysio/drivers/sockets/sockets.c,v retrieving revision 1.10.2.2 retrieving revision 1.10.2.3 diff -u -w -b -B -p -r1.10.2.2 -r1.10.2.3 --- sockets.c 23 Sep 2004 16:51:17 -0000 1.10.2.2 +++ sockets.c 23 Sep 2004 17:09:48 -0000 1.10.2.3 @@ -361,6 +361,7 @@ _sysio_sockets_inew() static ino_t inum = 1; struct socket_info *ski; struct inode *ino; + static struct intnl_stat zero_stat; ski = malloc(sizeof(struct socket_info)); if (!ski) @@ -373,8 +374,7 @@ _sysio_sockets_inew() ino = _sysio_i_new(sockets_fs, &ski->ski_fileid, - 0, - 0, + &zero_stat, 0, &sockets_i_ops, ski); |