static bool browse(char *ipath, const char *session, int pkey)
{
- char newpath[PATH_MAX] __attribute__ ((aligned)),
- rundir[PATH_MAX] __attribute__ ((aligned)),
- runfile[NAME_MAX + 1] __attribute__ ((aligned));
+ char *newpath = malloc(PATH_MAX), *rundir = malloc(PATH_MAX), *runfile = malloc(NAME_MAX + 1);
char *path, *lastdir, *lastname, *dir, *tmp;
pEntry pent;
enum action sel;
/* If STDIN is no longer a tty (closed) we should exit */
if (!isatty(STDIN_FILENO) && !g_state.picker)
- return EXIT_FAILURE;
+ return EXIT_FAILURE; // NOLINT
sel = nextsel(presel);
if (presel)