# HG changeset patch # User Matti Hamalainen # Date 1578171522 -7200 # Node ID 1beaad0d5219f3ed450d9381d93ecbb7dc8d7d37 # Parent a3dd87b7c00b36e84795a99828d006d5fbe65fcc Ensure that the specified HVSC path has '/' path separator at the end. diff -r a3dd87b7c00b -r 1beaad0d5219 sidinfo.c --- a/sidinfo.c Sat Jan 04 22:57:39 2020 +0200 +++ b/sidinfo.c Sat Jan 04 22:58:42 2020 +0200 @@ -1279,6 +1279,10 @@ // Check if HVSC path is set if (setHVSCPath != NULL) { + // Check path separator at end + if (th_strrcasecmp(setHVSCPath, "/") == NULL) + th_pstr_printf(&setHVSCPath, "%s/", setHVSCPath); + // If SLDB path is not set, autocheck for .md5 and .txt if (setSLDBPath == NULL) setSLDBPath = siCheckHVSCFilePath(SET_SLDB_FILEBASE, ".md5");