summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2014-03-26 19:07:27 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2014-03-26 19:07:27 +0800
commit239817e066a479afce181657a01364e5fcdd8a97 (patch)
tree02d00b06f7b41634f14dc625486b6718970ed431
parent8082880dd62dcaf8da0ee1f89e5220465be0aef3 (diff)
downloadpttbbs-239817e066a479afce181657a01364e5fcdd8a97.tar
pttbbs-239817e066a479afce181657a01364e5fcdd8a97.tar.gz
pttbbs-239817e066a479afce181657a01364e5fcdd8a97.tar.bz2
pttbbs-239817e066a479afce181657a01364e5fcdd8a97.tar.lz
pttbbs-239817e066a479afce181657a01364e5fcdd8a97.tar.xz
pttbbs-239817e066a479afce181657a01364e5fcdd8a97.tar.zst
pttbbs-239817e066a479afce181657a01364e5fcdd8a97.zip
The real version string is a constant pointer to constant data.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5973 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--pttbbs/util/newvers.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/pttbbs/util/newvers.sh b/pttbbs/util/newvers.sh
index f0f73538..a6c9ca14 100644
--- a/pttbbs/util/newvers.sh
+++ b/pttbbs/util/newvers.sh
@@ -25,5 +25,5 @@ if [ -d ".svn" ] ; then
fi
cat << EOF > vers.c
-char * const compile_time = "${t}";
+const char * const compile_time = "${t}";
EOF