--- freem/src/jobtab.c 2025/03/09 19:14:25 1.4 +++ freem/src/jobtab.c 2025/04/10 01:24:38 1.6 @@ -1,5 +1,5 @@ /* - * $Id: jobtab.c,v 1.4 2025/03/09 19:14:25 snw Exp $ + * $Id: jobtab.c,v 1.6 2025/04/10 01:24:38 snw Exp $ * job table implementation * * @@ -24,6 +24,12 @@ * along with FreeM. If not, see . * * $Log: jobtab.c,v $ + * Revision 1.6 2025/04/10 01:24:38 snw + * Remove C++ style comments + * + * Revision 1.5 2025/03/24 02:57:49 snw + * Shared memory compatibility fixes for OS/2 + * * Revision 1.4 2025/03/09 19:14:25 snw * First phase of REUSE compliance and header reformat * @@ -40,7 +46,7 @@ #include "shmmgr.h" #include "jobtab.h" -#if !defined(__OpenBSD__) && !defined(__APPLE__) +#if !defined(__OpenBSD__) && !defined(__APPLE__) && !defined(__OS2__) union semun { int val; /* Value for SETVAL */ struct semid_ds *buf; /* Buffer for IPC_STAT, IPC_SET */ @@ -99,7 +105,6 @@ short jobtab_get_sem(void) struct sembuf s = {0, -1, IPC_NOWAIT}; if (have_jobtab_sem) { -// fprintf (stderr, "jobtab_get_sem: this process already owns the job table semaphore\r\n"); return TRUE; }