No need to provide src_len in absolutepath it can be computed
modified pkg/utils.c
@@ -31,7 +31,7 @@ query_yesno(const char *msg)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -39,16 +39,18 @@ absolutepath(const char *src, size_t src_len, char *dest, size_t dest_len) {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified pkg/utils.h
@@ -15,6 +15,6 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
modified pkg/which.c
@@ -39,7 +39,7 @@ exec_which(int argc, char **argv)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|