mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-31 22:35:10 +00:00
Retain NL to NLCR conversion on the real tty and skip it on the pty
we allocate. That way, if stdout is not a pty there are no extra carriage returns.
This commit is contained in:
4
sudo.h
4
sudo.h
@@ -332,9 +332,9 @@ int script_execv __P((char *, char **));
|
||||
void script_nextid __P((void));
|
||||
void script_setup __P((void));
|
||||
int term_cbreak __P((int));
|
||||
int term_copy __P((int, int));
|
||||
int term_copy __P((int, int, int));
|
||||
int term_noecho __P((int));
|
||||
int term_raw __P((int));
|
||||
int term_raw __P((int, int));
|
||||
int term_restore __P((int));
|
||||
char *get_timestr __P((time_t, int));
|
||||
YY_DECL;
|
||||
|
Reference in New Issue
Block a user