Changeset 41811af in mainline for uspace/lib/c/generic/adt/measured_strings.c
- Timestamp:
- 2011-06-10T10:14:26Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ab547063
- Parents:
- 9536e6e (diff), 390d80d (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/adt/measured_strings.c
r9536e6e r41811af 42 42 #include <errno.h> 43 43 #include <async.h> 44 #include <async_obsolete.h> 44 45 45 46 /** Creates a new measured string bundled with a copy of the given string … … 326 327 return ENOMEM; 327 328 328 rc = async_ data_read_start(phone, lengths,329 rc = async_obsolete_data_read_start(phone, lengths, 329 330 sizeof(size_t) * (count + 1)); 330 331 if (rc != EOK) { … … 351 352 (*strings)[index].length = lengths[index]; 352 353 if (lengths[index] > 0) { 353 rc = async_ data_read_start(phone, next, lengths[index]);354 rc = async_obsolete_data_read_start(phone, next, lengths[index]); 354 355 if (rc != EOK) { 355 356 free(lengths); … … 399 400 return ENOMEM; 400 401 401 rc = async_ data_write_start(phone, lengths,402 rc = async_obsolete_data_write_start(phone, lengths, 402 403 sizeof(size_t) * (count + 1)); 403 404 if (rc != EOK) { … … 410 411 for (index = 0; index < count; index++) { 411 412 if (strings[index].length > 0) { 412 rc = async_ data_write_start(phone, strings[index].value,413 rc = async_obsolete_data_write_start(phone, strings[index].value, 413 414 strings[index].length); 414 415 if (rc != EOK)
Note:
See TracChangeset
for help on using the changeset viewer.