Ignore:
Timestamp:
Jul 22, 2015, 2:31:34 PM (9 years ago)
Author:
guerin
Message:

fat32: implement O_TRUNC for _fat_open()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/applications/shell/main.c

    r643 r654  
    104104    size = info.size;
    105105
    106     dst_fd = giet_fat_open( argv[2] , O_CREATE ); // TODO O_TRUNC
     106    dst_fd = giet_fat_open( argv[2] , O_CREATE | O_TRUNC );
    107107    if (dst_fd < 0)
    108108    {
Note: See TracChangeset for help on using the changeset viewer.