Ralf Corsepius
200c945879
2011-02-01 Ralf Corsepius <ralf.corsepius@rtems.org>
...
* libmisc/stringto/stringtounsignedchar.c,
libmisc/stringto/stringtounsignedint.c: Reformat range check.
2011-02-01 05:55:32 +00:00
Ralf Corsepius
5410c14a56
2011-02-01 Ralf Corsepius <ralf.corsepius@rtems.org>
...
* libmisc/Makefile.am: Add stringto/stringtolongdouble.c.
* libmisc/stringto/stringtolongdouble.c: New.
2011-02-01 05:48:30 +00:00
Ralf Corsepius
ebf806fd52
2011-02-01 Ralf Corsepius <ralf.corsepius@rtems.org>
...
* libmisc/stringto/stringto.h: Rename header-guard.
Add rtems_string_to_long_double.
2011-02-01 05:45:33 +00:00
Ralf Corsepius
fe7c9a1f83
2011-02-01 Ralf Corsepius <ralf.corsepius@rtems.org>
...
* libmisc/stringto/stringtoint.c: Reformat range check.
Add check for result==0.
2011-02-01 05:43:21 +00:00
Ralf Corsepius
a38457a755
2011-02-01 Ralf Corsepius <ralf.corsepius@rtems.org>
...
* libmisc/stringto/stringtofloat.c: Reformat range check.
Add check for result = -HUGE_VALF.
2011-02-01 05:41:48 +00:00
Ralf Corsepius
61bbacea0a
2011-02-01 Ralf Corsepius <ralf.corsepius@rtems.org>
...
* libmisc/stringto/stringtodouble.c: Reformat range check.
Add check for result = -HUGE_VAL.
2011-02-01 05:41:07 +00:00
Ralf Corsepius
5df16fab53
2011-02-01 Ralf Corsepius <ralf.corsepius@rtems.org>
...
* libmisc/stringto/stringtolonglong.c: Reformat range check.
c99 portability improvements. Add check for result==0.
2011-02-01 05:39:20 +00:00
Ralf Corsepius
c368bd6414
2011-02-01 Ralf Corsepius <ralf.corsepius@rtems.org>
...
* libmisc/stringto/stringtounsignedlonglong.c: Reformat range check.
c99 portability improvements.
2011-02-01 05:38:01 +00:00
Ralf Corsepius
37ecff5c4a
2011-02-01 Ralf Corsepius <ralf.corsepius@rtems.org>
...
* libmisc/stringto/stringtounsignedlong.c: Reformat range check.
2011-02-01 05:36:03 +00:00
Ralf Corsepius
80604fa73b
2011-02-01 Ralf Corsepius <ralf.corsepius@rtems.org>
...
* libmisc/stringto/stringtolong.c: Reformat range check.
Add check for result==0.
2011-02-01 05:29:26 +00:00
Ralf Corsepius
5598bdd3f6
2011-02-01 Ralf Corsepius <ralf.corsepius@rtems.org>
...
* libmisc/Makefile.am: Remove stringto/stringto_template.h.
* libmisc/stringto/stringto_template.h: Remove.
2011-02-01 02:39:21 +00:00
Ralf Corsepius
8b9a33e895
2011-02-01 Ralf Corsepius <ralf.corsepius@rtems.org>
...
* libmisc/stringto/stringtodouble.c,
libmisc/stringto/stringtofloat.c: Rework.
2011-02-01 02:34:19 +00:00
Ralf Corsepius
2f8f4950fc
2011-02-01 Ralf Corsepius <ralf.corsepius@rtems.org>
...
* libmisc/stringto/stringtolong.c,
libmisc/stringto/stringtolonglong.c,
libmisc/stringto/stringtounsignedlong.c,
libmisc/stringto/stringtounsignedlonglong.c:
Rework.
2011-02-01 02:32:46 +00:00
Ralf Corsepius
0e867af11e
2011-01-31 Ralf Corsepius <ralf.corsepius@rtems.org>
...
* libmisc/stringto/stringtoint.c,
libmisc/stringto/stringtounsignedint.c,
libmisc/stringto/stringtounsignedchar.c: Rework.
2011-01-31 16:25:13 +00:00
Ralf Corsepius
58dac487fd
2011-01-31 Ralf Corsepius <ralf.corsepius@rtems.org>
...
* libmisc/stringto/stringtopointer.c: Rework.
2011-01-31 16:03:16 +00:00
Joel Sherrill
c0c5635164
2010-04-25 Joel Sherrill <joel.sherrilL@OARcorp.com>
...
* libmisc/stringto/stringto_template.h: Remove warning.
2010-04-26 00:50:15 +00:00
Ralf Corsepius
56f61c7d6f
Add HAVE_CONFIG_H support to let files receive configure defines.
2010-03-28 15:20:32 +00:00
Ralf Corsepius
d192aa3918
Reorder includes.
2010-03-28 15:20:04 +00:00
Joel Sherrill
2c6a3e7e2e
2009-12-01 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* libmisc/stringto/stringto.h, libmisc/stringto/stringto_template.h:
Tidy up as part of adding new test.
2009-12-01 22:16:10 +00:00
Ralf Corsepius
33c3b54d57
Whitespace removal.
2009-11-29 11:57:23 +00:00
Joel Sherrill
48751ab095
2009-07-23 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* libmisc/Makefile.am, libmisc/shell/main_chmod.c,
libmisc/shell/main_mdump.c, libmisc/shell/main_medit.c,
libmisc/shell/main_mfill.c, libmisc/shell/main_mmove.c,
libmisc/shell/main_msdosfmt.c, libmisc/shell/main_mwdump.c,
libmisc/shell/main_sleep.c, libmisc/shell/main_umask.c,
libmisc/shell/shell_script.c, libmisc/stringto/stringto.h,
libmisc/stringto/stringto_template.h: Convert return type from bool
to rtems_status_code and add rtems_string_to_pointer. Perform
associated clean up and changes for return type change.
* libmisc/stringto/stringtopointer.c: New file.
2009-07-23 14:32:34 +00:00
Joel Sherrill
35d09baa84
2009-07-22 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* libmisc/Makefile.am, libmisc/shell/main_chmod.c,
libmisc/shell/main_mdump.c, libmisc/shell/main_medit.c,
libmisc/shell/main_mfill.c, libmisc/shell/main_mmove.c,
libmisc/shell/main_msdosfmt.c, libmisc/shell/main_mwdump.c,
libmisc/shell/main_sleep.c, libmisc/shell/main_umask.c,
libmisc/shell/shell.h, libmisc/shell/shell_script.c,
libmisc/stringto/stringto_template.h: Convert all shell code to use
stringto.h mehods with better error checking.
* libmisc/shell/str2int.c: Removed.
2009-07-22 15:17:37 +00:00
Joel Sherrill
e8d59ca6af
2009-07-22 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* Makefile.am, preinstall.am, libmisc/Makefile.am, wrapup/Makefile.am:
Add the stringto family of string to number converters. These are
error checking wrappers for the strtoXXX methods and do their best to
return false if the conversion failed. The error checking required
for this is tedious and error prone. Hence better to have in a family
of helper routines.
* libmisc/stringto/stringto.h, libmisc/stringto/stringto_template.h,
libmisc/stringto/stringtodouble.c, libmisc/stringto/stringtofloat.c,
libmisc/stringto/stringtoint.c, libmisc/stringto/stringtolong.c,
libmisc/stringto/stringtolonglong.c,
libmisc/stringto/stringtounsignedchar.c,
libmisc/stringto/stringtounsignedint.c,
libmisc/stringto/stringtounsignedlong.c,
libmisc/stringto/stringtounsignedlonglong.c: New files.
2009-07-22 14:26:25 +00:00