René's URL Explorer Experiment


Title: A patch to build with Visual Studio 2015 · Issue #161 · python-cmake-buildsystem/python-cmake-buildsystem · GitHub

Open Graph Title: A patch to build with Visual Studio 2015 · Issue #161 · python-cmake-buildsystem/python-cmake-buildsystem

X Title: A patch to build with Visual Studio 2015 · Issue #161 · python-cmake-buildsystem/python-cmake-buildsystem

Description: This is a patch to make Python 2.7.11 build on VS2015: From 4ab220c38c7d15192ed3b394f47e4196c947f056 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C5=BEenan=20Zuki=C4=87?= Date: Mon, 24 Oct 2016 09:13:30 -0400 Sub...

Open Graph Description: This is a patch to make Python 2.7.11 build on VS2015: From 4ab220c38c7d15192ed3b394f47e4196c947f056 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C5=BEenan=20Zuki=C4=87?= D...

X Description: This is a patch to make Python 2.7.11 build on VS2015: From 4ab220c38c7d15192ed3b394f47e4196c947f056 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C5=BEenan=20Zuki=C4=87?= <dzenan.zukic@kitware.com...

Opengraph URL: https://github.com/python-cmake-buildsystem/python-cmake-buildsystem/issues/161

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"A patch to build with Visual Studio 2015","articleBody":"This is a patch to make Python 2.7.11 build on VS2015:\n\n```\nFrom 4ab220c38c7d15192ed3b394f47e4196c947f056 Mon Sep 17 00:00:00 2001\nFrom: =?UTF-8?q?D=C5=BEenan=20Zuki=C4=87?= \u003cdzenan.zukic@kitware.com\u003e\nDate: Mon, 24 Oct 2016 09:13:30 -0400\nSubject: [PATCH] Build with VS2015\n\n---\n Modules/posixmodule.c | 36 +++++-------------------------------\n Modules/timemodule.c  |  8 ++++----\n 2 files changed, 9 insertions(+), 35 deletions(-)\n\ndiff --git a/Modules/posixmodule.c b/Modules/posixmodule.c\nindex 4fc3ef7..d90953f 100644\n--- a/Modules/posixmodule.c\n+++ b/Modules/posixmodule.c\n@@ -570,38 +570,12 @@ extern __declspec(dllimport) char * __pioinfo[];\n int\n _PyVerify_fd(int fd)\n {\n-    const int i1 = fd \u003e\u003e IOINFO_L2E;\n-    const int i2 = fd \u0026 ((1 \u003c\u003c IOINFO_L2E) - 1);\n\n-    static int sizeof_ioinfo = 0;\n-\n-    /* Determine the actual size of the ioinfo structure,\n-     * as used by the CRT loaded in memory\n-     */\n-    if (sizeof_ioinfo == 0 \u0026\u0026 __pioinfo[0] != NULL) {\n-        sizeof_ioinfo = _msize(__pioinfo[0]) / IOINFO_ARRAY_ELTS;\n-    }\n-    if (sizeof_ioinfo == 0) {\n-        /* This should not happen... */\n-        goto fail;\n-    }\n-\n-    /* See that it isn't a special CLEAR fileno */\n-    if (fd != _NO_CONSOLE_FILENO) {\n-        /* Microsoft CRT would check that 0\u003c=fd\u003c_nhandle but we can't do that.  Instead\n-         * we check pointer validity and other info\n-         */\n-        if (0 \u003c= i1 \u0026\u0026 i1 \u003c IOINFO_ARRAYS \u0026\u0026 __pioinfo[i1] != NULL) {\n-            /* finally, check that the file is open */\n-            my_ioinfo* info = (my_ioinfo*)(__pioinfo[i1] + i2 * sizeof_ioinfo);\n-            if (info-\u003eosfile \u0026 FOPEN) {\n-                return 1;\n-            }\n-        }\n-    }\n-  fail:\n-    errno = EBADF;\n-    return 0;\n+    //a call to _get_osfhandle with invalid fd sets errno to EBADF\n+    if (_get_osfhandle(fd) == INVALID_HANDLE_VALUE)\n+        return 0;\n+    else\n+        return 1;\n }\n\n /* the special case of checking dup2.  The target fd must be in a sensible range */\ndiff --git a/Modules/timemodule.c b/Modules/timemodule.c\nindex 12c43b0..8692080 100644\n--- a/Modules/timemodule.c\n+++ b/Modules/timemodule.c\n@@ -710,7 +710,7 @@ inittimezone(PyObject *m) {\n #ifdef PYOS_OS2\n     PyModule_AddIntConstant(m, \"timezone\", _timezone);\n #else /* !PYOS_OS2 */\n-    PyModule_AddIntConstant(m, \"timezone\", timezone);\n+    PyModule_AddIntConstant(m, \"timezone\", _timezone);\n #endif /* PYOS_OS2 */\n #ifdef HAVE_ALTZONE\n     PyModule_AddIntConstant(m, \"altzone\", altzone);\n@@ -718,12 +718,12 @@ inittimezone(PyObject *m) {\n #ifdef PYOS_OS2\n     PyModule_AddIntConstant(m, \"altzone\", _timezone-3600);\n #else /* !PYOS_OS2 */\n-    PyModule_AddIntConstant(m, \"altzone\", timezone-3600);\n+    PyModule_AddIntConstant(m, \"altzone\", _timezone-3600);\n #endif /* PYOS_OS2 */\n #endif\n-    PyModule_AddIntConstant(m, \"daylight\", daylight);\n+    PyModule_AddIntConstant(m, \"daylight\", _daylight);\n     PyModule_AddObject(m, \"tzname\",\n-                       Py_BuildValue(\"(zz)\", tzname[0], tzname[1]));\n+                       Py_BuildValue(\"(zz)\", _tzname[0], _tzname[1]));\n #else /* !HAVE_TZNAME || __GLIBC__ || __CYGWIN__*/\n #ifdef HAVE_STRUCT_TM_TM_ZONE\n     {\n-- \n2.9.0.windows.1\n```\n","author":{"url":"https://github.com/dzenanz","@type":"Person","name":"dzenanz"},"datePublished":"2016-10-24T13:19:25.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":18},"url":"https://github.com/161/python-cmake-buildsystem/issues/161"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:070abcce-88da-934c-d242-6f3f26b674c7
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idED3A:7E35F:946370:D4591E:6A58C7A8
html-safe-nonce492cd63e4d550c4488c76b643c8204458074e3423f6e4fec77a6f134abf4b190
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFRDNBOjdFMzVGOjk0NjM3MDpENDU5MUU6NkE1OEM3QTgiLCJ2aXNpdG9yX2lkIjoiNzA2Nzc2MzQ3MjE1NjExNjkwNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac4a9c047d3b55ed95ce637f2de13e9f582716e24c000dcfeb3d1fef55ab30c8ab
hovercard-subject-tagissue:184838278
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python-cmake-buildsystem/python-cmake-buildsystem/161/issue_layout
twitter:imagehttps://opengraph.githubassets.com/5d905417e7ddb6fecafc0f228c506d8cc688961e9eac1be562adddbb095bb500/python-cmake-buildsystem/python-cmake-buildsystem/issues/161
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/5d905417e7ddb6fecafc0f228c506d8cc688961e9eac1be562adddbb095bb500/python-cmake-buildsystem/python-cmake-buildsystem/issues/161
og:image:altThis is a patch to make Python 2.7.11 build on VS2015: From 4ab220c38c7d15192ed3b394f47e4196c947f056 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C5=BEenan=20Zuki=C4=87?= D...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedzenanz
hostnamegithub.com
expected-hostnamegithub.com
None5f2a0c7865178af3d91dd9f13b0cdfc3c73a2529c873d2780bb4c01271a57ec6
turbo-cache-controlno-preview
go-importgithub.com/python-cmake-buildsystem/python-cmake-buildsystem git https://github.com/python-cmake-buildsystem/python-cmake-buildsystem.git
octolytics-dimension-user_id13651879
octolytics-dimension-user_loginpython-cmake-buildsystem
octolytics-dimension-repository_id1304677
octolytics-dimension-repository_nwopython-cmake-buildsystem/python-cmake-buildsystem
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1304677
octolytics-dimension-repository_network_root_nwopython-cmake-buildsystem/python-cmake-buildsystem
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8aae7b8d6caacacf5c66eaeb2702d8dc88d85b4a
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python-cmake-buildsystem/python-cmake-buildsystem/issues/161#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-cmake-buildsystem%2Fpython-cmake-buildsystem%2Fissues%2F161
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-cmake-buildsystem%2Fpython-cmake-buildsystem%2Fissues%2F161
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=python-cmake-buildsystem%2Fpython-cmake-buildsystem
Reloadhttps://github.com/python-cmake-buildsystem/python-cmake-buildsystem/issues/161
Reloadhttps://github.com/python-cmake-buildsystem/python-cmake-buildsystem/issues/161
Reloadhttps://github.com/python-cmake-buildsystem/python-cmake-buildsystem/issues/161
Please reload this pagehttps://github.com/python-cmake-buildsystem/python-cmake-buildsystem/issues/161
python-cmake-buildsystem https://github.com/python-cmake-buildsystem
python-cmake-buildsystemhttps://github.com/python-cmake-buildsystem/python-cmake-buildsystem
Notifications https://github.com/login?return_to=%2Fpython-cmake-buildsystem%2Fpython-cmake-buildsystem
Fork 157 https://github.com/login?return_to=%2Fpython-cmake-buildsystem%2Fpython-cmake-buildsystem
Star 469 https://github.com/login?return_to=%2Fpython-cmake-buildsystem%2Fpython-cmake-buildsystem
Code https://github.com/python-cmake-buildsystem/python-cmake-buildsystem
Issues 50 https://github.com/python-cmake-buildsystem/python-cmake-buildsystem/issues
Pull requests 27 https://github.com/python-cmake-buildsystem/python-cmake-buildsystem/pulls
Actions https://github.com/python-cmake-buildsystem/python-cmake-buildsystem/actions
Security and quality 0 https://github.com/python-cmake-buildsystem/python-cmake-buildsystem/security
Insights https://github.com/python-cmake-buildsystem/python-cmake-buildsystem/pulse
Code https://github.com/python-cmake-buildsystem/python-cmake-buildsystem
Issues https://github.com/python-cmake-buildsystem/python-cmake-buildsystem/issues
Pull requests https://github.com/python-cmake-buildsystem/python-cmake-buildsystem/pulls
Actions https://github.com/python-cmake-buildsystem/python-cmake-buildsystem/actions
Security and quality https://github.com/python-cmake-buildsystem/python-cmake-buildsystem/security
Insights https://github.com/python-cmake-buildsystem/python-cmake-buildsystem/pulse
A patch to build with Visual Studio 2015https://github.com/python-cmake-buildsystem/python-cmake-buildsystem/issues/161#top
Type: EnhancementImprovement to functionalityhttps://github.com/python-cmake-buildsystem/python-cmake-buildsystem/issues?q=state%3Aopen%20label%3A%22Type%3A%20Enhancement%22
https://github.com/dzenanz
dzenanzhttps://github.com/dzenanz
on Oct 24, 2016https://github.com/python-cmake-buildsystem/python-cmake-buildsystem/issues/161#issue-184838278
Type: EnhancementImprovement to functionalityhttps://github.com/python-cmake-buildsystem/python-cmake-buildsystem/issues?q=state%3Aopen%20label%3A%22Type%3A%20Enhancement%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.