Notice: We have migrated to GitLab launching 2024-05-01 see here: https://gitlab.rtems.org/

#3258 closed defect (fixed)

fat: Fix creation of files with a similar name to existing files in the directory

Reported by: Sebastian Huber Owned by: Sebastian Huber
Priority: normal Milestone: 4.11.3
Component: fs/fat Version:
Severity: normal Keywords:
Cc: Blocked By:
Blocking:

Description

If there is already a file with a long file name it isn't possible to
create a second file which has a name that ends on the first files name
(for example ets.beam and sets.beam).

Change History (2)

comment:1 Changed on 12/07/17 at 07:03:44 by Christian Mauderer <Christian.Mauderer@…>

In [changeset:"2fe368787e1f11e50813b10f4c027bbbb87c9999/rtems" 2fe3687/rtems]:

dosfs: Allow creating a file with similar name.

If there is already a file with a long file name it isn't possible to
create a second file which has a name that ends on the first files name
(for example ets.beam and sets.beam). This patch fixes that.

Update #3258.

comment:2 Changed on 12/07/17 at 07:04:31 by Christian Mauderer <Christian.Mauderer@…>

Resolution: fixed
Status: assignedclosed

In [changeset:"d438427cbe6ca8138d0c64b58a32a2b0ab4a6fa8/rtems" d438427/rtems]:

dosfs: Allow creating a file with similar name.

If there is already a file with a long file name it isn't possible to
create a second file which has a name that ends on the first files name
(for example ets.beam and sets.beam). This patch fixes that.

Close #3258.

Note: See TracTickets for help on using tickets.