Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#17 Bad return value from noecho() (win32)

closed-fixed
Mark Hessling
None
5
2007-05-14
2002-10-18
No

The function noecho() does not return OK. This is due
to a faulty macro:

# define noecho() (SP->echo = FALSE)

I would fix this by changing this macro to:

# define noecho() (SP->echo = FALSE, OK)

The macro for echo() should probably do the same,
though, but blind chance TRUE == OK....

# define echo() (SP->echo = TRUE)

should probably read:

# define echo() (SP->echo = TRUE, OK)

Thanks, Warren.

Discussion

  • Mark Hessling
    Mark Hessling
    2002-10-28

    • status: open --> closed
     
  • Mark Hessling
    Mark Hessling
    2002-10-28

    Logged In: YES
    user_id=86185

    Fixed. Will be available in next release; 2.6.

     
    • assigned_to: nobody --> rexx
    • status: closed --> closed-fixed