Skip to content

Commit

Permalink
ulocate V1.17 - bug fix in handling envvar
Browse files Browse the repository at this point in the history
  • Loading branch information
Derell Licht committed Oct 31, 2018
1 parent 0325d8a commit 4f784a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ulocate.cpp
Expand Up @@ -1374,6 +1374,8 @@ int main (int argc, char **argv)
int j;
char *p;
int strIdx = 0;
temp_path[0] = 0;
name_comp[0] = 0;

puts (Version);

Expand Down Expand Up @@ -1420,8 +1422,6 @@ int main (int argc, char **argv)
//***********************************************************
// parse command line
//***********************************************************
temp_path[0] = 0;
name_comp[0] = 0;
for (j = start_idx; j < argc; j++) {
p = argv[j];
if (*p == '-') {
Expand Down

0 comments on commit 4f784a4

Please sign in to comment.