Changeset 163e34c in mainline for common/printf/printf_core.c
- Timestamp:
- 2025-04-13T19:33:48Z (3 months ago)
- Branches:
- master
- Children:
- f5e1692
- Parents:
- 97f6b71
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2025-04-13 18:56:51)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2025-04-13 19:33:48)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
common/printf/printf_core.c
r97f6b71 r163e34c 201 201 size_t *written_bytes) 202 202 { 203 int written = ps->str_write(buf, n, ps->data); 204 if (written < 0) 205 return EIO; 203 errno_t rc = ps->write(buf, n, ps->data); 204 if (rc != EOK) 205 return rc; 206 206 207 _saturating_add(written_bytes, n); 207 208 return EOK; 208 209 #if 0210 errno_t rc = ps->write(buf, &n, ps->data);211 _saturating_add(written_bytes, n);212 return rc;213 #endif214 209 } 215 210 … … 1466 1461 1467 1462 rc = _format_number(number, width, precision, base, flags, ps, &counter); 1468 if (rc != EOK)1469 continue;1470 1463 } 1471 1464
Note:
See TracChangeset
for help on using the changeset viewer.