Module Name: src Committed By: pgoyette Date: Sat Mar 10 11:34:19 UTC 2018
Modified Files: src/share/man/man9 [pgoyette-compat]: module.9 Log Message: We'll use an array of individual aliases, rather than a single, comma- separated list. This saves us parsing the list each time through. To generate a diff of this commit: cvs rdiff -u -r1.42.2.1 -r1.42.2.2 src/share/man/man9/module.9 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/share/man/man9/module.9 diff -u src/share/man/man9/module.9:1.42.2.1 src/share/man/man9/module.9:1.42.2.2 --- src/share/man/man9/module.9:1.42.2.1 Sat Mar 10 10:51:27 2018 +++ src/share/man/man9/module.9 Sat Mar 10 11:34:19 2018 @@ -1,4 +1,4 @@ -.\" $NetBSD: module.9,v 1.42.2.1 2018/03/10 10:51:27 pgoyette Exp $ +.\" $NetBSD: module.9,v 1.42.2.2 2018/03/10 11:34:19 pgoyette Exp $ .\" .\" Copyright (c) 2010 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -202,10 +202,10 @@ For the .Dv MODULE_CMD_GETALIASES command, the .Fa data -argument points to a variable of type -.Vt const char * ; -the module's command routine should store the address of a quoted string -containing a comma-separated list of alias names. +argument points to an array of type +.Vt const char *[] ; +the module's command routine should store the addresses of each alias +name for the module. .Pp The __link_set mechanism is used to enable the .Nm