Bug #18064
"current" behavior is wierd in v6_0_x ups...
Start date:
10/27/2017
Due date:
% Done:
0%
Estimated time:
Experiment:
-
Co-Assignees:
Description
So currently on /grid/fermiapp/products/common/db there are 34 instances of "ups",
8 of which are current. but with v6_0_x of ups, "ups list -ac ups" lists only
3 of the 8.
This means that when "ups" gets invoked as part of setups, it picks the wrong ups,
as it has to few "current" ones to choose from.
I don't know why it's picking the ones it is..
History
#1 Updated by Marc Mengel over 3 years ago
Okay, so linux_flavor_cmp was returning 0 if it hit the end of either string;
it should have been returning s2 - *s1, so it would be non-zero if it wasn't
at the end of *both strings.
This means it was considering substrings as matches, so if we had a
"Linux" flavor declared, we would keep finding that, even though there were
"better"== longer matches.