Skip to content

Commit 8ee4161

Browse files
committed
Drop the old-style runtime-prefix handling in interpolate_path()
After deprecating this in v2.34.0 (released November 15th, 2021), it is time to drop it. This reverts commit 28fdfd8 (mingw: deprecate old-style runtime-prefix handling in interpolate_path(), 2015-12-11). Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 9e6cd4b commit 8ee4161

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

path.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -739,12 +739,6 @@ char *interpolate_path(const char *path, int real_home)
739739
if (skip_prefix(path, "%(prefix)/", &path))
740740
return system_path(path);
741741

742-
#ifdef __MINGW32__
743-
if (path[0] == '/') {
744-
warning(_("encountered old-style '%s' that should be '%%(prefix)/%s'"), path, path);
745-
return system_path(path + 1);
746-
}
747-
#endif
748742
if (path[0] == '~') {
749743
const char *first_slash = strchrnul(path, '/');
750744
const char *username = path + 1;

0 commit comments

Comments
 (0)