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

closed-fixed
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.

     
  • William McBrine

    William McBrine - 2007-05-14
    • assigned_to: nobody --> rexx
    • status: closed --> closed-fixed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks