If one of -P, -I or -R is not explicitly given on the command line, do not emit error messages while searching for a mechanism to find data about the latest available ports.
modified src/version.c
@@ -226,7 +226,7 @@ do_testpattern(unsigned int opt, int argc, char ** restrict argv)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -244,7 +244,7 @@ have_ports(const char **portsdir)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -389,7 +389,7 @@ free_index(struct index_entry *indexhead)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -403,10 +403,11 @@ have_indexfile(const char **indexfile, char *filebuf, size_t filebuflen,
|
|
|
|
|
|
| - | |
| + | |
|
|
| + | |
| + | |
|
|
| - | |
|
|
|
|
|
@@ -901,7 +902,7 @@ exec_version(int argc, char **argv)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -913,7 +914,7 @@ exec_version(int argc, char **argv)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -924,11 +925,12 @@ exec_version(int argc, char **argv)
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|