about summary refs log tree commit diff
path: root/iconvdata
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-11-02 22:16:22 +0000
committerUlrich Drepper <drepper@redhat.com>2000-11-02 22:16:22 +0000
commit59a8849de31975aebfc85842b6c87f57a972fd8d (patch)
tree349610648e41a72bd5ea4bff7e1af7e9eaac0508 /iconvdata
parentd5655997148755d00f960ac60ecb58ad9f53be60 (diff)
downloadglibc-59a8849de31975aebfc85842b6c87f57a972fd8d.tar.gz
glibc-59a8849de31975aebfc85842b6c87f57a972fd8d.tar.xz
glibc-59a8849de31975aebfc85842b6c87f57a972fd8d.zip
Update.
2000-11-02  Ulrich Drepper  <drepper@redhat.com>

	* iconvdata/utf-16.c (PREPARE_LOOP): Correct typo preventing BOM from
	being written.

	* manual/socket.texi (Local Namespace Concepts): Don't mention what
	permissions are necessary to connect to a socket.
	Reported by Peter Eisentraut <peter_e@gmx.net>.

	* sysdeps/generic/backtracesyms.c (__backtrace_symbols): Fix
	computation of total for 64-bit machines.
	Patch by Byron Stanoszek <gandalf@winds.org>.

	* manual/arith.texi (Rounding): Correct description of fesetround
	return value.  Patch by Conrado Badenas <Conrado.Badenas@uv.es>.
Diffstat (limited to 'iconvdata')
-rw-r--r--iconvdata/utf-16.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/iconvdata/utf-16.c b/iconvdata/utf-16.c
index aa0d00c119..91e3390cba 100644
--- a/iconvdata/utf-16.c
+++ b/iconvdata/utf-16.c
@@ -45,7 +45,7 @@
   enum direction dir = ((struct utf16_data *) step->__data)->dir;	      \
   enum variant var = ((struct utf16_data *) step->__data)->var;		      \
   int swap = ((struct utf16_data *) step->__data)->swap;		      \
-  if (FROM_DIRECTION || var == UTF_16)					      \
+  if (FROM_DIRECTION && var == UTF_16)					      \
     {									      \
       if (data->__invocation_counter == 0)				      \
 	{								      \