Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/net



On Mon, 17 Aug 2009, David Young wrote:

I'm not sure I'm parsing you correctly.  Are you saying that the '3' in

        blah.3.foo

should match the node whose numeric value is 3, as in

        12.3.456

Yes.

or that it should match the node whose name is the ASCII char '3'
followed by a NUL character?

No.

Either way still results in possibility of ambiguity.

Either way?

"either way" in that whichever of the preceeeding options you selected, the other option would represent a problem! :)

If names are permitted to include only digits, then there is only one
mechanism I can think of that would permit the user of sysctl(8) to access both

        foo."3".bar
and
        12.3.bam

But the syntax of the first example is rather ugly, and it introduces a(nother) reserved character in the name-space.

:)


-------------------------------------------------------------------------
|   Paul Goyette   | PGP DSS Key fingerprint: |  E-mail addresses:      |
| Customer Service | FA29 0E3B 35AF E8AE 6651 |  paul at whooppee.com   |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
| Kernel Developer |                          | pgoyette at netbsd.org  |
-------------------------------------------------------------------------


Home | Main Index | Thread Index | Old Index