Hi all.
OOPS �� cvs: � ���� storage.c:
1) ���� ��������� ������ � ������� st_pread, �� ��� �� �������������.
2) � ��� �� ������� st_pwrite ������� "st_pread(...)"
���� ���������� ����
#diff -c storage.c.orig storage.c
*** storage.c.orig Mon Mar 4 15:26:53 2002
--- storage.c Mon Mar 4 15:28:22 2002
***************
*** 88,93 ****
--- 88,94 ----
return(-1);
}
res = pread(fd,rounded_data,rnbyte,off);
+ free(rounded_data);
if ( res <= 0 ) {
return(res);
}
***************
*** 132,138 ****
if ( res > 0 ) {
return(MIN(nbyte, res));
}
! my_xlog(OOPS_LOG_SEVERE, "st_pread(%d, %d): %m\n", fd, nbyte);
return(res);
}
rnbyte = (nbyte/512)*512;
--- 133,139 ----
if ( res > 0 ) {
return(MIN(nbyte, res));
}
! my_xlog(OOPS_LOG_SEVERE, "st_pwrite(%d, %d): %m\n", fd, nbyte);
return(res);
}
rnbyte = (nbyte/512)*512;
-
20, Karl Marx Avenue, Phone: 7-3832-462-484
Russia, Novosibirsk 630092 Email: [EMAIL PROTECTED]
=====================================================================
If you would like to unsubscribe from this list send message to
[EMAIL PROTECTED] with "unsubscribe oops" in message body.
Archive is accessible on http://lists.paco.net/oops-rus/