patch-2.1.86 linux/drivers/char/console.c
Next file: linux/drivers/char/istallion.c
Previous file: linux/drivers/char/conmakehash.c
Back to the patch index
Back to the overall index
- Lines: 13
- Date:
Mon Feb 9 16:12:55 1998
- Orig file:
v2.1.85/linux/drivers/char/console.c
- Orig date:
Wed Dec 3 15:21:57 1997
diff -u --recursive --new-file v2.1.85/linux/drivers/char/console.c linux/drivers/char/console.c
@@ -1420,6 +1420,12 @@
/* If we got -4 (not found) then see if we have
defined a replacement character (U+FFFD) */
tc = conv_uni_to_pc(0xfffd);
+
+ /* One reason for the -4 can be that we just
+ did a clear_unimap();
+ try at least to show something. */
+ if (tc == -4)
+ tc = c;
} else if ( tc == -3 ) {
/* Bad hash table -- hope for the best */
tc = c;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov