Send MinGW-Notify mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.osdn.me/mailman/listinfo/mingw-notify
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of MinGW-Notify digest..."


Please do not reply to this notification; the sender address is unable to 
accept incoming e-mail.  If you wish to unsubscribe you can do so at 
https://lists.osdn.me/mailman/listinfo/mingw-notify.



Today's Topics:

   1. [SCM] mingw-org-wsl (mingw) branch, 5.2-trunk, updated.
      09fb4c40cbb1a2cdf51fd587e8c121289d914303 (MinGW Notification List)
   2. [mingw] #38225: Emulate _fseeki64()/_ftelli64() API on legacy
      platforms. (MinGW Notification List)
   3. [mingw] #38726: sscanf bug. (MinGW Notification List)
   4. [mingw] #38770: Add support for POSIX insque()/remque() queue
      management API (MinGW Notification List)


----------------------------------------------------------------------

Message: 1
Date: Mon, 26 Nov 2018 02:53:19 +0900
From: MinGW Notification List <[email protected]>
To: [email protected]
Subject: [MinGW-Notify] [SCM] mingw-org-wsl (mingw) branch, 5.2-trunk,
        updated. 09fb4c40cbb1a2cdf51fd587e8c121289d914303
Message-ID: <[email protected]>

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to "mingw-org-wsl" repository
containing the "mingw" project.

The branch, 5.2-trunk has been updated
       via  09fb4c40cbb1a2cdf51fd587e8c121289d914303 (commit)
      from  2dcc5878a9edc9a84837638af134f4398a2730d9 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 09fb4c40cbb1a2cdf51fd587e8c121289d914303
Author: Keith Marshall <[email protected]>
Date:   Sun Nov 25 17:51:48 2018 +0000

    Emulate _fseeki64()/_ftelli64() API on legacy platforms.

-----------------------------------------------------------------------

Summary of changes:
 mingwrt/ChangeLog                | 25 ++++++++++
 mingwrt/Makefile.in              |  6 +--
 mingwrt/include/stdio.h          | 99 ++++++++++++++++++++++++++--------------
 mingwrt/mingwex/stdio/fseeki64.c | 69 ++++++++++++++++++++++++++++
 mingwrt/mingwex/stdio/fseeko64.c | 65 --------------------------
 mingwrt/mingwex/stdio/ftelli64.c | 65 ++++++++++++++++++++++++++
 6 files changed, 227 insertions(+), 102 deletions(-)
 create mode 100644 mingwrt/mingwex/stdio/fseeki64.c
 delete mode 100644 mingwrt/mingwex/stdio/fseeko64.c
 create mode 100644 mingwrt/mingwex/stdio/ftelli64.c


hooks/post-receive
-- 
mingw-org-wsl (mingw)



------------------------------

Message: 2
Date: Sun, 25 Nov 2018 18:15:08 +0000
From: MinGW Notification List <[email protected]>
To: OSDN Ticket System <[email protected]>
Subject: [MinGW-Notify] [mingw] #38225: Emulate
        _fseeki64()/_ftelli64() API on legacy platforms.
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8

#38225: Emulate _fseeki64()/_ftelli64() API on legacy platforms.

  Open Date: 2018-04-21 14:26
Last Update: 2018-11-25 18:15

URL for this Ticket:
    https://osdn.net//projects/mingw/ticket/38225
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=38225

---------------------------------------------------------------------

Last Changes/Comment on this Ticket:
2018-11-25 18:15 Updated by: keith

Comment:

I committed 09fb4c4, which should suffice to provide robust implementations of
_fseeki64() and _ftelli64() for all WinNT derived platforms. They will also
work on Win9x, but I'm leaving the ticket open for the time being, because, as
I suspected, they will interact badly with fwrite() on these platforms, if the
fwrite() is preceded by an _fseeki64() to an offset beyond the physical end of
file.



---------------------------------------------------------------------
Ticket Status:

      Reporter: keith
         Owner: (None)
          Type: Feature Request
        Status: Open
      Priority: 5 - Medium
     MileStone: (None)
     Component: WSL
      Severity: 5 - Medium
    Resolution: None
---------------------------------------------------------------------

Ticket details:

Although 32-bit Windows has supported operations on files larger than 2GB,
since at least WinNT4 and Win98, (and possibly earlier), Microsoft did not
introduce the _fseeki64() and _ftelli64() APIs until MSVCR80.DLL, (and
subsequently retrofitted it to MSVCRT.DLL, from WinVista onwards); prior to
this, random access support in large files was provided through lower level
APIs such as _lseeki64(), or native Windows API functions.

