ifix warning
This commit is contained in:
parent
a9b979144c
commit
e03b948b0a
@ -1840,9 +1840,9 @@ TrueFileName (char *source, char *root, char *result, int in_lib)
|
|||||||
if (!Yap_getcwd(ares1, YAP_FILENAME_MAX))
|
if (!Yap_getcwd(ares1, YAP_FILENAME_MAX))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
#if _MSC_VER || defined(__MINGW32__)
|
#if _MSC_VER || defined(__MINGW32__)
|
||||||
strncat (ares1, "\\", YAP_FILENAME_MAX);
|
strncat (ares1, "\\", YAP_FILENAME_MAX-1);
|
||||||
#else
|
#else
|
||||||
strncat (ares1, "/", YAP_FILENAME_MAX);
|
strncat (ares1, "/", YAP_FILENAME_MAX-1);
|
||||||
#endif
|
#endif
|
||||||
if (root) {
|
if (root) {
|
||||||
if (!dir_separator(root[0]) && !volume_header(root)) {
|
if (!dir_separator(root[0]) && !volume_header(root)) {
|
||||||
|
Reference in New Issue
Block a user