--- rpl/src/instructions_r3.c 2010/08/06 15:33:02 1.15 +++ rpl/src/instructions_r3.c 2010/08/13 21:00:37 1.16 @@ -974,12 +974,24 @@ instruction_recall(struct_processus *s_e unsigned char *chaine; unsigned char *commande; unsigned char *executable_candidat; + +# ifndef OS2 unsigned char *instructions = "%s/bin/rpliconv %s " "`%s/bin/rplfile " "-m %s/share/rplfiles -i %s | awk " "'{ print $3; }' | awk -F= '{ if " "($2 != \"\") printf(\"-f %%s\", $2); }'` " "-t `locale charmap` | %s/bin/%s -o %s"; +# else + unsigned char *instructions = "sh -c \"%s/bin/rpliconv %s " + "`%s/bin/rplfile " + "-m %s/share/rplfiles -i %s | awk " + "'{ print $3; }' | awk -F= '{ if " + "($2 != \\\"\\\") printf(\\\"-f %%s\\\", " + "$2); }'` -t `" d_locale + "` | %s/bin/%s -o %s\""; +# endif + unsigned char *nom_fichier_temporaire; unsigned char *tampon_definitions_chainees; unsigned char *tampon_instruction_courante;