Changeset 843 for trunk/server/source3


Ignore:
Timestamp:
Feb 7, 2014, 5:18:05 PM (12 years ago)
Author:
Silvan Scherrer
Message:

Samba Server 3.6: initial exceptq suport

Location:
trunk/server/source3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/server/source3/nmbd/nmbd.c

    r834 r843  
    1919   along with this program.  If not, see <http://www.gnu.org/licenses/>.
    2020*/
     21#ifdef __OS2__
     22#define INCL_DOSEXCEPTIONS
     23#define INCL_DOSPROCESS
     24#define INCL_DOSMODULEMGR
     25#define INCL_LOADEXCEPTQ
     26#define INCL_FORKEXCEPTQ
     27#include "os2.h"
     28#include "exceptq.h"
     29#undef FILE_CREATE
     30#undef FILE_OPEN
     31#endif
    2132
    2233#include "includes.h"
     
    780791        NTSTATUS status;
    781792
     793#ifdef __OS2__
     794        EXCEPTIONREGISTRATIONRECORD *pExRegRec;
     795        LoadExceptq(pExRegRec, NULL, NULL);
     796#endif
     797
    782798        /*
    783799         * Do this before any other talloc operation
     
    10331049
    10341050        kill_async_dns_child();
     1051
     1052#ifdef __OS2__
     1053        if (pExRegRec != NULL)
     1054                UninstallExceptq(pExRegRec);
     1055#endif
    10351056        return(0);
    10361057}
  • trunk/server/source3/smbd/server.c

    r757 r843  
    2121   along with this program.  If not, see <http://www.gnu.org/licenses/>.
    2222*/
     23#ifdef __OS2__
     24#define INCL_DOSEXCEPTIONS
     25#define INCL_DOSPROCESS
     26#define INCL_DOSMODULEMGR
     27#define INCL_LOADEXCEPTQ
     28#define INCL_FORKEXCEPTQ
     29#include "os2.h"
     30#include "exceptq.h"
     31#undef FILE_CREATE
     32#undef FILE_OPEN
     33#endif
    2334
    2435#include "includes.h"
     
    898909        NTSTATUS status;
    899910
     911#ifdef __OS2__
     912        EXCEPTIONREGISTRATIONRECORD *pExRegRec;
     913        LoadExceptq(pExRegRec, NULL, NULL);
     914#endif
    900915        /*
    901916         * Do this before any other talloc operation
     
    13201335        exit_server_cleanly(NULL);
    13211336        TALLOC_FREE(frame);
     1337#ifdef __OS2__
     1338        if (pExRegRec != NULL)
     1339                UninstallExceptq(pExRegRec);
     1340#endif
    13221341        return(0);
    13231342}
Note: See TracChangeset for help on using the changeset viewer.