Commit 34695036565c890b15109a6f0149499cdbab87bc
Fix wrong truncation in parse_file_spec()
Need to remove the last colon and what goes after it.
Author: xaizek
Author date (UTC): 2016-01-01 13:55
Committer name: xaizek
Committer date (UTC): 2016-01-01 13:55
Parent(s): c1cfc2e4cec032ca2eba1e5bb2877d70bfe4b8e5
Signing key:
Tree: 453c2610480aa60a062f424378eea9cf00a4e995
File src/utils/utils.c changed (mode: 100644) (index 7ecb1b991..779bc438b) |
... |
... |
parse_file_spec(const char spec[], int *line_num) |
591 |
591 |
|
|
592 |
592 |
while(!path_exists(path_buf, NODEREF) && strchr(path_buf, ':') != NULL) |
while(!path_exists(path_buf, NODEREF) && strchr(path_buf, ':') != NULL) |
593 |
593 |
{ |
{ |
594 |
|
break_at(path_buf, ':'); |
|
|
594 |
|
break_atr(path_buf, ':'); |
595 |
595 |
} |
} |
596 |
596 |
} |
} |
597 |
597 |
|
|