summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--ChangeLog.pre-1-105
-rw-r--r--ChangeLog.pre-1-45
-rw-r--r--ChangeLog.pre-1-65
-rw-r--r--ChangeLog.pre-1-85
-rw-r--r--examples/argcontext.c2
6 files changed, 26 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 551d39e2..a43e592e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2004-04-05 Anders Carlsson <andersca@gnome.org>
+
+ * examples/argcontext.c (arg_context_parse):
+ Handle '--' correctly.
+
Tue Mar 16 11:24:46 2004 Owen Taylor <otaylor@redhat.com>
* === Released 1.4.0 ===
diff --git a/ChangeLog.pre-1-10 b/ChangeLog.pre-1-10
index 551d39e2..a43e592e 100644
--- a/ChangeLog.pre-1-10
+++ b/ChangeLog.pre-1-10
@@ -1,3 +1,8 @@
+2004-04-05 Anders Carlsson <andersca@gnome.org>
+
+ * examples/argcontext.c (arg_context_parse):
+ Handle '--' correctly.
+
Tue Mar 16 11:24:46 2004 Owen Taylor <otaylor@redhat.com>
* === Released 1.4.0 ===
diff --git a/ChangeLog.pre-1-4 b/ChangeLog.pre-1-4
index 551d39e2..a43e592e 100644
--- a/ChangeLog.pre-1-4
+++ b/ChangeLog.pre-1-4
@@ -1,3 +1,8 @@
+2004-04-05 Anders Carlsson <andersca@gnome.org>
+
+ * examples/argcontext.c (arg_context_parse):
+ Handle '--' correctly.
+
Tue Mar 16 11:24:46 2004 Owen Taylor <otaylor@redhat.com>
* === Released 1.4.0 ===
diff --git a/ChangeLog.pre-1-6 b/ChangeLog.pre-1-6
index 551d39e2..a43e592e 100644
--- a/ChangeLog.pre-1-6
+++ b/ChangeLog.pre-1-6
@@ -1,3 +1,8 @@
+2004-04-05 Anders Carlsson <andersca@gnome.org>
+
+ * examples/argcontext.c (arg_context_parse):
+ Handle '--' correctly.
+
Tue Mar 16 11:24:46 2004 Owen Taylor <otaylor@redhat.com>
* === Released 1.4.0 ===
diff --git a/ChangeLog.pre-1-8 b/ChangeLog.pre-1-8
index 551d39e2..a43e592e 100644
--- a/ChangeLog.pre-1-8
+++ b/ChangeLog.pre-1-8
@@ -1,3 +1,8 @@
+2004-04-05 Anders Carlsson <andersca@gnome.org>
+
+ * examples/argcontext.c (arg_context_parse):
+ Handle '--' correctly.
+
Tue Mar 16 11:24:46 2004 Owen Taylor <otaylor@redhat.com>
* === Released 1.4.0 ===
diff --git a/examples/argcontext.c b/examples/argcontext.c
index 7160266c..a68650bc 100644
--- a/examples/argcontext.c
+++ b/examples/argcontext.c
@@ -147,7 +147,7 @@ arg_context_parse (ArgContext *context,
arg = (*argv)[i] + 2;
/* '--' terminates list of arguments */
- if (arg == 0)
+ if (*arg == '\0')
{
(*argv)[i] = NULL;
break;