bug-readline
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-readline] Compile fix for SGI MIPSPro


From: Davor Ocelic
Subject: [Bug-readline] Compile fix for SGI MIPSPro
Date: Sun, 7 Oct 2007 15:39:39 -0400
User-agent: Mutt/1.5.13 (2006-08-11)

Hello,

Readline version: readline-5.2_p4-r00.1
OS/Platform/Compiler: SGI IRIX 6.5 / MIPSPro 7.4.4m

The compilation with c99 fails on rlfe.c line 763, 

  shellopts = index( ... )

A cast is needed even though shellopts is declared char* and the man
page claims index() returns char*.

So the simple patch is:

  shellopts = (char *)index( ... )


Thanks,
-doc




reply via email to

[Prev in Thread] Current Thread [Next in Thread]