Welcome, Guest. Please login or register.

Author Topic: Cleaning IORequests dillema/CreateExtIO bug ?  (Read 2234 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show all replies
    • http://www.iki.fi/sintonen/
Re: Cleaning IORequests dillema/CreateExtIO bug ?
« on: September 30, 2005, 03:48:40 PM »
Hmm. Both versions work just fine here, both SAS/C / C= amiga.lib and ppc-morphos-gcc / our amiga.lib replacement libabox.

I did spot a bug though: If CreateMsgPort fails, DeleteExtIO/DeleteIORequest is called with random pointer.
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show all replies
    • http://www.iki.fi/sintonen/
Re: Cleaning IORequests dillema/CreateExtIO bug ?
« Reply #1 on: September 30, 2005, 06:00:23 PM »
CreateIORequest is standard exec function: All platforms set ln_Type to NT_REPLYMSG. If they don't, the OS is buggy.