The only difference from my patch is that if no value is passed in,
patch would overwrite the existing pattern with a single "*", and yours
would append "*" to it. Why is that important?
Yes, that is the important bit. So if you provide -d you would set all
descriptors->counter to 1, with -dd the counter is set to 2 for the