diff options
author | kan <kan@FreeBSD.org> | 2011-06-19 13:35:46 +0000 |
---|---|---|
committer | kan <kan@FreeBSD.org> | 2011-06-19 13:35:46 +0000 |
commit | 92d29093280cc14ccdb91f166332c07fc3b2370a (patch) | |
tree | 3bc323a0fd631c5d744d0899f650996dc54f0f73 /lib/libc/iconv/iconv.c | |
parent | 13e3e9fd0231fda3d7f7dec351a439b26fe94d34 (diff) | |
download | FreeBSD-src-92d29093280cc14ccdb91f166332c07fc3b2370a.zip FreeBSD-src-92d29093280cc14ccdb91f166332c07fc3b2370a.tar.gz |
Put a quick bandaid on internal citrus locking.
The code is not quite right still, but it programs from deadlocking
on themselves if one enables new citrus code by mistake.
Diffstat (limited to 'lib/libc/iconv/iconv.c')
-rw-r--r-- | lib/libc/iconv/iconv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/iconv/iconv.c b/lib/libc/iconv/iconv.c index 2cd38df..d1e01e8 100644 --- a/lib/libc/iconv/iconv.c +++ b/lib/libc/iconv/iconv.c @@ -85,7 +85,7 @@ _iconv_open(const char *out, const char *in, struct _citrus_iconv *prealloc) errno = ENOMEM; return ((iconv_t)-1); } - + p = out_truncated; while (*p != 0) { if (p[0] == '/' && p[1] == '/') { |