Skip to content

Commit

Permalink
Remove commented out code related to no fixed Emscripten bug (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
samwillis authored Mar 28, 2024
1 parent 36e9a12 commit 6fa3ddd
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/backend/utils/cache/relcache.c
Original file line number Diff line number Diff line change
Expand Up @@ -6485,16 +6485,6 @@ RelationCacheInitFileRemove(void)
struct dirent *de;
char path[MAXPGPATH + 10 + sizeof(TABLESPACE_VERSION_DIRECTORY)];

#ifdef EMSCRIPTEN
/*
* emscripten 3.0.1 breaks here on traversal up in FS.realPath() on the
* mount point (it has path field set, but not the name field).
*
* TODO: make a standalone repro and report.
*/
return;
#endif

snprintf(path, sizeof(path), "global/%s",
RELCACHE_INIT_FILENAME);
unlink_initfile(path, LOG);
Expand Down

0 comments on commit 6fa3ddd

Please sign in to comment.