aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2007-06-14 13:48:06 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2007-06-14 13:48:06 +0000
commit184e9cca3cc12a900f2da25dc3850c6e3f7119c8 (patch)
tree8d6d57e96dd6dd8572fa898b8378bfba7661db48
parent9d1691c9dce0dd497f675a465b1d1ef6a70568c1 (diff)
downloadmailfromd-184e9cca3cc12a900f2da25dc3850c6e3f7119c8.tar.gz
mailfromd-184e9cca3cc12a900f2da25dc3850c6e3f7119c8.tar.bz2
Minor fixes
git-svn-id: file:///svnroot/mailfromd/trunk@1494 7a8a7f39-df28-0410-adc6-e0d955640f24
-rw-r--r--src/drivers.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/drivers.c b/src/drivers.c
index 5a059f88..b759b2bc 100644
--- a/src/drivers.c
+++ b/src/drivers.c
@@ -504,11 +504,10 @@ optimize_relational(NODE *node)
break;
case bin_eq:
+ /* NOTE: This case and the one below make use of the
+ fact that no two entries in the symbol table can
+ contain lexicographically equal literals */
node->v.number = arg0->v.literal == arg1->v.literal;
- /* FIXME: Verify! This is instead of:
- strcmp(arg0->v.string, arg1->v.string)
- == 0;
- See also below: */
break;
case bin_ne:

Return to:

Send suggestions and report system problems to the System administrator.