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. [mingw] #38770: Add support for POSIX insque()/remque() queue
management API (MinGW Notification List)
2. [mingw] #38225: Emulate _fseeki64()/_ftelli64() API on legacy
platforms. (MinGW Notification List)
3. [mingw] #38225: Emulate _fseeki64()/_ftelli64() API on legacy
platforms. (MinGW Notification List)
4. [mingw] #38219: zLib needs updating from (v1.2.8) to
(v1.2.11)... (MinGW Notification List)
5. [mingw] #38219: zLib needs updating from (v1.2.8) to
(v1.2.11)... (MinGW Notification List)
----------------------------------------------------------------------
Message: 1
Date: Mon, 26 Nov 2018 11:37:05 +0800
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-26 05:22
Last Update: 2018-11-26 11:37
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-26 11:37 Updated by: worldbank
Comment:
Good
---------------------------------------------------------------------
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
------------------------------
Message: 2
Date: Mon, 26 Nov 2018 18:15:29 +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-26 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-26 18:15 Updated by: keith
Comment:
I have performed a review of Mumit Kahn's mingw-fseek.c implementation; I
observe several minor issues, and at least one critical issue. The critical
issue is:–
• The fseek() wrapper sets a flag, to indicate that it has been called; this
flag is then reset on the next call to the fwrite() wrapper. In neither
case is there any attempt to associate the flag with any particular stream,
never mind to ensure that the fwrite() is directed to the stream on which
the fseek() was performed. In consequence, it is entirely possible that the
flag could have been reset before the fwrite() which needs to act on it is
performed.
Besides this critical issue, other non-critical issues include:–
• Unnecessary use of (ugly) low level Windows APIs, leading to excessive
complexity of the implementation.
• Unnecessary repeated calls to the _get_osfhandle() API, within a single
fwrite() wrapper call; this surely has a negative impact on performance.
• Two fseek() wrapper functions, where one would suffice; (all fseek()-alike
calls could be redirected a to single wrapper, in which a 64-bit offset
argument is passed).
---------------------------------------------------------------------
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: Mon, 26 Nov 2018 21:38:02 +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-26 21:38
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-26 21:38 Updated by: keith
Comment:
I've attached a further patch; to resolve the issues I identified, within the
Win9x fssek()/fwrite() redirector, it provides a complete reimplementation of
that feature. Note that, to address the critical failing I described, in the
original implementation, it now maintains a queue of stream identifiers, for
which an fwrite() operation is pending, following an fseek() on the associated
stream. This queue is implemented in terms of the POSIX.1-1996 linked-list
queues API; as such, it is dependent on adoption of the feature request
detailed on ticket #38770.
---------------------------------------------------------------------
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: 4
Date: Mon, 26 Nov 2018 23:13:09 +0000
From: MinGW Notification List <[email protected]>
To: OSDN Ticket System <[email protected]>
Subject: [MinGW-Notify] [mingw] #38219: zLib needs updating from
(v1.2.8) to (v1.2.11)...
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8
#38219: zLib needs updating from (v1.2.8) to (v1.2.11)...
Open Date: 2018-04-20 07:25
Last Update: 2018-11-26 23:13
URL for this Ticket:
https://osdn.net//projects/mingw/ticket/38219
RSS feed for this Ticket:
https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=38219
---------------------------------------------------------------------
Last Changes/Comment on this Ticket:
2018-11-26 23:13 Updated by: keith
Comment:
Although this isn't a particularly high priority for me, I've chosen to adopt
it as an exercise, to test the mingw-port capability, (a complete and improved
replacement for the old mingwPORT framework), of my mingw-pkg utility suite:–
1. $ mkdir -p ~/sandbox/mingw-port
2. $ cd ~/sandbox/mingw-port
3. $ mingw-pkg PORTSPEC=zlib-1.2.11 import
4. .
5. .
6. .
7. $ mkdir -p build/zlib-1.2.11
8. $ cd build/zlib-1.2.11
9. $ mingw-pkg --srcdir=../../zlib-1.2.11 patch
10. .
11. .
12. .
13. $ mingw-pkg compile
14. .
15. .
16. .
17. $ mingw-pkg dist sign
18. .
19. .
20. .
I guess there's no reason why I shouldn't make the resultant distributable
package components available for FRS download.
---------------------------------------------------------------------
Ticket Status:
Reporter: melchiorgaspar
Owner: (None)
Type: Feature Request
Status: Open
Priority: 1 - Lowest
MileStone: (None)
Component: OTHER
Severity: 5 - Medium
Resolution: None
---------------------------------------------------------------------
Ticket details:
I wanted to let you guys know I noticed today that zlib after an eternity
finally has an update as of January 15, 2017 zlib is now version v1.2.11 up
from v1.2.8...
So can one of you PLEASE grab the new src and compile and update the zlib
package in MinGW? please and thanks. :) mingw32-libz
http://www.zlib.net/ http://www.zlib.net/zlib1211.zip
--
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/38219
RSS feed for this Ticket:
https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=38219
------------------------------
Message: 5
Date: Mon, 26 Nov 2018 18:22:42 -0500
From: MinGW Notification List <[email protected]>
To: OSDN Ticket System <[email protected]>
Subject: [MinGW-Notify] [mingw] #38219: zLib needs updating from
(v1.2.8) to (v1.2.11)...
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8
#38219: zLib needs updating from (v1.2.8) to (v1.2.11)...
Open Date: 2018-04-20 03:25
Last Update: 2018-11-26 18:22
URL for this Ticket:
https://osdn.net//projects/mingw/ticket/38219
RSS feed for this Ticket:
https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=38219
---------------------------------------------------------------------
Last Changes/Comment on this Ticket:
2018-11-26 18:22 Updated by: melchiorgaspar
Comment:
Huwayy! an update and progress
---------------------------------------------------------------------
Ticket Status:
Reporter: melchiorgaspar
Owner: (None)
Type: Feature Request
Status: Open
Priority: 1 - Lowest
MileStone: (None)
Component: OTHER
Severity: 5 - Medium
Resolution: None
---------------------------------------------------------------------
Ticket details:
I wanted to let you guys know I noticed today that zlib after an eternity
finally has an update as of January 15, 2017 zlib is now version v1.2.11 up
from v1.2.8...
So can one of you PLEASE grab the new src and compile and update the zlib
package in MinGW? please and thanks. :) mingw32-libz
http://www.zlib.net/ http://www.zlib.net/zlib1211.zip
--
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/38219
RSS feed for this Ticket:
https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=38219
------------------------------
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 6
*******************************************