[Imgcif-l] [patch] cbf_binary.c(cbf_get_bintext): Fix safeguards

Herbert J. Bernstein yaya at bernstein-plus-sons.com
Thu Oct 25 02:38:55 BST 2007


Thank you.  Glad you found this.

   Regards,
     H. J. Bernstein


At 11:53 PM +0200 10/24/07, Daniel Franke wrote:
>Dear Dr Ellis,
>dear Dr. Bernstein,
>
>while using CBFlib, I came across two minor problems.
>Please find the changes to fix them below.
>
>Thanks for CBFlib!
>
>With kind regards
>
>	Daniel
>
>
>
>Index: cbf_binary.c
>===================================================================
>--- cbf_binary.c        (revision 108)
>+++ cbf_binary.c        (working copy)
>@@ -416,11 +416,11 @@ int cbf_get_bintext (cbf_node  *column,
>
>       *dim2 = dim2_text;
>
>-  if (dim1)
>+  if (dim3)
>
>       *dim3 = dim3_text;
>
>-  if (dim1)
>+  if (padding)
>
>       *padding = padding_text;


-- 
=====================================================
  Herbert J. Bernstein, Professor of Computer Science
    Dowling College, Kramer Science Center, KSC 121
         Idle Hour Blvd, Oakdale, NY, 11769

                  +1-631-244-3035
                  yaya at dowling.edu
=====================================================


More information about the imgcif-l mailing list