Fix stair-stepped output when the output of a sudo command is piped
to another command and use_pty is set.
This commit is contained in:
@@ -164,6 +164,9 @@
|
||||
#ifndef _S_IFLNK
|
||||
# define _S_IFLNK S_IFLNK
|
||||
#endif /* _S_IFLNK */
|
||||
#ifndef _S_IFIFO
|
||||
# define _S_IFIFO S_IFIFO
|
||||
#endif /* _S_IFIFO */
|
||||
#ifndef S_ISREG
|
||||
# define S_ISREG(m) (((m) & _S_IFMT) == _S_IFREG)
|
||||
#endif /* S_ISREG */
|
||||
@@ -173,6 +176,9 @@
|
||||
#ifndef S_ISLNK
|
||||
# define S_ISLNK(m) (((m) & _S_IFMT) == _S_IFLNK)
|
||||
#endif /* S_ISLNK */
|
||||
#ifndef S_ISFIFO
|
||||
# define S_ISFIFO(m) (((m) & _S_IFMT) == _S_IFIFO)
|
||||
#endif /* S_ISLNK */
|
||||
#ifndef S_ISTXT
|
||||
# define S_ISTXT 0001000
|
||||
#endif /* S_ISTXT */
|
||||
|
Reference in New Issue
Block a user