illumos-core icon indicating copy to clipboard operation
illumos-core copied to clipboard

Want support for case-insentisive nvlist lookup

Open andy-js opened this issue 10 years ago • 3 comments

There's a similar feature on FreeBSD which can be enabled with the NV_FLAG_IGNORE_CASE flag. I suggest we use the same flag name.

andy-js avatar Jan 18 '15 19:01 andy-js

Seems reasonable. Is there a consumer you have in mind for this?

Sent from my iPhone

On Jan 18, 2015, at 11:15 AM, Andrew Stormont [email protected] wrote:

There's a similar feature on FreeBSD which can be enabled with the NV_FLAG_IGNORE_CASE flag. I suggest we use the same flag name.

— Reply to this email directly or view it on GitHub.

gdamore avatar Jan 18 '15 22:01 gdamore

Just some code I've been working on that could be simplified if I didn't have to write my own lookup routines. I haven't looked through the gate but there could be some things in there that might also benefit.

andy-js avatar Jan 19 '15 18:01 andy-js

Generally, we like to avoid creating new code / features without having at least one consumer arrive at the same time. (Can be separate change sets, but they should be integrated at the same time.) This is true for illumos-gate, as true for OS/Net in Sun, and I'd like to keep the same policy generally true for illumos-core.

gdamore avatar Jan 19 '15 18:01 gdamore