Subversion Repositories Kolibri OS

Rev

Rev 1693 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1693 Rev 3065
Line 52... Line 52...
52
   * calls might wrap _w from negative to positive.
52
   * calls might wrap _w from negative to positive.
53
   */
53
   */
Line 54... Line 54...
54
 
54
 
55
  fp->_w = fp->_lbfsize;
55
  fp->_w = fp->_lbfsize;
56
  if (cantwrite (ptr, fp))
-
 
57
    {
-
 
58
      fp->_flags |= __SERR;
-
 
59
      ptr->_errno = EBADF;
56
  if (cantwrite (ptr, fp))
60
      return EOF;
-
 
61
    }
57
      return EOF;
Line 62... Line 58...
62
  c = (unsigned char) c;
58
  c = (unsigned char) c;
Line 63... Line 59...
63
 
59