Changeset 6998158 in rtems


Ignore:
Timestamp:
Jun 3, 2009, 7:27:38 PM (12 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.8
Children:
3f5e231d
Parents:
8774fdd
Message:

2009-06-03 Joel Sherrill <joel.sherrill@…>

PR 1421/filesystem

  • libfs/src/imfs/deviceio.c, libfs/src/imfs/imfs.h, libfs/src/imfs/imfs_handlers_device.c: Backport ftruncate support for devices so fopen(device, w) works.
Location:
cpukit
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r8774fdd r6998158  
     12009-06-03      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        PR 1421/filesystem
     4        * libfs/src/imfs/deviceio.c, libfs/src/imfs/imfs.h,
     5        libfs/src/imfs/imfs_handlers_device.c: Backport ftruncate support for
     6        devices so fopen(device, w) works.
     7
    182009-05-28      Joel Sherrill <joel.sherrill@OARcorp.com>
    29
  • cpukit/libfs/src/imfs/deviceio.c

    r8774fdd r6998158  
    256256 *  The IMFS_rmnod() is used.
    257257 */
     258
     259int device_ftruncate(
     260  rtems_libio_t *iop,
     261  off_t          length
     262)
     263{
     264  return 0;
     265}
     266
  • cpukit/libfs/src/imfs/imfs.h

    r8774fdd r6998158  
    481481);
    482482
     483int device_ftruncate(
     484  rtems_libio_t *iop,               /* IN  */
     485  off_t          length             /* IN  */
     486);
     487
    483488int IMFS_utime(
    484489  rtems_filesystem_location_info_t  *pathloc,       /* IN */
  • cpukit/libfs/src/imfs/imfs_handlers_device.c

    r8774fdd r6998158  
    3333  IMFS_stat,
    3434  IMFS_fchmod,
    35   NULL,   /* ftruncate */
     35  device_ftruncate,
    3636  NULL,   /* fpathconf */
    3737  NULL,   /* fsync */
Note: See TracChangeset for help on using the changeset viewer.