Changeset 0cf3d5f in mainline for uspace/app/newfile/newfile.c


Ignore:
Timestamp:
2025-10-10T08:45:43Z (2 months ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master
Children:
c3db721
Parents:
cfd04c4
git-author:
Jiri Svoboda <jiri@…> (2025-10-09 18:45:33)
git-committer:
Jiri Svoboda <jiri@…> (2025-10-10 08:45:43)
Message:

Allow creating sparse files in Navigator and newfile.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/newfile/newfile.c

    rcfd04c4 r0cf3d5f  
    166166        fmgt_set_cb(fmgt, &newfile_fmgt_cb, NULL);
    167167
    168         rc = fmgt_new_file(fmgt, fname, nbytes);
     168        rc = fmgt_new_file(fmgt, fname, nbytes, sparse ? nf_sparse : nf_none);
    169169        if (rc != EOK) {
    170170                printf("Error creating file: %s.\n", str_error(rc));
Note: See TracChangeset for help on using the changeset viewer.