Skip to content

Commit 41c29d9

Browse files
dschoGit for Windows Build Agent
authored andcommitted
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 78d0967 commit 41c29d9

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
@@ -746,12 +746,6 @@ char *interpolate_path(const char *path, int real_home)
746746
if (skip_prefix(path, "%(prefix)/", &path))
747747
return system_path(path);
748748

749-
#ifdef __MINGW32__
750-
if (path[0] == '/') {
751-
warning(_("encountered old-style '%s' that should be '%%(prefix)/%s'"), path, path);
752-
return system_path(path + 1);
753-
}
754-
#endif
755749
if (path[0] == '~') {
756750
const char *first_slash = strchrnul(path, '/');
757751
const char *username = path + 1;

0 commit comments

Comments
 (0)