Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Friday, October 16, 2026

Diff for libcfg+/src/shared.c between version 1.30 and 1.31

version 1.30, 2003/02/25 12:58:41 version 1.31, 2003/02/26 21:44:04
Line 16 
Line 16 
  * http://www.platon.sk/projects/libcfg+/   * http://www.platon.sk/projects/libcfg+/
  */   */
   
 /* $Platon: libcfg+/src/shared.c,v 1.29 2003/02/24 21:13:40 nepto Exp $ */  /* $Platon: libcfg+/src/shared.c,v 1.30 2003/02/25 12:58:41 nepto Exp $ */
   
 /* Includes {{{ */  /* Includes {{{ */
 #ifdef HAVE_CONFIG_H  #ifdef HAVE_CONFIG_H
Line 712  store_single_arg(type, arg, where)
Line 712  store_single_arg(type, arg, where)
                                 long_val = strtol(arg, &end, 0);                                  long_val = strtol(arg, &end, 0);
                         }                          }
                         if (! (end == NULL || *end != '\0'))                          if (! (end == NULL || *end != '\0'))
                                 /* Decimal number conversion suceed */                                  /* Decimal number conversion succeed */
                                 break;                                  break;
   
                         /* If conversion for integer number failed, we are going to try                          /* If conversion for integer number failed, we are going to try
Line 739  store_single_arg(type, arg, where)
Line 739  store_single_arg(type, arg, where)
   
                         if (! f_integer)                          if (! f_integer)
                                 break;                                  break;
   
                         if (double_val - floor(double_val) != 0.0)                          if (double_val - floor(double_val) != 0.0)
                                 return CFG_ERROR_BADNUMBER;                                  return CFG_ERROR_BADNUMBER;
   

Legend:
Removed from v.1.30  
changed lines
  Added in v.1.31

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top