[prev in list] [next in list] [prev in thread] [next in thread] 

List:       samba-vms
Subject:    BUGFIX: locktest.c from Jul 9th CVS snapshot.
From:       "John E. Malmberg" <malmberg () Encompasserve ! org>
Date:       2001-07-10 14:03:51
[Download RAW message or body]

The following changes were needed to get SAMBA 2.2.x Jul 9th CVS snapshot
to compile on OpenVMS 7.2-1 Alpha using Compaq C Version 6.4-005.

Note that this is just for compiling.  I still have a bit of work to do to
get it to actually run.

Compaq C is common to Tru-64 Unix, Linux on Alpha, and OpenVMS.
------------

LOCKTEST.C

There is an extra semicolon on the #define for LOCKBASE

The way the initializer for the structure is conditionally compiled out
produces a syntax error on Compaq C.  This patch fixes it.

LOCKTEST_C.DIFF
************
File PROJECT_ROOT:[SAMBA_VMS.SOURCE]LOCKTEST.C;1
   37   #define LOCKBASE 0;
   38
******
File PROJECT_ROOT:[SAMBA_VMS.SOURCE.UTILS]LOCKTEST.C;1
   37   #define LOCKBASE 0
   38
************
************
File PROJECT_ROOT:[SAMBA_VMS.SOURCE]LOCKTEST.C;1
   68   #endif
******
File PROJECT_ROOT:[SAMBA_VMS.SOURCE.UTILS]LOCKTEST.C;1
   68   #else
   69   0
   70   #endif
************

Number of difference sections found: 2
Number of difference records found: 3

DIFFERENCES /IGNORE=()/MERGED=1/OUTPUT=PROJECT_ROOT:[SAMBA_VMS.SOURCE]LOCKTEST_C.DIFF;1-
    PROJECT_ROOT:[SAMBA_VMS.SOURCE]LOCKTEST.C;1-
    PROJECT_ROOT:[SAMBA_VMS.SOURCE.UTILS]LOCKTEST.C;1

-John
wb8tyw@qsl.network
Personal Opinion Only

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic