public inbox for cygwin-cvs@sourceware.org
help / color / mirror / Atom feed
From: Corinna Vinschen <corinna@sourceware.org>
To: cygwin-cvs@sourceware.org
Subject: [newlib-cygwin] Cygwin: Drop export aliases and masking macros for stdio64 functions
Date: Thu,  4 Aug 2022 15:37:33 +0000 (GMT)	[thread overview]
Message-ID: <20220804153733.15A143858407@sourceware.org> (raw)

https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=9f6057d203d1a8da57f332c63db778680d9b4315

commit 9f6057d203d1a8da57f332c63db778680d9b4315
Author: Corinna Vinschen <corinna@vinschen.de>
Date:   Thu Aug 4 17:30:48 2022 +0200

    Cygwin: Drop export aliases and masking macros for stdio64 functions
    
    Signed-off-by: Corinna Vinschen <corinna@vinschen.de>

Diff:
---
 winsup/cygwin/syscalls.cc | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/winsup/cygwin/syscalls.cc b/winsup/cygwin/syscalls.cc
index e6d68cc07..2c2bc4142 100644
--- a/winsup/cygwin/syscalls.cc
+++ b/winsup/cygwin/syscalls.cc
@@ -14,9 +14,6 @@ details. */
 #define _open __FOO_open__
 #define _read __FOO_read__
 #define _write __FOO_write__
-#define _open64 __FOO_open64__
-#define _lseek64 __FOO_lseek64__
-#define _fstat64 __FOO_fstat64__
 #define pread __FOO_pread
 #define pwrite __FOO_pwrite
 
@@ -70,9 +67,6 @@ details. */
 #undef _open
 #undef _read
 #undef _write
-#undef _open64
-#undef _lseek64
-#undef _fstat64
 
 static int mknod_worker (path_conv &, mode_t, _major_t, _minor_t);
 
@@ -1596,7 +1590,6 @@ open (const char *unix_path, int flags, ...)
 }
 
 EXPORT_ALIAS (open, _open )
-EXPORT_ALIAS (open, _open64 )
 
 extern "C" off_t
 lseek (int fd, off_t pos, int dir)
@@ -1624,7 +1617,6 @@ lseek (int fd, off_t pos, int dir)
   return res;
 }
 
-EXPORT_ALIAS (lseek, _lseek64)
 EXPORT_ALIAS (lseek, _lseek)
 
 extern "C" int
@@ -1904,8 +1896,6 @@ _fstat_r (struct _reent *ptr, int fd, struct stat *buf)
   return ret;
 }
 
-EXPORT_ALIAS (_fstat_r, _fstat64_r)
-
 /* fsync: P96 6.6.1.1 */
 extern "C" int
 fsync (int fd)
@@ -2055,8 +2045,6 @@ _stat_r (struct _reent *__restrict ptr, const char *__restrict name,
   return ret;
 }
 
-EXPORT_ALIAS (_stat_r, _stat64_r)
-
 /* lstat: Provided by SVR4 and 4.3+BSD, POSIX? */
 extern "C" int
 lstat (const char *__restrict name, struct stat *__restrict buf)


                 reply	other threads:[~2022-08-04 15:37 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220804153733.15A143858407@sourceware.org \
    --to=corinna@sourceware.org \
    --cc=cygwin-cvs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).