From 3c4904618aa4a4497cedeac8598ff2b3e860b08d Mon Sep 17 00:00:00 2001 From: patacongo Date: Sat, 16 Apr 2011 01:04:17 +0000 Subject: [PATCH] Fix bad conditional compilation that breaks THTTPD and dup2() git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3511 42af7a65-404d-4744-a932-0658087f49c3 --- Documentation/NuttX.html | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Documentation/NuttX.html b/Documentation/NuttX.html index f3efc72f8d..e655bb9af9 100644 --- a/Documentation/NuttX.html +++ b/Documentation/NuttX.html @@ -8,7 +8,7 @@

NuttX RTOS

-

Last Updated: April 14, 2011

+

Last Updated: April 15, 2011

@@ -2222,10 +2222,16 @@ nuttx-6.2 2011-xx-xx Gregory Nutt <spudmonkey@racsa.co.cr> UART2 and UART3. * nuttx/clock.h: Replace all references to the global variable g_system_timer with clock_systemtimer() (currently just a macro that that returns g_system_timer). -= * lib/string/strrch.c: Would fail if the searched-for character were the first + * lib/string/strrch.c: Would fail if the searched-for character were the first character in the string. * tools/version.sh and mkversion.c: Tools to manage a NuttX version number file + * sched/clock_uptime() and lib/time/lib_time.c: Add support for 1 second uptime + interface. + * net/net_dup2.c and include/nuttx/net.h: The conditional compilation for + '#if CONFIG_NFILE_DESCRIPTOR > 0' was wrong in both of these files. It should + be '#if CONFIG_NFILE_DESCRIPTORS > 0'. This causes a dup2() failure in THTTPD + and a failure to get a CGI page. The consequence can be a very serious bug! apps-6.1 2011-xx-xx Gregory Nutt <spudmonkey@racsa.co.cr>