From: <slf...@us...> - 2003-04-22 08:56:12
|
Update of /cvsroot/jungerl/jungerl/lib/posix_drv/c_src In directory sc8-pr-cvs1:/tmp/cvs-serv9815/c_src Modified Files: posix_drv.c posix_drv.h Log Message: Change st_{a,m,c}timespec to simple st_{a,m,c}ime 'cause Linux doesn't use struct timespec for those values, alas. Index: posix_drv.c =================================================================== RCS file: /cvsroot/jungerl/jungerl/lib/posix_drv/c_src/posix_drv.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- posix_drv.c 22 Apr 2003 08:51:47 -0000 1.2 +++ posix_drv.c 22 Apr 2003 08:55:34 -0000 1.3 @@ -1146,35 +1146,11 @@ members++; msgcount = LOAD_INT(msg, msgcount, c->o.sb.st_rdev); members++; - { - int members = 0; - - msgcount = LOAD_INT(msg, msgcount, c->o.sb.st_atimespec.tv_sec); - members++; - msgcount = LOAD_INT(msg, msgcount, c->o.sb.st_atimespec.tv_nsec); - members++; - msgcount = LOAD_TUPLE(msg, msgcount, members); /* XXX */ - } + msgcount = LOAD_INT(msg, msgcount, c->o.sb.st_atime); members++; - { - int members = 0; - - msgcount = LOAD_INT(msg, msgcount, c->o.sb.st_mtimespec.tv_sec); - members++; - msgcount = LOAD_INT(msg, msgcount, c->o.sb.st_mtimespec.tv_nsec); - members++; - msgcount = LOAD_TUPLE(msg, msgcount, members); /* XXX */ - } + msgcount = LOAD_INT(msg, msgcount, c->o.sb.st_mtime); members++; - { - int members = 0; - - msgcount = LOAD_INT(msg, msgcount, c->o.sb.st_ctimespec.tv_sec); - members++; - msgcount = LOAD_INT(msg, msgcount, c->o.sb.st_ctimespec.tv_nsec); - members++; - msgcount = LOAD_TUPLE(msg, msgcount, members); /* XXX */ - } + msgcount = LOAD_INT(msg, msgcount, c->o.sb.st_ctime); members++; msgcount = LOAD_INT(msg, msgcount, c->o.sb.st_size); members++; Index: posix_drv.h =================================================================== RCS file: /cvsroot/jungerl/jungerl/lib/posix_drv/c_src/posix_drv.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- posix_drv.h 22 Apr 2003 08:51:47 -0000 1.2 +++ posix_drv.h 22 Apr 2003 08:55:35 -0000 1.3 @@ -116,7 +116,7 @@ ** filename = posix.xml ** gslgen version = 2.000 Beta 1 ** date = 2003/04/22 -** time = 3:50:16 +** time = 3:53:44 */ #endif /* __POSIX_DRV_H */ |