Changeset d120133 in mainline
- Timestamp:
- 2013-05-27T13:08:44Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 192565b
- Parents:
- 4e72a4c
- Location:
- uspace
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/wavplay/dplay.c
r4e72a4c rd120133 129 129 } 130 130 /* any constant is silence */ 131 bzero(pb->buffer.write_ptr + bytes, fragment_size - bytes);131 memset(pb->buffer.write_ptr + bytes, 0, fragment_size - bytes); 132 132 pb->buffer.write_ptr += fragment_size; 133 133 … … 158 158 fragment_size, pb->source); 159 159 if (bytes != fragment_size) 160 bzero(pb->buffer.base + bytes, fragment_size - bytes);160 memset(pb->buffer.base + bytes, 0, fragment_size - bytes); 161 161 printf("Initial: Copied from position %p size %zu/%zu\n", 162 162 pb->buffer.base, bytes, fragment_size); -
uspace/lib/hound/src/protocol.c
r4e72a4c rd120133 212 212 char *name = malloc(sizes[i] + 1); 213 213 if (name) { 214 bzero(name, sizes[i] + 1);214 memset(name, 0, sizes[i] + 1); 215 215 ret = async_data_read_start(exch, name, sizes[i]); 216 216 names[i] = name;
Note:
See TracChangeset
for help on using the changeset viewer.