Martin Guy wrote:
main_loop.c: In function 'exec_command':
main_loop.c:611: warning: ignoring return value of 'system', declared
with attribute warn_unused_result

Dunno if that matters

My version of gcc does not warn about this, but I have just checked and the return value of 'system' has been ignored by GNU ed since version 0.1.

Of course I would like to fix this. Please, what do you all think should do ed in case 'system' fails to execute succesfully? Ignoring it like now and shut-up the compiler warning, or perhaps showing an error message like "can't execute command"?


Thanks,
Antonio.

_______________________________________________
bug-ed mailing list
bug-ed@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-ed

Reply via email to