oops - i'm an idiot, that should've been:

--- range.c.org 2004-07-21 15:56:02.000000000 -0600
+++ range.c     2004-07-21 16:54:48.000000000 -0600
@@ -22,6 +22,7 @@
             end = len;
      }
      if (end < 0) end += len;
+    if (end < beg) goto out_of_range; /* b4 including end point require end >= beg */
      if (!EXCL(range)) end++;   /* include end point */
      if (end < 0) goto out_of_range;
      len = end - beg;


sorry for confusion - i've gotten so used to thinking with 'unless'!

-a

-a
--
===============================================================================
| EMAIL   :: Ara [dot] T [dot] Howard [at] noaa [dot] gov
| PHONE   :: 303.497.6469
| A flower falls, even though we love it;
| and a weed grows, even though we do not love it. 
|   --Dogen
===============================================================================