Changeset 25d42183 in rtems

Timestamp:
04/16/03 19:35:02 (21 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
6020b4f
Parents:
4a29412
Message:

2002-04-10 Victor V. Vengerov <vvv@…>

PR 385/filesystem

  • src/ramdisk.c: The "from" and "to" locations are calculated as the start of the block within the ram that data is to be transferred from/to for reads and writes respectively. However, within the loops, the "from" and "to" locations are never updated. The loop should have been updated as:

from += rd->block_size;

and

to += rd->block_size;

within the for loops in the ramdisk_read and ramdisk_write routines,
respectively.

(No files)

Note: See TracChangeset for help on using the changeset viewer.