File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818#include <stdlib.h>
1919#include <string.h>
2020#include <ctype.h>
21- #include <errno.h>
2221
2322#include <libretro.h>
2423#include <boolean.h>
@@ -2589,20 +2588,9 @@ static bool playlist_read_file(playlist_t *playlist)
25892588#endif
25902589
25912590 /* If playlist file does not exist,
2592- * create an empty playlist instead.
2593- * Any other error (EMFILE, EACCES, EIO…) must fail the read —
2594- * otherwise a transient open failure produces an empty playlist
2595- * that later overwrites a valid file on disk. */
2591+ * create an empty playlist instead */
25962592 if (!file )
2597- {
2598- if (errno != ENOENT )
2599- {
2600- RARCH_ERR ("[Playlist] Failed to open \"%s\" for read: %s.\n" ,
2601- playlist -> config .path , strerror (errno ));
2602- return false;
2603- }
26042593 return true;
2605- }
26062594
26072595 if (intfstream_is_compressed (file ))
26082596 playlist -> flags |= CNT_PLAYLIST_FLG_COMPRESSED ;
You can’t perform that action at this time.
0 commit comments