multi-vkd support patch for review

Thomas E. Spanjaard tgen at netphreax.net
Sun Jan 28 08:35:32 PST 2007


Sepherosa Ziehau wrote:
On 1/28/07, Thomas E. Spanjaard <tgen at netphreax.net> wrote:
C.Turner wrote:
> +                     if ( vkdFileNum < VKD_MAX )
> +                             vkdFile[vkdFileNum++] = optarg;
Why not if (vkdFileNum < VKD_MAX) { vkdFile[vkdFileNum] = optarg;
vkdFileNum++; }; ? Because now it appears '16' is a valid number, where
Why '16'(VKD_MAX) will be a valid number in his patch?
if (15 < 16) { vkdFile[(15++ = 16)] = optarg; }

Cheers,
--
        Thomas E. Spanjaard
        tgen at netphreax.net
Attachment:
signature.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgp00014.pgp
Type: application/octet-stream
Size: 186 bytes
Desc: "Description: OpenPGP digital signature"
URL: <http://lists.dragonflybsd.org/pipermail/submit/attachments/20070128/0ca31f87/attachment-0019.obj>


More information about the Submit mailing list