Re: [dev] [sup] [PATCH] make sup usable in most distros.

From: Eric Pruitt <eric.pruitt_AT_gmail.com>
Date: Sat, 15 Mar 2014 17:28:02 -0500

On Fri, Mar 14, 2014 at 03:49:43PM +0100, Markus Teich wrote:
> + if (stat (cmd, &st) == -1)
> return die (1, "lstat", "cannot stat program");
> - if (st.st_mode & 0222)
> + if (st.st_mode & 0022)
> return die (1, "stat", "cannot run writable binaries.");

You should probably change "lstat" in the "die" call to reflect the
correct function name.

Eric
Received on Sat Mar 15 2014 - 23:28:02 CET

This archive was generated by hypermail 2.3.0 : Sat Mar 15 2014 - 23:36:06 CET