#478 smart indent macros must not run shell_command()

open
nobody
None
5
2005-05-28
2005-05-28
No

In the definition of shellCmdMS is the following comment
/* Shell command execution requires that the macro be
suspended, so this subroutine can't be run if macro
execution
can't be interrupted */

However, putting shell_command() in a menu definition
you can run it via macro_menu_command() from inside
a smart indent macro. Repeated calls to such macros will
crash nedit eventually.

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks