[684] in BarnOwl Developers

home help back first fref pref prev next nref lref last post

[D-O-H] r757 - trunk/owl

daemon@ATHENA.MIT.EDU (nelhage@MIT.EDU)
Thu Oct 29 18:08:38 2009

Resent-From: nelhage@mit.edu
Resent-To: barnowl-dev-mtg@charon.mit.edu
To: dirty-owl-hackers@mit.edu
From: nelhage@MIT.EDU
Reply-to: dirty-owl-hackers@MIT.EDU
Date: Fri, 17 Aug 2007 17:26:44 -0400 (EDT)

Author: nelhage
Date: 2007-08-17 17:26:44 -0400 (Fri, 17 Aug 2007)
New Revision: 757

Modified:
   trunk/owl/functions.c
Log:
When we're narrowing to an instance, properly include
un-instances. This fixes narrowing to any instance that starts with
``un-''


Modified: trunk/owl/functions.c
===================================================================
--- trunk/owl/functions.c	2007-08-17 16:48:37 UTC (rev 756)
+++ trunk/owl/functions.c	2007-08-17 21:26:44 UTC (rev 757)
@@ -2624,7 +2624,7 @@
   argbuff = owl_malloc(len);
   sprintf(argbuff, "class ^(un)*%s(\\.d)*$", tmpclass);
   if (tmpinstance) {
-    sprintf(argbuff, "%s and ( instance ^%s(\\.d)*$ )", argbuff, tmpinstance);
+    sprintf(argbuff, "%s and ( instance ^(un)*%s(\\.d)*$ )", argbuff, tmpinstance);
   }
   owl_free(tmpclass);
   if (tmpinstance) owl_free(tmpinstance);


home help back first fref pref prev next nref lref last post