As noted in this mailing list query, and this subsequent follow-up thread, it
is practicable to emulate the _fseeki64() and _ftelli64() APIs, such that they
become available on legacy versions of Windows, which pre-date the formal
introduction of these APIs by Microsoft; however, previous efforts to do so may
not have been entirely robust. Hopefully, the attached patch will do a better
job.



-- 
Ticket information of MinGW - Minimalist GNU for Windows project
MinGW - Minimalist GNU for Windows Project is hosted on OSDN

Project URL: https://osdn.net/projects/mingw/
OSDN: https://osdn.net

URL for this Ticket:
    https://osdn.net//projects/mingw/ticket/38225
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=38225


------------------------------

Message: 3
Date: Sun, 25 Nov 2018 20:58:25 +0000
From: MinGW Notification List <[email protected]>
To: OSDN Ticket System <[email protected]>
Subject: [MinGW-Notify] [mingw] #38726: sscanf bug.
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8

#38726: sscanf bug.

  Open Date: 2018-11-05 00:47
Last Update: 2018-11-25 20:58

URL for this Ticket:
    https://osdn.net//projects/mingw/ticket/38726
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=38726

---------------------------------------------------------------------

Last Changes/Comment on this Ticket:
2018-11-25 20:58 Updated by: keith
 * Status Update from Open to Closed

 * Resolution Update from None to Invalid

 * Details Updated


Comment:

MinGW uses Microsoft's implementation of sscanf(), so you need to read their
documentation. Note, in particular, this subsidiary reference: this
implementation does not comprehend the hh size modifier, as you use it in your
"%hhu" format specification.



---------------------------------------------------------------------
Ticket Status:

      Reporter: pedro_izecksohn
         Owner: (None)
          Type: Issues
        Status: Closed
      Priority: 5 - Medium
     MileStone: (None)
     Component: WSL
      Severity: 5 - Medium
    Resolution: Invalid
---------------------------------------------------------------------

Ticket details:

 1.  #include <stdio.h>
 2.  #include <stdlib.h>
 3.  
 4.  int main()
 5.  {
 6.      unsigned char p, q;
 7.      int res = sscanf ("3;8", "%hhu;%hhu", &p, &q);
 8.      if ((res!=2)||(p!=3)||(q!=8)) return EXIT_FAILURE;
 9.      return EXIT_SUCCESS;
10.  }



-- 
Ticket information of MinGW - Minimalist GNU for Windows project
MinGW - Minimalist GNU for Windows Project is hosted on OSDN

Project URL: https://osdn.net/projects/mingw/
OSDN: https://osdn.net

URL for this Ticket:
    https://osdn.net//projects/mingw/ticket/38726
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=38726


------------------------------

Message: 4
Date: Sun, 25 Nov 2018 21:22:03 +0000
From: MinGW Notification List <[email protected]>
To: OSDN Ticket System <[email protected]>
Subject: [MinGW-Notify] [mingw] #38770: Add support for POSIX
        insque()/remque() queue management API
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8

#38770: Add support for POSIX insque()/remque() queue management API

  Open Date: 2018-11-25 21:22
Last Update: 2018-11-25 21:22

URL for this Ticket:
    https://osdn.net//projects/mingw/ticket/38770
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=38770

---------------------------------------------------------------------

Last Changes/Comment on this Ticket:
2018-11-25 21:22 Updated by: keith
 * New Ticket "Add support for POSIX insque()/remque() queue management API"
created



---------------------------------------------------------------------
Ticket Status:

      Reporter: keith
         Owner: (None)
          Type: Feature Request
        Status: Open
      Priority: 5 - Medium
     MileStone: (None)
     Component: WSL
      Severity: 5 - Medium
    Resolution: None
---------------------------------------------------------------------

Ticket details:

The API specification, per POSIX.1-2017, may be found here.

The attached patch provides a straightforward implementation; I would like to
use this, to improve Win9x support relating to ticket #38225.



-- 
Ticket information of MinGW - Minimalist GNU for Windows project
MinGW - Minimalist GNU for Windows Project is hosted on OSDN

Project URL: https://osdn.net/projects/mingw/
OSDN: https://osdn.net

URL for this Ticket:
    https://osdn.net//projects/mingw/ticket/38770
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=38770


------------------------------

Subject: Digest Footer

_______________________________________________
MinGW-Notify mailing list
[email protected]
https://lists.osdn.me/mailman/listinfo/mingw-notify


------------------------------

End of MinGW-Notify Digest, Vol 14, Issue 5
*******************************************

Reply via email to