From 0e248f4b64af5c850fc66ad87952115f77422c8d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?=
 <grubba@grubba.org>
Date: Sun, 9 Aug 2009 15:09:58 +0200
Subject: [PATCH] Added missing field for dumping of constants, and bumped
 version to 7.8.335.

Rev: src/encode.c:1.288
Rev: src/version.h:1.845
---
 src/encode.c  | 8 +++++++-
 src/version.h | 4 ++--
 2 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/src/encode.c b/src/encode.c
index 9dd6cf862d..ea32bf2a64 100644
--- a/src/encode.c
+++ b/src/encode.c
@@ -2,7 +2,7 @@
 || This file is part of Pike. For copyright information see COPYRIGHT.
 || Pike is distributed under GPL, LGPL and MPL. See the file COPYING
 || for more information.
-|| $Id: encode.c,v 1.287 2008/10/02 15:49:02 mast Exp $
+|| $Id: encode.c,v 1.288 2009/08/09 13:09:58 grubba Exp $
 */
 
 #include "global.h"
@@ -1556,6 +1556,9 @@ static void encode_value2(struct svalue *val, struct encode_data *data, int forc
 
 		  /* run-time type */
 		  code_number(id->run_time_type, data);
+
+		  /* opt flags */
+		  code_number(id->opt_flags, data);
 		  break;
 
 		case IDENTIFIER_PIKE_FUNCTION:
@@ -4344,6 +4347,9 @@ static void decode_value2(struct decode_data *data)
 		/* run_time_type */
 		decode_number(id.run_time_type, data);
 
+		/* opt_flags */
+		decode_number(id.opt_flags, data);
+
 		/* Expected identifier number. */
 		decode_number(no, data);
 
diff --git a/src/version.h b/src/version.h
index 7ad79aa727..7bb409987c 100644
--- a/src/version.h
+++ b/src/version.h
@@ -2,12 +2,12 @@
 || This file is part of Pike. For copyright information see COPYRIGHT.
 || Pike is distributed under GPL, LGPL and MPL. See the file COPYING
 || for more information.
-|| $Id: version.h,v 1.844 2009/07/06 08:00:33 distmaker Exp $
+|| $Id: version.h,v 1.845 2009/08/09 13:09:58 grubba Exp $
 */
 
 #define PIKE_MAJOR_VERSION 7
 #define PIKE_MINOR_VERSION 8
-#define PIKE_BUILD_VERSION 333
+#define PIKE_BUILD_VERSION 335
 
 /* Prototypes begin here */
 void f_version(INT32 args);
-- 
GitLab