The following reply was made to PR bin/25542; it has been noted by GNATS.
From: Valentin Davydov <
sp@...>
To:
bug-followup@...,
sp@...
Cc: Jilles Tjoelker <
jilles@...>
Subject: Re: bin/25542: sh(1) null char in quoted string
Date: Mon, 27 Jul 2009 22:50:54 +0400 (MSD)
At Sat, 4 Apr 2009 14:41:43 +0200, Jilles Tjoelker wrote:
>Considering that fixing this would be a lot of work and cannot be done
>completely (for example, argument strings and environment variables
>cannot contain '\0'), I think it is best to close this.
I think, at least documentation issue mentioned in the original PR 25542
can be corrected easy. Here is the patch:
--- src/bin/sh/sh.1.orig 2007-12-05 17:29:07.000000000 +0300
+++ src/bin/sh/sh.1 2009-07-27 22:36:39.000000000 +0400
@@ -2381,4 +2381,6 @@
.Sh BUGS
The
.Nm
-utility does not recognize multibyte characters.
+utility does not recognize multibyte characters.
+ASCII <NULL> character in input strings, parameters etc. can be mishandled by
+.Nm .
_______________________________________________
freebsd-standards@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-standardsTo unsubscribe, send any mail to "
freebsd-standards-unsubscribe@..."