Subversion Repositories Kolibri OS

Rev

Rev 4921 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4921 Rev 6099
Line 71... Line 71...
71
   * Avoid locking this list while walking it or else you will
71
   * Avoid locking this list while walking it or else you will
72
   * introduce a potential deadlock in [at least] refill.c.
72
   * introduce a potential deadlock in [at least] refill.c.
73
   */
73
   */
74
  for (g = &ptr->__sglue; g != NULL; g = g->_next)
74
  for (g = &ptr->__sglue; g != NULL; g = g->_next)
75
    for (fp = g->_iobs, n = g->_niobs; --n >= 0; fp++)
75
    for (fp = g->_iobs, n = g->_niobs; --n >= 0; fp++)
76
      if (fp->_flags != 0)
-
 
77
        {
-
 
78
          if (fp->_flags != 0 && fp->_flags != 1 && fp->_file != -1)
76
      if (fp->_flags != 0 && fp->_flags != 1 && fp->_file != -1)
79
            ret |= (*reent_function) (ptr, fp);
77
	ret |= (*reent_function) (ptr, fp);
80
        }
-
 
Line 81... Line 78...
81
 
78
 
82
  return ret;
79
  return ret;