On Mon, Mar 04, 2002 at 05:50:40PM +0200, Igor Khasilev wrote:
> On Mon, 4 Mar 2002, Anvar Bagautdinov wrote:
> > 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);
> 
> ��� �����������... free ����� �������� ����� ���� ��� �����������
> ������ �����������.
> 
> >       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;

� ������ �� �������� ��� ����������� � ������ 1.5.22
��������� ������ �� �����? ��� (��� ����� ���� �����) ���������
1.5.22 ��� 1.5.23 ?
�������.

-- 

Rgdz,                                /"\ 
Sergey Osokin aka oZZ,               \ /  ASCII RIBBON CAMPAIGN
[EMAIL PROTECTED]                    X     AGAINST HTML MAIL
http://freebsd.org.ru/~osa/          / \
=====================================================================
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/


Дати відповідь електронним листом