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
|
297a255fd8
|
avsprintf(): Fix a bug in usage of va_list on x86. On x86, va_list is a pointer to a single copy on the stack. avsprintf() calls lib_vsprintf() twice and so traverses the va_list twice using va_start. va_start modifies that single copy on the stack so that the second call to lib_vsprintf() fails. This appears to be an issue with x86 only so far
|
2014-12-08 10:40:06 -06:00 |
|
Gregory Nutt
|
91e22aeedd
|
Traveler: Change the way that the world path is managed.
|
2014-12-08 09:28:53 -06:00 |
|
Gregory Nutt
|
9ac09db800
|
More fixes to problems noted by cppcheck. Some are kind of risky; some are real bugs.
|
2014-11-25 13:46:14 -06:00 |
|
Gregory Nutt
|
48888ad65b
|
Add tmpnam() and tempnam()
|
2014-11-05 10:44:16 -06:00 |
|
Gregory Nutt
|
787cd466d2
|
Add tmpnam() and tempnam()
|
2014-11-05 10:43:17 -06:00 |
|
Gregory Nutt
|
ec57ab6391
|
Implement setlogmask(); move some syslog logic from libc/syslog to fs/syslog
|
2014-10-08 19:08:26 -06:00 |
|
Gregory Nutt
|
a8399d5c6b
|
Move syslog logic from libc/misc and libc/stdio to libc/syslog
|
2014-10-08 17:16:41 -06:00 |
|
Gregory Nutt
|
176491ce75
|
Misc changes to get a clean build after all of the syslog changes. There are probably other things still broken
|
2014-10-08 16:23:48 -06:00 |
|
Gregory Nutt
|
f8ed7323c0
|
make standard syslog and vsyslog POSIX compliant (also modify non-standard syslog functions for compatibility). This will break a lot of things until ALL usage of syslog is updated to use the modified interfaces
|
2014-10-08 09:44:15 -06:00 |
|
Gregory Nutt
|
92cc7a96e6
|
Change to lib_dtoa() to fix prescision error from trailing zeroes
|
2014-09-26 05:49:50 -06:00 |
|
Gregory Nutt
|
47d55c28dc
|
Mostly cosmetic changes
|
2014-09-04 10:28:38 -06:00 |
|
Gregory Nutt
|
e3ff0689bb
|
Rename CONFIG_NUTTX_KERNEL to CONFIG_BUILD_PROTECTED; Partially integrate new CONFIG_BUILD_KERNEL
|
2014-08-29 14:47:22 -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
|
320707fdfa
|
SAMA5: Fix bugs in timer/counter interrupts and one-shot timer
|
2014-08-10 10:47:38 -06:00 |
|
Gregory Nutt
|
038f10ed55
|
Add seekable standard streams
|
2014-06-14 16:19:42 -06:00 |
|
Gregory Nutt
|
0a331754f7
|
Add support for seekable raw streams
|
2014-06-14 15:46:59 -06:00 |
|
Gregory Nutt
|
24e603f23b
|
Add support for seekable memory streams
|
2014-06-14 15:35:18 -06:00 |
|
Gregory Nutt
|
59846a8fe9
|
snprintf(): If size is zero, then snprintf() should return the size of the required buffer without writing anyting. From Sami Pelkonen
|
2014-05-30 08:53:43 -06:00 |
|
Gregory Nutt
|
972c4cbab5
|
Nucleo F401RE: Remove PX4 cruft that can in with the port
|
2014-04-22 12:18:08 -06:00 |
|
Gregory Nutt
|
3a1324741a
|
More trailing whilespace removal
|
2014-04-13 14:32:20 -06:00 |
|
Gregory Nutt
|
494387b33b
|
Make sure that there is one space after for
|
2014-04-12 13:28:22 -06:00 |
|
Gregory Nutt
|
2fcc57edb0
|
mv ramlog.h and syslog.h to new include/nuttx/syslog
|
2014-04-10 09:29:30 -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
|
68025784b0
|
Fix ftell() bug: It was not accounting for data buffered in memory. From Macs N
|
2014-03-31 09:47:28 -06:00 |
|
Gregory Nutt
|
cd135fe3a8
|
Complete fragmentary support for ferror(). From Macs N
|
2014-03-31 09:39:10 -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
|
a5b8755bea
|
Add a patch to work around the bug in the ZDS-II 5.0.1 toolchain
|
2014-01-24 11:58:30 -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
|
a0808e7b6d
|
Minor fixes to lib_fgets() typing
|
2014-01-08 11:24:28 -06:00 |
|
Gregory Nutt
|
0bdee120a1
|
Add lib_libfgets() to better support the small differences between gets(), gets_s(), and fgets()
|
2014-01-08 10:47:34 -06:00 |
|
Gregory Nutt
|
e3b12cbaa9
|
Add x qualifier to fopen to support exlusive open
|
2014-01-07 17:18:38 -06:00 |
|
Gregory Nutt
|
c5f9b8768e
|
Add type rsize_t and function gets_s()
|
2014-01-07 16:27:45 -06:00 |
|
Gregory Nutt
|
53ce920eae
|
Add FAR to a couple of functions. The Z16F cares about such things
|
2014-01-02 12:36:20 -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
|
46b77e2544
|
Support /proc/uptime
|
2013-12-14 10:34:08 -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
|
30ffd2364c
|
Remove some warnings
|
2013-10-01 12:10:09 -06:00 |
|
Gregory Nutt
|
417f67c132
|
Clean up some naming: fd vs. fildes vs. filedes and filep vs filp
|
2013-09-28 16:50:07 -06:00 |
|
Gregory Nutt
|
bc46b447dc
|
Fix all occurrences of "the the" in documentation and comments
|
2013-08-27 09:40:19 -06:00 |
|
Gregory Nutt
|
961837eaaf
|
Fix an assertion
|
2013-06-02 16:49:41 -06:00 |
|
Gregory Nutt
|
44450511d4
|
Add dprintf() and vdprintf()
|
2013-06-02 15:49:52 -06:00 |
|
Gregory Nutt
|
88c0911fb1
|
Various changes and bigfixes for problems detected by CppCheck
|
2013-05-09 14:23:34 -06:00 |
|