This is an archive copy of the IUCr web site dating from 2008. For current content please visit https://www.iucr.org.
[IUCr Home Page] [CIF Home Page] [imgCIF Home Page]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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@dowling.edu
=====================================================
_______________________________________________
imgcif-l mailing list
imgcif-l@iucr.org
http://scripts.iucr.org/mailman/listinfo/imgcif-l


Reply to: [list | sender only]


Copyright © International Union of Crystallography

IUCr Webmaster