[readline] Fix compilation on MinGW
authorChristian Biesinger <cbiesinger@google.com>
Tue, 13 Aug 2019 19:00:58 +0000 (14:00 -0500)
committerChristian Biesinger <cbiesinger@google.com>
Tue, 13 Aug 2019 19:57:03 +0000 (14:57 -0500)
commit011168429859e3e3a2342ee043cbc2c7a5cf5e2f
tree2416f8a0c28fa08ad6e6a1d08798bd736f876561
parent29c9291108487e1dd9bc5677dafee58ea2068f77
[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.
readline/ChangeLog.gdb
readline/colors.c
This page took 0.030464 seconds and 4 git commands to generate.