From 06527f6dc37db034da1e2f799420c56fc2682ba2 Mon Sep 17 00:00:00 2001 From: "Bruce A. Mah" Date: Thu, 31 Oct 2002 23:04:28 +0000 Subject: [PATCH] Modified release notes: Note that check_utility_compat(3) is designed for FreeBSD base system programs, rewrite expr(1) entry and note its use of check_utility_compat(3), mention autogeneration of nsswitch.conf and hosts.conf. Mostly submitted by: wollman (But any mistakes are solely mine.) --- .../doc/en_US.ISO8859-1/relnotes/article.sgml | 25 ++++++++++++------- .../en_US.ISO8859-1/relnotes/common/new.sgml | 25 ++++++++++++------- 2 files changed, 32 insertions(+), 18 deletions(-) diff --git a/release/doc/en_US.ISO8859-1/relnotes/article.sgml b/release/doc/en_US.ISO8859-1/relnotes/article.sgml index e66772e46cee..efb405d4a9f5 100644 --- a/release/doc/en_US.ISO8859-1/relnotes/article.sgml +++ b/release/doc/en_US.ISO8859-1/relnotes/article.sgml @@ -2325,7 +2325,7 @@ options HZ=1000 # not compulsory but strongly recommended A &man.check.utility.compat.3; library function has been added to libc, to determine - whether a named utility should behave in &os; 4-compatible mode + whether certain &os; base system utilities should behave in &os; 4-compatible mode or in a standard mode (default standard). The configuration is done &man.malloc.3;-style, with either an environment variable or a symbolic link. @@ -2468,13 +2468,15 @@ options HZ=1000 # not compulsory but strongly recommended maintainable. These scripts now reside in /etc/periodic/security/. &merged; - &man.expr.1; is now compliant with the POSIX Utility Syntax - Guidelines. Some programs depend on the old, historic behavior + &man.expr.1; is now compliant with POSIX.2-1992 (and thus + also with POSIX.1-2001). Some program depend on the old, + historic behavior and do not properly protect their arguments to + keep them from being misinterpreted as command-line options. (the devel/libtool - port/package was/is a notable example). In these situations, - the EXPR_COMPAT environment variable can be - defined, which causes &man.expr.1; to behave more like previous - versions. + port/package, used by many GNU programs, is a notable example). + The old behavior can be requested by enabling compatibility mode + for &man.expr.1; as described in + &man.check.utility.compat.3;. &man.fbtab.5; now accepts glob matching patterns for target devices, not just individual devices and directories. @@ -3088,8 +3090,13 @@ options HZ=1000 # not compulsory but strongly recommended from NetBSD. By creating an &man.nsswitch.conf.5; file, &os; can be configured so that various databases such as &man.passwd.5; and &man.group.5; can be looked up using flat - files, NIS, or Hesiod. The old - hosts.conf file is no longer used. + files, NIS, or Hesiod. If /etc/nsswitch.conf + does not exist, it will be automatically generated from an existing + /etc/hosts.conf at system startup time. The + /etc/hosts.conf file may be used by old + executables; it will be automatically generated from + an existing /etc/nsswitch.conf during + system startup if it exists. &man.od.1; now supports the option to specify the input address base, the option to diff --git a/release/doc/en_US.ISO8859-1/relnotes/common/new.sgml b/release/doc/en_US.ISO8859-1/relnotes/common/new.sgml index e66772e46cee..efb405d4a9f5 100644 --- a/release/doc/en_US.ISO8859-1/relnotes/common/new.sgml +++ b/release/doc/en_US.ISO8859-1/relnotes/common/new.sgml @@ -2325,7 +2325,7 @@ options HZ=1000 # not compulsory but strongly recommended A &man.check.utility.compat.3; library function has been added to libc, to determine - whether a named utility should behave in &os; 4-compatible mode + whether certain &os; base system utilities should behave in &os; 4-compatible mode or in a standard mode (default standard). The configuration is done &man.malloc.3;-style, with either an environment variable or a symbolic link. @@ -2468,13 +2468,15 @@ options HZ=1000 # not compulsory but strongly recommended maintainable. These scripts now reside in /etc/periodic/security/. &merged; - &man.expr.1; is now compliant with the POSIX Utility Syntax - Guidelines. Some programs depend on the old, historic behavior + &man.expr.1; is now compliant with POSIX.2-1992 (and thus + also with POSIX.1-2001). Some program depend on the old, + historic behavior and do not properly protect their arguments to + keep them from being misinterpreted as command-line options. (the devel/libtool - port/package was/is a notable example). In these situations, - the EXPR_COMPAT environment variable can be - defined, which causes &man.expr.1; to behave more like previous - versions. + port/package, used by many GNU programs, is a notable example). + The old behavior can be requested by enabling compatibility mode + for &man.expr.1; as described in + &man.check.utility.compat.3;. &man.fbtab.5; now accepts glob matching patterns for target devices, not just individual devices and directories. @@ -3088,8 +3090,13 @@ options HZ=1000 # not compulsory but strongly recommended from NetBSD. By creating an &man.nsswitch.conf.5; file, &os; can be configured so that various databases such as &man.passwd.5; and &man.group.5; can be looked up using flat - files, NIS, or Hesiod. The old - hosts.conf file is no longer used. + files, NIS, or Hesiod. If /etc/nsswitch.conf + does not exist, it will be automatically generated from an existing + /etc/hosts.conf at system startup time. The + /etc/hosts.conf file may be used by old + executables; it will be automatically generated from + an existing /etc/nsswitch.conf during + system startup if it exists. &man.od.1; now supports the option to specify the input address base, the option to