export fseeko() and ftello() patch

Jason Tishler jason@tishler.net
Tue Oct 29 06:06:00 GMT 2002


The attached patch exports newlib's fseeko() and ftello().  Besides
being generally useful, this patch also solves the first build issue in
the following:

    http://archives.postgresql.org/pgsql-cygwin/2002-10/msg00039.php

Note that I would like to include a hunk for winsup/doc/calls.texinfo,
but I don't know where to find the associated item information.  For
example, where does one find the following?

    @item fseek: C 4.9.9.2, P 8.2.3.7
                 ^^^^^^^^^  ^^^^^^^^^

Thanks,
Jason
-------------- next part --------------
Index: cygwin.din
===================================================================
RCS file: /cvs/src/src/winsup/cygwin/cygwin.din,v
retrieving revision 1.65
diff -u -p -r1.65 cygwin.din
--- cygwin.din	21 Oct 2002 01:00:56 -0000	1.65
+++ cygwin.din	29 Oct 2002 13:45:26 -0000
@@ -310,6 +310,8 @@ _fscanf_r
 fscanf_r = _fscanf_r
 fseek
 _fseek = fseek
+fseeko
+_fseeko = fseeko
 fsetpos
 _fsetpos = fsetpos
 _fstat
@@ -325,6 +327,8 @@ _f_tanf
 __f_tanf = _f_tanf
 ftell
 _ftell = ftell
+ftello
+_ftello = ftello
 ftime
 _ftime = ftime
 ftruncate
Index: include/cygwin/version.h
===================================================================
RCS file: /cvs/src/src/winsup/cygwin/include/cygwin/version.h,v
retrieving revision 1.80
diff -u -p -r1.80 version.h
--- include/cygwin/version.h	23 Oct 2002 02:20:38 -0000	1.80
+++ include/cygwin/version.h	29 Oct 2002 13:45:26 -0000
@@ -160,12 +160,13 @@ details. */
        61: Export getc_unlocked, getchar_unlocked, putc_unlocked,
 	   putchar_unlocked
        62: Erroneously bumped.
+       63: Export fseeko, ftello
      */
 
      /* Note that we forgot to bump the api for ualarm, strtoll, strtoull */
 
 #define CYGWIN_VERSION_API_MAJOR 0
-#define CYGWIN_VERSION_API_MINOR 62
+#define CYGWIN_VERSION_API_MINOR 63
 
      /* There is also a compatibity version number associated with the
 	shared memory regions.  It is incremented when incompatible
-------------- next part --------------
Tue Oct 29 08:53:57 2002  <jason@tishler.net>

	* cygwin.din: Export fseeko() and ftello().
	* include/cygwin/version.h: Bump API minor version.


More information about the Cygwin-patches mailing list