DEBUG(0, ("Required %d, available %d\n",
srclen, destlen));
break;
+#ifdef EILSEQ
case EILSEQ: reason="Illegal myltybyte sequence"; break;
+#endif
}
DEBUG(0,("Conversion error:%s(%s)\n",reason,inbuf));
/* smb_panic(reason); */
} weird_table[] = {
{'q', "^q^", 3},
{'Q', "^Q^", 3},
- {'x', "\\.q\\.", 5},
- {'X', "\\.Z\\.", 5},
{0, NULL}
};
weird_table[i].len) == 0) {
if (*inbytesleft < weird_table[i].len) {
DEBUG(0,("ERROR: truncated weird string\n"));
- smb_panic("weird_pull");
+ /* smb_panic("weird_pull"); */
} else {
(*outbuf)[0] = weird_table[i].from;
(*inbuf)[1] == 0) {
if (*outbytesleft < weird_table[i].len) {
DEBUG(0,("No room for weird character\n"));
- smb_panic("weird_push");
+ /* smb_panic("weird_push"); */
} else {
memcpy(*outbuf, weird_table[i].to,
weird_table[i].len);