Ignore:
Timestamp:
Apr 22, 2007, 10:57:48 AM (19 years ago)
Author:
bird
Message:

Applied patch from Paul (aka Creeping).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/essentials/dev-lang/perl/os2/OS2/Process/Process.xs

    r3187 r3188  
    221221    PIB *pib;
    222222   
     223
    223224    if (!(_emx_env & 0x200)) return (char*)ptypes[1]; /* not OS/2. */
     225
    224226    if (CheckOSError(DosGetInfoBlocks(&tib, &pib)))
    225227        return NULL;
     
    234236    ULONG apptype;
    235237   
     238
    236239    if (!(_emx_env & 0x200))
    237240        croak("file_type not implemented on DOS"); /* not OS/2. */
     241
    238242    if (CheckOSError(DosQueryAppType(path, &apptype))) {
    239243#if 0
     
    481485         HSWITCH hSwitch;   
    482486
     487
    483488         if (!(_emx_env & 0x200))
    484489             croak("switch_entry not implemented on DOS"); /* not OS/2. */
     490
    485491         if (CheckWinError(hSwitch =
    486492                           myWinQuerySwitchHandle(hwnd, pid)))
     
    683689    SWENTRY swentry;
    684690
     691
    685692    if (!(_emx_env & 0x200))
    686693             croak("process_swentry not implemented on DOS"); /* not OS/2. */
     694
     695
    687696    fill_swentry(&swentry, hwnd, pid);
    688697    return newSVpvn((char*)&swentry, sizeof(swentry));
     
    697706    SV *sv = newSVpvn("",0);
    698707
     708
    699709    if (!(_emx_env & 0x200))
    700710             croak("swentries_list not implemented on DOS"); /* not OS/2. */
     711
    701712    if (!pWinQuerySwitchList)
    702713        AssignFuncPByORD(pWinQuerySwitchList, ORD_WinQuerySwitchList);
     
    759770    ULONG rc;                   /* For CheckOSError */
    760771
     772
    761773    if (!(_emx_env & 0x200))
    762774             croak("change_entry() not implemented on DOS"); /* not OS/2. */
     775
    763776    if (!pWinChangeSwitchEntry)
    764777        AssignFuncPByORD(pWinChangeSwitchEntry, ORD_WinChangeSwitchEntry);
Note: See TracChangeset for help on using the changeset viewer.