mirror of
https://codeberg.org/TicklishHoneyBee/CLIte.git
synced 2026-03-11 09:04:37 +00:00
cc should set executable perms on output
This commit is contained in:
parent
aac0fd25af
commit
0cc4c192d2
2 changed files with 5 additions and 3 deletions
|
|
@ -80,6 +80,8 @@ Options:
|
|||
return false;
|
||||
}
|
||||
|
||||
stdio.fchmod(fd,clite.modestr('-rwxr-xr-x'));
|
||||
|
||||
stdio.close(fd);
|
||||
|
||||
return true;
|
||||
|
|
@ -102,7 +104,7 @@ Options:
|
|||
link = false;
|
||||
break;
|
||||
default:
|
||||
stdio.fprintf(io.stderr,'unknown argument: -%c\n',argv[i][j]);
|
||||
stdio.fprintf(io.stderr,'Error: Unknown argument: -%c\n',argv[i][j]);
|
||||
}
|
||||
}
|
||||
}else if (ofile === true) {
|
||||
|
|
|
|||
|
|
@ -88,7 +88,7 @@ Options:
|
|||
var done = false;
|
||||
for (var i=0; i<line.length; i++) {
|
||||
if (i == cursor_col) {
|
||||
cursor_line_real = rows;
|
||||
cursor_line_real += rows;
|
||||
cursor_col_real = cl;
|
||||
done = true;
|
||||
}
|
||||
|
|
@ -134,7 +134,7 @@ Options:
|
|||
}
|
||||
}
|
||||
if (!done) {
|
||||
cursor_line_real = rows;
|
||||
cursor_line_real += rows;
|
||||
cursor_col_real = cl;
|
||||
}
|
||||
curses.addstr(disp+'\n');
|
||||
|
|
|
|||
Loading…
Reference in a new issue