# HG changeset patch # User jlarmour # Date 1096284428 0 # Node ID 4643fc05d75368a015067a555762f370b5b3e06b # Parent 2821f66e3f5ac366425efd531b75e52978031729 * cdl/stdio.cdl (CYGFUN_LIBC_STDIO_OPEN_POSIX_FDFUNCS): New option, to control whether or not fdopen()/fileno() are implemented. diff --git a/packages/language/c/libc/stdio/current/ChangeLog b/packages/language/c/libc/stdio/current/ChangeLog --- a/packages/language/c/libc/stdio/current/ChangeLog +++ b/packages/language/c/libc/stdio/current/ChangeLog @@ -1,3 +1,8 @@ +2004-09-27 Jonathan Larmour + + * cdl/stdio.cdl (CYGFUN_LIBC_STDIO_OPEN_POSIX_FDFUNCS): New option, + to control whether or not fdopen()/fileno() are implemented. + 2004-08-18 Jonathan Larmour * cdl/stdio.cdl (CYGDAT_LIBC_STDIO_DEFAULT_CONSOLE): Only use diff --git a/packages/language/c/libc/stdio/current/cdl/stdio.cdl b/packages/language/c/libc/stdio/current/cdl/stdio.cdl --- a/packages/language/c/libc/stdio/current/cdl/stdio.cdl +++ b/packages/language/c/libc/stdio/current/cdl/stdio.cdl @@ -274,10 +274,9 @@ cdl_package CYGPKG_LIBC_STDIO { scanf() family of functions." } - cdl_option CYGPKG_LIBC_STDIO_OPEN { + cdl_component CYGPKG_LIBC_STDIO_OPEN { display "Dynamic opening/closing of files" requires CYGINT_ISO_MALLOC - implements CYGINT_ISO_STDIO_POSIX_FDFUNCS default_value { 0 != CYGINT_ISO_MALLOC } description " fopen() and fclose() use dynamic memory @@ -288,6 +287,16 @@ cdl_package CYGPKG_LIBC_STDIO { fopen() and fclose(). If disabled, only the default console streams - stdin, stdout and stderr - will be available." + + cdl_option CYGFUN_LIBC_STDIO_OPEN_POSIX_FDFUNCS { + display "POSIX fdopen/fileno functions" + active_if CYGPKG_LIBC_STDIO_FILEIO + implements CYGINT_ISO_STDIO_POSIX_FDFUNCS + calculated 1 + description "This identifies to the rest of the system + whether the POSIX fdopen() and + fileno() functions are implemented." + } } cdl_option CYGDAT_LIBC_STDIO_DEFAULT_CONSOLE {