Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 100172
Collapse All | Expand All

(-)libio/iofputs.c (-1 / +1 lines)
Lines 40-46 _IO_fputs (str, fp) Link Here
40
  _IO_acquire_lock (fp);
40
  _IO_acquire_lock (fp);
41
  if ((_IO_vtable_offset (fp) != 0 || _IO_fwide (fp, -1) == -1)
41
  if ((_IO_vtable_offset (fp) != 0 || _IO_fwide (fp, -1) == -1)
42
      && _IO_sputn (fp, str, len) == len)
42
      && _IO_sputn (fp, str, len) == len)
43
    result = 1;
43
    result = len;
44
  _IO_release_lock (fp);
44
  _IO_release_lock (fp);
45
  return result;
45
  return result;
46
}
46
}
(-)libio/iofputs_u.c (-1 / +1 lines)
Lines 38-44 fputs_unlocked (str, fp) Link Here
38
  int result = EOF;
38
  int result = EOF;
39
  CHECK_FILE (fp, EOF);
39
  CHECK_FILE (fp, EOF);
40
  if (_IO_fwide (fp, -1) == -1 && _IO_sputn (fp, str, len) == len)
40
  if (_IO_fwide (fp, -1) == -1 && _IO_sputn (fp, str, len) == len)
41
    result = 1;
41
    result = len;
42
  return result;
42
  return result;
43
}
43
}
44
libc_hidden_def (fputs_unlocked)
44
libc_hidden_def (fputs_unlocked)

Return to bug 100172