Commit 2a1419d7 authored by Simon Middleton's avatar Simon Middleton
Browse files

Changed copyright messages.

Stopped  version string from including the space at the end
unnecessarily. This fix means that this code now works!
Previously the version string with the space wasn't matched
correctly by the daemon and so it failed with no errors.
This code will still fail if branmch development goes on.
Suggest that someone fix the daemon by then.

Version 0.04. Tagged as 'remotedb-0_04'
parent da5b925c
/* (0.03)
/* (0.04)
*
* This file is automatically maintained by srccommit, do not edit manually.
*
*/
#define Module_MajorVersion_CMHG 0.03
#define Module_MajorVersion_CMHG 0.04
#define Module_MinorVersion_CMHG
#define Module_Date_CMHG 05 Nov 1998
#define Module_Date_CMHG 24 Feb 1999
#define Module_MajorVersion "0.03"
#define Module_Version 3
#define Module_MajorVersion "0.04"
#define Module_Version 4
#define Module_MinorVersion ""
#define Module_Date "05 Nov 1998"
#define Module_Date "24 Feb 1999"
......@@ -13,12 +13,12 @@
* limitations under the License.
*/
/************************************************************************/
/* Copyright 1996 Acorn Computers Ltd */
/* Copyright 1997-1999 Element 14 Ltd */
/* */
/* This material is the confidential trade secret and proprietary */
/* information of Acorn Computers. It may not be reproduced, used */
/* information of Element 14 Ltd. It may not be reproduced, used */
/* sold, or transferred to any third party without the prior written */
/* consent of Acorn Computers. All rights reserved. */
/* consent of Element 14 Ltd. All rights reserved. */
/* */
/************************************************************************/
......@@ -39,9 +39,14 @@
#include "VersionNum"
/* Gives the version number an extra space if there's no minor version number
but I can't figure how to get the preprocessor to fix this */
static const char REMOTE_DEBUG_VERSION[] = Module_MajorVersion " " Module_MinorVersion;
/* If macro value is empty, expression rewrites to "0 * + 1" which is zero. */
#if 0 * Module_MinorVersion_CMHG + 1 == 0
# define VSN Module_MajorVersion
#else
# define VSN Module_MajorVersion " " Module_MinorVersion
#endif
static const char REMOTE_DEBUG_VERSION[] = VSN;
#define REMOTE_DEBUG_MAX_LINE (10*1024)
......@@ -321,7 +326,7 @@ remote_debug_open(char *info, debug_session **db_sess)
/*
* send initial opening message
*/
debug_printf(sess,"(6) Open Version %s",REMOTE_DEBUG_VERSION);
debug_printf(sess,"(6) Open Version %s", REMOTE_DEBUG_VERSION);
*db_sess = sess;
......
......@@ -13,12 +13,12 @@
* limitations under the License.
*/
/************************************************************************/
/* Copyright 1996 Acorn Computers Ltd */
/* Copyright 1997-1999 Element 14 Ltd */
/* */
/* This material is the confidential trade secret and proprietary */
/* information of Acorn Computers. It may not be reproduced, used */
/* information of Element 14 Ltd. It may not be reproduced, used */
/* sold, or transferred to any third party without the prior written */
/* consent of Acorn Computers. All rights reserved. */
/* consent of Element 14 Ltd. All rights reserved. */
/* */
/************************************************************************/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment