Re: [dev] [sbase] chvt.c does not need to be executable

From: <u_AT_netbeisser.de>
Date: Tue, 25 Jun 2013 23:51:55 +0200

On Tue, Jun 25, 2013 at 08:24:08PM +0200, Jakob Kramer wrote:
> so why keep it executable...

> commit 8512381861878f2123a50a162a0d1ea550157da5
> Author: Jakob Kramer <jakob.kramer_AT_gmx.de>
> Date: Tue Jun 25 20:10:39 2013 +0200
>
> removed executable bits from chvt.c
>
> diff --git a/chvt.c b/chvt.c
> old mode 100755
> new mode 100644

Thanks for catching this. It could have harmed?:

,chmod +x chvt.c
,./chvt.c
./chvt.c: line 10: enum: command not found
./chvt.c: line 11: linux/vt.h: No such file or directory
./chvt.c: line 12: VT_ACTIVATE: command not found
./chvt.c: line 13: VT_WAITACTIVE: command not found
./chvt.c: line 14: linux/kd.h: No such file or directory
./chvt.c: line 15: KDGKBTYPE: command not found
./chvt.c: line 16: syntax error near unexpected token `}'
./chvt.c: line 16: `};'
Received on Tue Jun 25 2013 - 23:51:55 CEST

This archive was generated by hypermail 2.3.0 : Wed Jun 26 2013 - 00:00:14 CEST