aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2008-01-06 16:14:39 +0000
committerdos-reis <gdr@axiomatics.org>2008-01-06 16:14:39 +0000
commit4f65e42b5746b7f327bcab26db5fab02e8f2c546 (patch)
treed4264d75aed915c9ef19b785340a9710cf9f6927
parent3545eca90d734224e7a468251ac686e1ca41d910 (diff)
downloadopen-axiom-4f65e42b5746b7f327bcab26db5fab02e8f2c546.tar.gz
* driver/main.c (main) [__WIN32__]: Fix off-by-one thinko.
-rwxr-xr-xconfigure18
-rw-r--r--configure.ac2
-rw-r--r--configure.ac.pamphlet2
-rw-r--r--src/ChangeLog4
-rw-r--r--src/driver/main.c8
5 files changed, 19 insertions, 15 deletions
diff --git a/configure b/configure
index ce8cfe70..0c4ca8f8 100755
--- a/configure
+++ b/configure
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.60 for OpenAxiom 1.1.0-2008-01-05.
+# Generated by GNU Autoconf 2.60 for OpenAxiom 1.1.0-2008-01-06.
#
# Report bugs to <open-axiom-bugs@lists.sf.net>.
#
@@ -713,8 +713,8 @@ SHELL=${CONFIG_SHELL-/bin/sh}
# Identity of this package.
PACKAGE_NAME='OpenAxiom'
PACKAGE_TARNAME='openaxiom'
-PACKAGE_VERSION='1.1.0-2008-01-05'
-PACKAGE_STRING='OpenAxiom 1.1.0-2008-01-05'
+PACKAGE_VERSION='1.1.0-2008-01-06'
+PACKAGE_STRING='OpenAxiom 1.1.0-2008-01-06'
PACKAGE_BUGREPORT='open-axiom-bugs@lists.sf.net'
ac_unique_file="src/Makefile.pamphlet"
@@ -1387,7 +1387,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures OpenAxiom 1.1.0-2008-01-05 to adapt to many kinds of systems.
+\`configure' configures OpenAxiom 1.1.0-2008-01-06 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1457,7 +1457,7 @@ fi
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of OpenAxiom 1.1.0-2008-01-05:";;
+ short | recursive ) echo "Configuration of OpenAxiom 1.1.0-2008-01-06:";;
esac
cat <<\_ACEOF
@@ -1561,7 +1561,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-OpenAxiom configure 1.1.0-2008-01-05
+OpenAxiom configure 1.1.0-2008-01-06
generated by GNU Autoconf 2.60
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -1575,7 +1575,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by OpenAxiom $as_me 1.1.0-2008-01-05, which was
+It was created by OpenAxiom $as_me 1.1.0-2008-01-06, which was
generated by GNU Autoconf 2.60. Invocation command line was
$ $0 $@
@@ -25225,7 +25225,7 @@ exec 6>&1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by OpenAxiom $as_me 1.1.0-2008-01-05, which was
+This file was extended by OpenAxiom $as_me 1.1.0-2008-01-06, which was
generated by GNU Autoconf 2.60. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -25274,7 +25274,7 @@ Report bugs to <bug-autoconf@gnu.org>."
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
-OpenAxiom config.status 1.1.0-2008-01-05
+OpenAxiom config.status 1.1.0-2008-01-06
configured by $0, generated by GNU Autoconf 2.60,
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
diff --git a/configure.ac b/configure.ac
index 501476a8..67b05dff 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,6 +1,6 @@
sinclude(config/open-axiom.m4)
sinclude(config/aclocal.m4)
-AC_INIT([OpenAxiom], [1.1.0-2008-01-05],
+AC_INIT([OpenAxiom], [1.1.0-2008-01-06],
[open-axiom-bugs@lists.sf.net])
AC_CONFIG_AUX_DIR(config)
diff --git a/configure.ac.pamphlet b/configure.ac.pamphlet
index 89bba2ac..486b3eed 100644
--- a/configure.ac.pamphlet
+++ b/configure.ac.pamphlet
@@ -1019,7 +1019,7 @@ information:
<<Autoconf init>>=
sinclude(config/open-axiom.m4)
sinclude(config/aclocal.m4)
-AC_INIT([OpenAxiom], [1.1.0-2008-01-05],
+AC_INIT([OpenAxiom], [1.1.0-2008-01-06],
[open-axiom-bugs@lists.sf.net])
@
diff --git a/src/ChangeLog b/src/ChangeLog
index 55e167f6..9c7ce445 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
+2008-01-06 Gabriel Dos Reis <gdr@cs.tamu.edu>
+
+ * driver/main.c (main) [__WIN32__]: Fix off-by-one thinko.
+
2008-01-05 Gabriel Dos Reis <gdr@cs.tamu.edu>
* scripts/axiom.in: Remove.
diff --git a/src/driver/main.c b/src/driver/main.c
index 12e8434a..313f9115 100644
--- a/src/driver/main.c
+++ b/src/driver/main.c
@@ -155,16 +155,16 @@ main(int argc, char* argv[])
command_line = (char*) malloc(command_line_length + 1);
strcpy(command_line, argv[0]);
- command_line[++cur] = ' ';
+ command_line[cur++] = ' ';
/* Now start arguments to the core executable. */
- command_line[++cur] = '-';
- command_line[++cur] = '-';
+ command_line[cur++] = '-';
+ command_line[cur++] = '-';
/* Concatenate the arguments into a single string. */
for (i = 1; i < argc; ++i) {
const int arg_length = strlen(argv[i]);
- command_line[++cur] = ' ';
+ command_line[cur++] = ' ';
/* Note that strcpy will terminate `command_line' with a NUL
character, and since the next iteration will write the
blank precisely where the NUL character is, the whole command