Ignore:
Timestamp:
Sep 2, 2016, 11:44:25 AM (9 years ago)
Author:
Silvan Scherrer
Message:

Samba server: remove exceptq handling, as now globaly installed when using libcx. And libcx is mandatory for samba

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/server/lib/tdb/tools/tdbtorture.c

    r906 r978  
    22   writers - that stresses the locking code.
    33*/
    4 
    5 #ifdef __OS2__
    6 #define INCL_DOSEXCEPTIONS
    7 #define INCL_DOSPROCESS
    8 #define INCL_DOSMODULEMGR
    9 #define INCL_LOADEXCEPTQ
    10 #define INCL_FORKEXCEPTQ
    11 #include <os2.h>
    12 #include <exceptq.h>
    13 #endif
    144
    155#include "replace.h"
     
    245235static int run_child(const char *filename, int i, int seed, unsigned num_loops, unsigned start)
    246236{
    247 #ifdef __OS2__
    248         EXCEPTIONREGISTRATIONRECORD ExRegRec;
    249         LoadExceptq(&ExRegRec, NULL, NULL);
    250 #endif
    251237        db = tdb_open_ex(filename, hash_size, TDB_DEFAULT,
    252238                         O_RDWR | O_CREAT, 0600, &log_ctx, NULL);
     
    286272        tdb_close(db);
    287273
    288 #ifdef __OS2__
    289         UninstallExceptq(&ExRegRec);
    290 #endif
    291274        return (error_count < 100 ? error_count : 100);
    292275}
     
    323306
    324307        log_ctx.log_fn = tdb_log;
    325 #ifdef __OS2__
    326         EXCEPTIONREGISTRATIONRECORD ExRegRec;
    327         LoadExceptq(&ExRegRec, NULL, NULL);
    328 #endif
    329308
    330309        while ((c = getopt(argc, argv, "n:l:s:H:thk")) != -1) {
     
    475454
    476455        free(test_tdb);
    477 #ifdef __OS2__
    478         UninstallExceptq(&ExRegRec);
    479 #endif
    480456        return error_count;
    481457}
Note: See TracChangeset for help on using the changeset viewer.