Gregory Nutt
|
e3a535f66f
|
Fix verboten C99/C11 construct in sscanf()
|
2017-01-09 11:23:05 -06:00 |
|
Gregory Nutt
|
81712be04e
|
sscanf: Backs out logic of ca1150ce6c
|
2017-01-09 10:35:28 -06:00 |
|
Gregory Nutt
|
7fbc3ba1e1
|
Comments should begin with uppercase letters.
|
2017-01-09 09:22:46 -06:00 |
|
Gregory Nutt
|
8ce1fdaab0
|
Add an attribution to the scanset addition to sscanf()
|
2016-12-17 16:18:04 -06:00 |
|
Author: Aleksandr Vyhovanec
|
7be1b86a81
|
Add scansets to the scanf function. Enabled CONFIG_LIBC_SCANSET option.
|
2016-12-17 14:39:19 -06:00 |
|
Gregory Nutt
|
177239feae
|
sscanf: Use strtof() instead of strtod() if a short floating point value was requested. The should help performance with MCUs with 32-bit FPU support
|
2016-10-22 13:42:43 -06:00 |
|
David Sidrane
|
7ee82c0168
|
Fixes sscan %sn where strlen(data) < n
|
2016-10-15 06:31:35 -10:00 |
|
Gregory Nutt
|
0e35bad987
|
Update some comments
|
2016-08-11 10:12:04 -06:00 |
|
Gregory Nutt
|
fc3540cffe
|
Replace all occurrences of vdbg with vinfo
|
2016-06-11 11:59:51 -06:00 |
|
Gregory Nutt
|
0fb035f76b
|
Standardize some naming in code section comments
|
2016-02-21 18:09:04 -06:00 |
|
Gregory Nutt
|
e9bd8bceb4
|
nuttx/libc: Fix some spacing and alignment issues
|
2015-10-12 07:45:02 -06:00 |
|
Gregory Nutt
|
cb9e27c3b0
|
Standardize naming used for public data and function groupings
|
2015-10-02 16:30:35 -06:00 |
|
Stefan Kolb
|
983128e16a
|
sscanf: Formats a, A, e, E, g, and G should be treated the same as f and F
|
2015-09-17 07:41:33 -06:00 |
|
Gregory Nutt
|
40b0acaded
|
sscanf should also support %F
|
2014-12-12 07:54:37 -06:00 |
|
Gregory Nutt
|
1b661c6d23
|
sscanf: Accept %X as well as %x as a format specifier. From Sébastien Lorquet
|
2014-12-12 07:46:46 -06:00 |
|
Gregory Nutt
|
a325cb9f0d
|
sscanf(): NuttX libc tried to guess how many characters to parse, extracted them into a buffer, then ran strtol() on that buffer. That guess is often wrong. A better approach would be to call strtol() directly on the input data, using the endptr return value to determine how many characters to skip after parsing. From Kosma Moczek
|
2014-08-18 07:33:17 -06:00 |
|
Gregory Nutt
|
ed294643bd
|
sscanf: Use stroul() vs strol() for %u format. From kfrolov
|
2014-04-02 09:15:40 -06:00 |
|
Gregory Nutt
|
6bb8cc02df
|
sscanf(): Was returning the wrong number of conversions in many cases; Also, needs to return EOF if there were no conversions
|
2014-03-30 14:24:38 -06:00 |
|
Gregory Nutt
|
e6bd002d68
|
Use get_errno() instead of errno because I may do something different if used inside the OS
|
2014-03-30 11:33:47 -06:00 |
|
Gregory Nutt
|
a0b330bd92
|
strncpy would fail if n==0
|
2014-03-28 15:17:43 -06:00 |
|
Gregory Nutt
|
a84a421248
|
Ooops... I left out a semicolon in the last sscanf() commit
|
2014-02-18 15:38:44 -06:00 |
|
Gregory Nutt
|
927ec9c792
|
sscanf() bug fixes from David Sidrane
|
2014-02-18 14:14:07 -06:00 |
|
Gregory Nutt
|
803cdfdaf1
|
Changes to get PX4 config to build. Also some warning removal
|
2014-01-14 13:30:22 -06:00 |
|
Gregory Nutt
|
c4380b5a8f
|
ARMv7-A: If the page table does not like in same address range as .text and primary RAM, then we will need to set up an additional mapping for the page table at boot time.
|
2013-12-16 08:26:07 -06:00 |
|
Gregory Nutt
|
bdf1ad69d6
|
libc logic should not directly assign errno, but should use set_errno() macro. This is because in the kernel build, errno is a system call
|
2013-12-11 14:54:22 -06:00 |
|
Gregory Nutt
|
05d50e6379
|
A few changes needed for compilation with ZDS-II
|
2013-11-28 15:57:41 -06:00 |
|
Gregory Nutt
|
545cef3223
|
scanf() fixes from kfrolov: 1) sscanf() function hangs in the following example: sscanf(2, %u,%u,%u,%u, ...), 2) sscanf() returns incorrect number of parsed numbers if some arguments can't be parsed: sscanf(=2, %u,%u,%u,%u,...)==1 instead of 0, and 3) using of char* instead of const char* in vsscanf function leads to warnings from GCC.
|
2013-10-21 10:41:15 -06:00 |
|
Gregory Nutt
|
bc46b447dc
|
Fix all occurrences of "the the" in documentation and comments
|
2013-08-27 09:40:19 -06:00 |
|
patacongo
|
1a67cb9e1e
|
Fix for trailing %n bug in sscanf (with help from Lorenz Meier)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5754 42af7a65-404d-4744-a932-0658087f49c3
|
2013-03-18 00:41:42 +00:00 |
|
patacongo
|
6239b70352
|
Prep for 6.26 release
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5745 42af7a65-404d-4744-a932-0658087f49c3
|
2013-03-15 18:07:34 +00:00 |
|
patacongo
|
5cb8226727
|
OK.. I think the directory has been recovered and renamed
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5331 42af7a65-404d-4744-a932-0658087f49c3
|
2012-11-10 16:34:46 +00:00 |
|
patacongo
|
42997ede83
|
Still trying to recover directory contents
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5330 42af7a65-404d-4744-a932-0658087f49c3
|
2012-11-10 16:19:12 +00:00 |
|