There is even an FAQ entry for zlib at which warns about that potential issue. > And the first thing which bugs out when I do a quick test with committing a large file and fsck the repo is in zlib.c: > if (s->z.total_out != s->total_out + bytes_produced) > BUG("total_out mismatch") > here s->z.total_out is an unsigned long and s->total_out is size_t and this triggers the BUG message once the unsigned long wraps. > I've started playing around with the patch from Thorsten for getting unsigned long replaced in more places so that you can commit large files on platforms like Windows there unsigned long is 32-bit even on 64-bit OSes. Januar 2019 um 23:15 geschrieben: > * mk/use-size-t-in-zlib () 1 commit > - zlib.c: use size_t for size > The wrapper to call into zlib followed our long tradition to use > "unsigned long" for sizes of regions in memory, which have been > updated to use "size_t". Just my 2cents I'm not vetoing anything here, Would make the patch more complete IMHO.Īnother potential issue in that patch is that the signature change in git_deflate_bound forces size to unsigned long on the call to deflateBound (for newer zlib versions) and if that conversion is not faithful this will certainly not work. Here s->z.total_out is an unsigned long and s->total_out is size_t and this triggers the BUG message once the unsigned long wraps. If (s->z.total_out != s->total_out + bytes_produced) I've started playing around with the patch from Thorsten for getting unsigned long replaced in more places so that you can commit large files on platforms like Windows there unsigned long is 32-bit even on 64-bit OSes.Īnd the first thing which bugs out when I do a quick test with committing a large file and fsck the repo is in zlib.c: > * mk/use-size-t-in-zlib () 1 commit > - zlib.c: use size_t for size > The wrapper to call into zlib followed our long tradition to use > "unsigned long" for sizes of regions in memory, which have been > updated to use "size_t". X-Mailer: Open-Xchange Mailer v7.8.4-Rev48 Subject: mk/use-size-t-in-zlib [was: Re: What's cooking in git.git (Jan To: Junio C Hamano, Martin Koegler, =?utf-8?q?Torsten_B=C3=B6gers?= Received: from app04-neu.ox. () authenticatedīy running ExIM with esmtpsa ![]() " rhost-flags-OK-OK-OK-OK)īy with ESMTP id S1727838AbfAaR7V (ORCPT Received: from ( )īy mail.wl. (Postfix) with ESMTP id C727E30FA0 RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 ![]() X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, ![]() X-Spam-Checker-Version: SpamAssassin 3.3.1 () on Received: by mail.wl. (Postfix, from userid 486) Received: from mail.wl. (localhost )īy mail.wl. (Postfix) with ESMTP id E5C4430FA0 If you already own a 4K TV and intend to jump on BT's new hardware, the Community Shield will be the first match to be shown in Ultra HD when it kicks off in August.Received: from mail.wl. (īy (Postfix) with ESMTP id F38BB13A4 It too is said to be readying a new internet-connected 4K set-top box, but has yet to confirm plans. With BT soon to push 4K content, you can expect that Sky won't be too far behind. BT also says that Ultra HD content will only be available to BT Infinity subscribers. It's believed that it could also share streams to smartphones and tablets, like EE TV, and let users access recordings while on the move. In February, reports suggested that the broadcaster had brought forward the launch of its new box in order to steal a march on Sky. As you'd expect, these broadcasts won't work on BT's existing hardware, so it'll introduce a new BT TV Ultra HD set-top box to do the heavy lifting.ĭetails are scarce but we do know that it'll be BT's "best ever" Youview+ box and is capable of storing up to 600 SD hours or up to 250 HD hours on its 1TB hard drive. It's for a good reason, though: the company has said it will launch the first 4K channel in Europe in August, called BT Sport Ultra HD, delivering selected matches from the Premier League, FA Cup, Champions League and Aviva Premiership Rugby. ![]() While BT will begin charging Sky subscribers for access to Champions League football next season, the company may soon ask for more money from existing customers too.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |