Discussion List Archives

[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
                  [email protected]
=====================================================
_______________________________________________
imgcif-l mailing list
[email protected]
http://scripts.iucr.org/mailman/listinfo/imgcif-l

Reply to: [list | sender only]
International Union of Crystallography

Scientific Union Member of the International Science Council (admitted 1947). Member of CODATA, the ISC Committee on Data. Partner with UNESCO, the United Nations Educational, Scientific and Cultural Organization in the International Year of Crystallography 2014.

International Science Council Scientific Freedom Policy

The IUCr observes the basic policy of non-discrimination and affirms the right and freedom of scientists to associate in international scientific activity without regard to such factors as ethnic origin, religion, citizenship, language, political stance, gender, sex or age, in accordance with the Statutes of the International Council for Science.