diff options
author | Christian Biesinger <cbiesinger@google.com> | 2019-08-13 14:00:58 -0500 |
---|---|---|
committer | Christian Biesinger <cbiesinger@google.com> | 2019-08-13 14:57:03 -0500 |
commit | 011168429859e3e3a2342ee043cbc2c7a5cf5e2f (patch) | |
tree | 2416f8a0c28fa08ad6e6a1d08798bd736f876561 /readline/rlprivate.h | |
parent | 29c9291108487e1dd9bc5677dafee58ea2068f77 (diff) | |
download | gdb-011168429859e3e3a2342ee043cbc2c7a5cf5e2f.zip gdb-011168429859e3e3a2342ee043cbc2c7a5cf5e2f.tar.gz gdb-011168429859e3e3a2342ee043cbc2c7a5cf5e2f.tar.bz2 |
[readline] Fix compilation on MinGW
S_ISLNK should not be called outside of an #ifdef.
However, this specific call is actually unnecessary, because
linkok can only be 0 if S_ISLNK is true, per the code above.
I have sent a bug report to bug-readline, though it does not show
up in the online archive yet.
2019-08-13 Christian Biesinger <cbiesinger@google.com>
* colors.c (_rl_print_color_indicator): Remove unnecessary
S_ISLNK check to fix compilation on MinGW.
Diffstat (limited to 'readline/rlprivate.h')
0 files changed, 0 insertions, 0 deletions