Source-Changes-HG archive

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

[src/pgoyette-compat]: src/share/man/man9 We'll use an array of individual al...



details:   https://anonhg.NetBSD.org/src/rev/8c285a3c63fe
branches:  pgoyette-compat
changeset: 321002:8c285a3c63fe
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Sat Mar 10 11:34:19 2018 +0000

description:
We'll use an array of individual aliases, rather than a single, comma-
separated list.  This saves us parsing the list each time through.

diffstat:

 share/man/man9/module.9 |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (24 lines):

diff -r cd41d8dc968b -r 8c285a3c63fe share/man/man9/module.9
--- a/share/man/man9/module.9   Sat Mar 10 10:51:27 2018 +0000
+++ b/share/man/man9/module.9   Sat Mar 10 11:34:19 2018 +0000
@@ -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 @@
 .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



Home | Main Index | Thread Index | Old Index