diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2008-02-06 22:04:16 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2008-02-06 22:04:16 +0000 |
commit | 93591f420010b0136ac55789a38b356772a13c17 (patch) | |
tree | be7c77c94b3598e411ed0297bb5248d098dc6c28 /winsup/cygwin/miscfuncs.cc | |
parent | fb7331e34c33284b4be9d41a890b8e057a53e812 (diff) | |
download | cygnal-93591f420010b0136ac55789a38b356772a13c17.tar.gz cygnal-93591f420010b0136ac55789a38b356772a13c17.tar.bz2 cygnal-93591f420010b0136ac55789a38b356772a13c17.zip |
* miscfuncs.cc (next_char): Fix typos in comment.
* strfuncs.cc: Remove cygserver guards.
Diffstat (limited to 'winsup/cygwin/miscfuncs.cc')
-rw-r--r-- | winsup/cygwin/miscfuncs.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/miscfuncs.cc b/winsup/cygwin/miscfuncs.cc index 4edfbab94..aa922d703 100644 --- a/winsup/cygwin/miscfuncs.cc +++ b/winsup/cygwin/miscfuncs.cc @@ -219,11 +219,11 @@ is_cp_multibyte (UINT cp) double byte charsets. So we have to do it ourselves for UTF-8. While being at it, we do more. If a double-byte or multibyte - sequence is trucated due to an early end, we need a way to recognize + sequence is truncated due to an early end, we need a way to recognize it. The reason is that multiple buffered write statements might accidentally stop and start in the middle of a single character byte sequence. If we have to interpret the byte sequences (as in - fhandler_console, we would print wrong output in these cases. + fhandler_console), we would print wrong output in these cases. So we have four possible return values here: |