From 277f7f3e38c6f309dfd3ee58ec7d9077aaa1306c Mon Sep 17 00:00:00 2001 From: Jeong Han Lee <jeonghan.lee@gmail.com> Date: Wed, 2 May 2018 00:19:19 +0200 Subject: [PATCH] disable to add + to the end of version --- require.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/require.c b/require.c index c419784a..840c5e6a 100644 --- a/require.c +++ b/require.c @@ -1210,8 +1210,15 @@ static int handleDependencies(const char* module, char* depfilename) while (*end && !isspace((unsigned char)*end)) end++; /* add + to numerial versions if not yet there */ + /* + ESS would like to use the MATCH version only, not HIGHER. + In order to touch the PSI code mininaly, disable add + from VERSION from Dep file. + At the same time, ESS use the X.X.X instead of X.X. + Wednesday, May 2 00:12:18 CEST 2018, jhlee + */ + /* if (*(end-1) != '+' && strspn(rversion, "0123456789.") == (size_t)(end-rversion)) *end++ = '+'; - + */ /* terminate version */ *end = 0; } -- GitLab