[Lsb-messages] /var/www/bzr/lsb/devel/lsbspec r4048: add NAME_MAX and MAXNAMLEN for bug 4047

Mats Wichmann mats at linuxfoundation.org
Fri Dec 12 20:11:31 UTC 2014


------------------------------------------------------------
revno: 4048
committer: Mats Wichmann <mats at linuxfoundation.org>
branch nick: lsbspec
timestamp: Fri 2014-12-12 13:11:31 -0700
message:
  add NAME_MAX and MAXNAMLEN for bug 4047
modified:
  Base/generic/baselib/baselib.sgml
  Base/generic/baselib/libc.sgml
  Common/generic/intro.sgml
-------------- next part --------------
=== modified file 'Base/generic/baselib/baselib.sgml'
--- a/Base/generic/baselib/baselib.sgml	2014-08-30 14:08:40 +0000
+++ b/Base/generic/baselib/baselib.sgml	2014-12-12 20:11:31 +0000
@@ -2831,6 +2831,8 @@
 </PARA>
 <SCREEN>
 
+#define MAXNAMLEN	NAME_MAX
+
 typedef struct __dirstream DIR;
 
 struct dirent {
@@ -4693,6 +4695,7 @@
 #define _POSIX2_LINE_MAX	2048
 #define _POSIX_CHILD_MAX	25
 #define COLL_WEIGHTS_MAX	255
+#define NAME_MAX	255
 #define _POSIX2_RE_DUP_MAX	255
 #define _POSIX_HOST_NAME_MAX	255
 #define _POSIX_MAX_CANON	255

=== modified file 'Base/generic/baselib/libc.sgml'
--- a/Base/generic/baselib/libc.sgml	2014-08-30 14:08:40 +0000
+++ b/Base/generic/baselib/libc.sgml	2014-12-12 20:11:31 +0000
@@ -2762,6 +2762,8 @@
 </PARA>
 <SCREEN>
 
+#define MAXNAMLEN	NAME_MAX
+
 typedef struct __dirstream DIR;
 
 struct dirent {
@@ -4624,6 +4626,7 @@
 #define _POSIX2_LINE_MAX	2048
 #define _POSIX_CHILD_MAX	25
 #define COLL_WEIGHTS_MAX	255
+#define NAME_MAX	255
 #define _POSIX2_RE_DUP_MAX	255
 #define _POSIX_HOST_NAME_MAX	255
 #define _POSIX_MAX_CANON	255

=== modified file 'Common/generic/intro.sgml'
--- a/Common/generic/intro.sgml	2014-10-10 17:23:20 +0000
+++ b/Common/generic/intro.sgml	2014-12-12 20:11:31 +0000
@@ -451,10 +451,11 @@
 <title>Implementation Note</title>
 <para>
 Application dependencies should generally be as limited as possible.
-For example, if an application only depends on items from the core
-specification, a dependency on "lsb-core" may be more appropriate than
-a dependency on "lsb", which could cause an implementation to install
-a number of other modules that aren't needed.
+For example, if a 64-bit POWER application only depends on items from
+the core specification, a dependency on "lsb-core-ppc64" may be more
+appropriate than a dependency on "lsb".  The latter dependency could
+cause an implementation to install a number of other modules that may
+not be necessary to execute this application.
 </para>
 </note>
 </para>



More information about the lsb-messages mailing list