Changeset 1691 for trunk/src


Ignore:
Timestamp:
Nov 10, 1999, 5:39:46 PM (26 years ago)
Author:
phaller
Message:

Fix: SetLastError/GetLastError behaviour changed

Location:
trunk/src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/wprocess.cpp

    r1687 r1691  
    1 /* $Id: wprocess.cpp,v 1.47 1999-11-10 14:16:01 sandervl Exp $ */
     1/* $Id: wprocess.cpp,v 1.48 1999-11-10 16:38:36 phaller Exp $ */
    22
    33/*
     
    132132   thdb->teb_sel         = tibsel;
    133133   thdb->OrgTIBSel       = GetFS();
     134   thdb->pWsockData      = NULL;
    134135
    135136   if(OSLibGetPIB(PIB_TASKTYPE) == TASKTYPE_PM)
  • trunk/src/wsock32/wsock32.cpp

    r1690 r1691  
    1 /* $Id: wsock32.cpp,v 1.12 1999-11-10 16:36:15 phaller Exp $ */
     1/* $Id: wsock32.cpp,v 1.13 1999-11-10 16:39:46 phaller Exp $ */
    22
    33/*
     
    1212 *                      1.0.1   1999/04/27 VV cleanup and implement select.
    1313 *
     14 */
     15
     16/* Remark:
     17 * PH 1999/11/10 memory leak as WSOCKTHREADDATA is NOT yet
     18 *               freed when thread dies!
     19 * PH 1999/11/10 asyncSelect() still left to proper implementation
    1420 */
    1521
  • trunk/src/wsock32/wsock32.h

    r1451 r1691  
    1 /* $Id: wsock32.h,v 1.6 1999-10-25 23:17:19 phaller Exp $ */
     1/* $Id: wsock32.h,v 1.7 1999-11-10 16:36:16 phaller Exp $ */
    22
    33/* WSOCK32.H--definitions & conversions for Odin's wsock32.dll.
     
    542542int    WIN32API  OS2WSAStartup(WORD wVersionRequired, LPWSADATA lpWSAData);
    543543int    WIN32API  OS2WSACleanup(void);
    544 void   WIN32API  OS2WSASetLastError(int iError);
    545 int    WIN32API  OS2WSAGetLastError(void);
    546544BOOL   WIN32API  OS2WSAIsBlocking(void);
    547545int    WIN32API  OS2WSAUnhookBlockingHook(void);
  • trunk/src/wsock32/wsock32const.h

    r1451 r1691  
    1 /* $Id: wsock32const.h,v 1.3 1999-10-25 23:17:20 phaller Exp $ */
     1/* $Id: wsock32const.h,v 1.4 1999-11-10 16:36:16 phaller Exp $ */
    22
    33/* WSOCK32.H--definitions & conversions for Odin's wsock32.dll.
     
    1515#ifndef _WINSOCK32CONST_
    1616#define _WINSOCK32CONST_
     17
     18
     19/* Microsoft Windows Extension function prototypes */
     20void   WIN32API     WSASetLastError(int iError);
     21int    WIN32API     WSAGetLastError(void);
     22
    1723
    1824/*
Note: See TracChangeset for help on using the changeset viewer.