[PATCH] elkscmd: ash: fixes for bcc 0.16.15

claudio
2004-06-02T13:01:27Z

The latest bcc compiles this code correctly.

diff -rud elkscmd.orig/ash/expand.c elkscmd/ash/expand.c
--- elkscmd.orig/ash/expand.c 2004-05-27 23:41:26.000000000 -0300
+++ elkscmd/ash/expand.c 2004-06-02 09:37:47.000000000 -0300
@@ -489,19 +489,12 @@
while (*p)
STPUTC(*p++, expdest);
break;
-#if 0
- /*
- * 19980209 Claudio Matsuoka <claudio@conectiva.com>
- * FIXME: Commented out due to problems with bcc (illegal
- * indirect to indirect: mov byte ptr -1[si],#_optchar[bx]).
- */
case '-':
for (i = 0 ; optchar[i] ; i++) {
if (optval[i])
STPUTC(optchar[i], expdest);
}
break;
-#endif
case '@':
if (allow_split) {
sep = '\0';