Opened 7 years ago

Closed 7 years ago

#1764 closed bug (fixed (in master))

File dump never asks for confirmation

Reported by: PowerWyrm Owned by:
Milestone: 3.5.0 Keywords:


Dumps use the get_file_text() method to build a file path. This method is supposed to check for file existence, but never does so because of the following error:

    /* Build the path */
    path_build(path, len, ANGBAND_DIR_USER, buf);

    /* Check if it already exists */
    if (file_exists(buf)) ...

It should be "path" instead of "buf".

Change History (2)

comment:1 Changed 7 years ago by takkaria

  • Milestone changed from Triage to 3.5.0

comment:2 Changed 7 years ago by takkaria

  • Resolution set to fixed (in master)
  • Status changed from new to closed

Fixed in 2a941d6.

Note: See TracTickets for help on using tickets.