Changeset 978
- Timestamp:
- Sep 2, 2016, 11:44:25 AM (9 years ago)
- Location:
- trunk/server
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/server/lib/tdb/tools/tdbtorture.c
r906 r978 2 2 writers - that stresses the locking code. 3 3 */ 4 5 #ifdef __OS2__6 #define INCL_DOSEXCEPTIONS7 #define INCL_DOSPROCESS8 #define INCL_DOSMODULEMGR9 #define INCL_LOADEXCEPTQ10 #define INCL_FORKEXCEPTQ11 #include <os2.h>12 #include <exceptq.h>13 #endif14 4 15 5 #include "replace.h" … … 245 235 static int run_child(const char *filename, int i, int seed, unsigned num_loops, unsigned start) 246 236 { 247 #ifdef __OS2__248 EXCEPTIONREGISTRATIONRECORD ExRegRec;249 LoadExceptq(&ExRegRec, NULL, NULL);250 #endif251 237 db = tdb_open_ex(filename, hash_size, TDB_DEFAULT, 252 238 O_RDWR | O_CREAT, 0600, &log_ctx, NULL); … … 286 272 tdb_close(db); 287 273 288 #ifdef __OS2__289 UninstallExceptq(&ExRegRec);290 #endif291 274 return (error_count < 100 ? error_count : 100); 292 275 } … … 323 306 324 307 log_ctx.log_fn = tdb_log; 325 #ifdef __OS2__326 EXCEPTIONREGISTRATIONRECORD ExRegRec;327 LoadExceptq(&ExRegRec, NULL, NULL);328 #endif329 308 330 309 while ((c = getopt(argc, argv, "n:l:s:H:thk")) != -1) { … … 475 454 476 455 free(test_tdb); 477 #ifdef __OS2__478 UninstallExceptq(&ExRegRec);479 #endif480 456 return error_count; 481 457 } -
trunk/server/source3/nmbd/nmbd.c
r952 r978 19 19 along with this program. If not, see <http://www.gnu.org/licenses/>. 20 20 */ 21 #ifdef __OS2__22 #define INCL_DOSEXCEPTIONS23 #define INCL_DOSPROCESS24 #define INCL_DOSMODULEMGR25 #define INCL_LOADEXCEPTQ26 #define INCL_FORKEXCEPTQ27 #include "os2.h"28 #include "exceptq.h"29 #undef FILE_CREATE30 #undef FILE_OPEN31 #endif32 21 33 22 #include "includes.h" … … 788 777 NTSTATUS status; 789 778 790 #ifdef __OS2__791 EXCEPTIONREGISTRATIONRECORD ExRegRec;792 LoadExceptq(&ExRegRec, NULL, NULL);793 #endif794 795 779 /* 796 780 * Do this before any other talloc operation … … 1052 1036 kill_async_dns_child(); 1053 1037 1054 #ifdef __OS2__1055 UninstallExceptq(&ExRegRec);1056 #endif1057 1038 return(0); 1058 1039 } -
trunk/server/source3/smbd/server.c
r863 r978 21 21 along with this program. If not, see <http://www.gnu.org/licenses/>. 22 22 */ 23 24 #ifdef __OS2__25 #define INCL_DOSEXCEPTIONS26 #define INCL_DOSPROCESS27 #define INCL_DOSMODULEMGR28 #define INCL_LOADEXCEPTQ29 #define INCL_FORKEXCEPTQ30 #include "os2.h"31 #include "exceptq.h"32 #undef FILE_CREATE33 #undef FILE_OPEN34 #endif35 23 36 24 #include "includes.h" … … 956 944 NTSTATUS status; 957 945 958 #ifdef __OS2__959 EXCEPTIONREGISTRATIONRECORD ExRegRec;960 LoadExceptq(&ExRegRec, NULL, NULL);961 #endif962 946 /* 963 947 * Do this before any other talloc operation … … 1389 1373 exit_server_cleanly(NULL); 1390 1374 TALLOC_FREE(frame); 1391 #ifdef __OS2__1392 UninstallExceptq(&ExRegRec);1393 #endif1394 1375 return(0); 1395 1376 } -
trunk/server/source3/winbindd/winbindd.c
r945 r978 22 22 along with this program. If not, see <http://www.gnu.org/licenses/>. 23 23 */ 24 #ifdef __OS2__25 #define INCL_DOSEXCEPTIONS26 #define INCL_DOSPROCESS27 #define INCL_DOSMODULEMGR28 #define INCL_LOADEXCEPTQ29 #define INCL_FORKEXCEPTQ30 #include "os2.h"31 #include "exceptq.h"32 #undef FILE_CREATE33 #undef FILE_OPEN34 #endif35 24 36 25 #include "includes.h" … … 1257 1246 NTSTATUS status; 1258 1247 1259 #ifdef __OS2__1260 EXCEPTIONREGISTRATIONRECORD ExRegRec;1261 LoadExceptq(&ExRegRec, NULL, NULL);1262 #endif1263 1248 /* 1264 1249 * Do this before any other talloc operation … … 1487 1472 } 1488 1473 1489 #ifdef __OS2__1490 UninstallExceptq(&ExRegRec);1491 #endif1492 1474 return 0; 1493 1475 }
Note:
See TracChangeset
for help on using the changeset viewer.