# HG changeset patch # User asl # Date 1150575066 0 # Node ID f9742da9a4534744f96ffa4c8328a75927ab506a # Parent d9451e6b9670370259841f7853a810c0a0e2255e * cdl/net.cdl: Fix calculation of TFTPD stack size. CYGNUM_HAL_STACK_SIZE_TYPICAL is not a CDL variable, it is a #define, so we need to ensure that the compiler evaluates the expression, not the CDL library diff --git a/packages/net/common/current/ChangeLog b/packages/net/common/current/ChangeLog --- a/packages/net/common/current/ChangeLog +++ b/packages/net/common/current/ChangeLog @@ -1,3 +1,10 @@ +2006-05-25 Andrew Lunn + + * cdl/net.cdl: Fix calculation of TFTPD stack + size. CYGNUM_HAL_STACK_SIZE_TYPICAL is not a CDL variable, it is a + #define, so we need to ensure that the compiler evaluates the + expression, not the CDL library. + 2006-03-26 Andrew Lunn * tests/nc_test_framework.h: diff --git a/packages/net/common/current/cdl/net.cdl b/packages/net/common/current/cdl/net.cdl --- a/packages/net/common/current/cdl/net.cdl +++ b/packages/net/common/current/cdl/net.cdl @@ -170,7 +170,7 @@ cdl_package CYGPKG_NET { cdl_option CYGPKG_NET_TFTPD_THREAD_STACK_SIZE { display "Stack size for TFTP threads." flavor data - default_value (CYGNUM_HAL_STACK_SIZE_TYPICAL+(3*(SEGSIZE+4))) + default_value { "(CYGNUM_HAL_STACK_SIZE_TYPICAL+(3*(SEGSIZE+4)))" } description " This option controls the size of the stack used for the TFTP server. The default should be sufficient for most cases