Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/xstr Be the wiz. Update the date. New sentence, new ...



details:   https://anonhg.NetBSD.org/src/rev/9a855b9b3ffd
branches:  trunk
changeset: 567256:9a855b9b3ffd
user:      fair <fair%NetBSD.org@localhost>
date:      Sun Jun 06 08:19:56 2004 +0000

description:
Be the wiz. Update the date. New sentence, new line. Slightly
clarify the circumstances under which the compiler/linker will
merge strings (identical & read-only; how could it do otherwise?)

This, and the other stuff Christos has done is partly an answer
to PR 25835.

diffstat:

 usr.bin/xstr/xstr.1 |  11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diffs (36 lines):

diff -r 2a2841e565af -r 9a855b9b3ffd usr.bin/xstr/xstr.1
--- a/usr.bin/xstr/xstr.1       Sun Jun 06 07:09:55 2004 +0000
+++ b/usr.bin/xstr/xstr.1       Sun Jun 06 08:19:56 2004 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: xstr.1,v 1.13 2004/06/06 07:09:02 christos Exp $
+.\"    $NetBSD: xstr.1,v 1.14 2004/06/06 08:19:56 fair Exp $
 .\"
 .\" Copyright (c) 1980, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\"     @(#)xstr.1     8.2 (Berkeley) 12/30/93
 .\"
-.Dd December 30, 1993
+.Dd June 6, 2004
 .Dt XSTR 1
 .Os
 .Sh NAME
@@ -176,8 +176,8 @@
 .Pp
 Also,
 .Nm
-cannot initialize structures and unions that contain strings. Those can
-be fixed by changing from:
+cannot initialize structures and unions that contain strings.
+Those can be fixed by changing from:
 .Bd -literal
        struct foo {
                int i;
@@ -209,4 +209,5 @@
 Finally,
 .Nm
 is not very useful these days because most of the string merging is done
-automatically by the compiler and the linker.
+automatically by the compiler and the linker, provided that the strings
+are identical and read-only.



Home | Main Index | Thread Index | Old Index