Files
Velix-MPV-Core/common
wm4 3f3e1547ba player: change --display-tags behavior
Remove the "all" special-behavior, and instead interpret trailing "*"
characters. --display-tags=all is replaced by --display-tags=* as a
special-case of the new behavior.

See #1404.

Note that the most straight-forward value for matchlen in the normal
case would be INT_MAX, because it should be using the entire string.
I used keylen+1 instead, because glibc seems to handle this case
incorrectly:

    snprintf(buf, sizeof(buf), "%.*s", INT_MAX, "hello");

The result is empty, instead of just containing the string argument.
This might be a glibc bug; it works with other libcs (even MinGW-w64).
2015-01-12 04:57:56 +01:00
..
…
…
…
2014-11-26 21:21:56 +01:00
2014-11-26 21:21:56 +01:00
2014-11-21 09:59:58 +01:00
…
2014-09-13 16:09:51 +02:00
2015-01-12 04:57:56 +01:00