From 2f5de4af550dcd7cb1a224a7185e922d041a8cf8 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Fri, 8 Jul 2005 08:24:13 +0000 Subject: [PATCH] * cygwin.din (__getline): Export. (__getdelim): Export. * include/sys/stdio.h (getline): Define as __getline. (getdelim): Define as __getdelim. * include/cygwin/version.h: Bump API minor number. --- winsup/cygwin/ChangeLog | 8 ++++++++ winsup/cygwin/cygwin.din | 2 ++ winsup/cygwin/include/cygwin/version.h | 3 ++- winsup/cygwin/include/sys/stdio.h | 5 ++++- 4 files changed, 16 insertions(+), 2 deletions(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index c42dc5975..4af8da863 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,11 @@ +2005-07-08 Corinna Vinschen + + * cygwin.din (__getline): Export. + (__getdelim): Export. + * include/sys/stdio.h (getline): Define as __getline. + (getdelim): Define as __getdelim. + * include/cygwin/version.h: Bump API minor number. + 2005-07-06 Christopher Faylor Eliminate (void) cast on standalone function calls throughout. diff --git a/winsup/cygwin/cygwin.din b/winsup/cygwin/cygwin.din index 22c991be4..ca15a616b 100644 --- a/winsup/cygwin/cygwin.din +++ b/winsup/cygwin/cygwin.din @@ -35,6 +35,8 @@ __eprintf SIGFE __errno NOSIGFE __fpclassifyd NOSIGFE __fpclassifyf NOSIGFE +__getline NOSIGFE +__getdelim NOSIGFE __getreent NOSIGFE __infinity NOSIGFE __main NOSIGFE diff --git a/winsup/cygwin/include/cygwin/version.h b/winsup/cygwin/include/cygwin/version.h index eb7d0f4a3..fd4eb5810 100644 --- a/winsup/cygwin/include/cygwin/version.h +++ b/winsup/cygwin/include/cygwin/version.h @@ -259,12 +259,13 @@ details. */ 130: Export strtoimax, strtoumax, llabs, imaxabs, lldiv, imaxdiv. 131: Export inet_ntop, inet_pton. 132: Add GLOB_LIMIT flag to glob. + 133: Export __getline, __getdelim. */ /* Note that we forgot to bump the api for ualarm, strtoll, strtoull */ #define CYGWIN_VERSION_API_MAJOR 0 -#define CYGWIN_VERSION_API_MINOR 132 +#define CYGWIN_VERSION_API_MINOR 133 /* There is also a compatibity version number associated with the shared memory regions. It is incremented when incompatible diff --git a/winsup/cygwin/include/sys/stdio.h b/winsup/cygwin/include/sys/stdio.h index 596ad027c..71ef307ab 100644 --- a/winsup/cygwin/include/sys/stdio.h +++ b/winsup/cygwin/include/sys/stdio.h @@ -1,6 +1,6 @@ /* sys/stdio.h - Copyright 2004 Red Hat, Inc. + Copyright 2004, 2005 Red Hat, Inc. This file is part of Cygwin. @@ -25,4 +25,7 @@ details. */ # endif #endif +#define getline __getline +#define getdelim __getdelim + #endif