<
10000
script type="application/json" data-target="react-app.embeddedData">{"payload":{"commit":{"oid":"e2bc242833da27cd73c279bebfb321a65384808f","url":"/postgres/postgres/commit/e2bc242833da27cd73c279bebfb321a65384808f","authoredDate":"2022-07-02T21:03:19.000-07:00","committedDate":"2022-07-02T21:03:19.000-07:00","shortMessage":null,"shortMessageMarkdown":"\u003cdiv\u003eFix previous commit's ecpg_clocale for ppc Darwin.\u003c/div\u003e","shortMessageMarkdownLink":null,"bodyMessageHtml":"Per buildfarm member prairiedog, this platform rejects uninitialized\nglobal variables in shared libraries. Back-patch to v10, like the\naddition of the variable.\n\nReviewed by Tom Lane.\n\nDiscussion: \u003ca href=\"https://postgr.es/m/20220703030619.GB2378460@rfd.leadboat.com\" rel=\"nofollow\"\u003ehttps://postgr.es/m/20220703030619.GB2378460@rfd.leadboat.com\u003c/a\u003e","authors":[{"login":"nmisch","displayName":"Noah Misch","avatarUrl":"https://avatars.githubusercontent.com/u/5084293?v=4","path":"/nmisch","isGitHub":false}],"committerAttribution":false,"committer":{"login":"nmisch","displayName":"Noah Misch","avatarUrl":"https://avatars.githubusercontent.com/u/5084293?v=4","path":"/nmisch","isGitHub":false},"parents":["5633836ef306aa4d2be44821b601494054b479d7"],"globalRelayId":"C_kwDOAA4m0toAKGUyYmMyNDI4MzNkYTI3Y2Q3M2MyNzliZWJmYjMyMWE2NTM4NDgwOGY","sha1":"5633836ef306aa4d2be44821b601494054b479d7","sha2":"e2bc242833da27cd73c279bebfb321a65384808f"},"currentUser":null,"repo":{"id":927442,"defaultBranch":"master","name":"postgres","ownerLogin":"postgres","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2010-09-21T11:35:45.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/177543?v=4","public":true,"private":false,"isOrgOwned":true},"diffEntryData":[{"diffLines":[{"stylingDirective":null,"type":"HUNK","blobLineNumber":10,"text":"@@ -11,7 +11,7 @@","html":"@@ -11,7 +11,7 @@","displayNoNewLineWarning":false,"position":0,"left":10,"right":10},{"stylingDirective":null,"type":"CONTEXT","blobLineNumber":11,"text":" #include \"sqlca.h\"","html":" \u003cspan class=pl-k\u003e#include\u003c/span\u003e \u003cspan class=pl-s\u003e\u0026quot;sqlca.h\u0026quot;\u003c/span\u003e","displayNoNewLineWarning":false,"position":1,"left":11,"right":11},{"stylingDirective":null,"type":"CONTEXT","blobLineNumber":12,"text":" ","html":"\u003cbr\u003e","displayNoNewLineWarning":false,"position":2,"left":12,"right":12},{"stylingDirective":null,"type":"CONTEXT","blobLineNumber":13,"text":" #ifdef HAVE_USELOCALE","html":" \u003cspan class=pl-k\u003e#ifdef\u003c/span\u003e \u003cspan class=pl-c1\u003eHAVE_USELOCALE\u003c/span\u003e","displayNoNewLineWarning":false,"position":3,"left":13,"right":13},{"stylingDirective":null,"type":"DELETION","blobLineNumber":14,"text":"-locale_t\tecpg_clocale;","html":"-\u003cspan class=\"pl-smi\"\u003elocale_t\u003c/span\u003e\t\u003cspan class=\"pl-s1\"\u003eecpg_clocale\u003c/span\u003e;","displayNoNewLineWarning":false,"position":4,"left":14,"right":13},{"stylingDirective":null,"type":"ADDITION","blobLineNumber":14,"text":"+locale_t\tecpg_clocale = (locale_t) 0;","html":"+\u003cspan class=\"pl-smi\"\u003elocale_t\u003c/span\u003e\t\u003cspan class=\"pl-s1\"\u003eecpg_clocale\u003c/span\u003e\u003cspan class=\"x x-first\"\u003e \u003c/span\u003e\u003cspan class=\"pl-c1 x\"\u003e=\u003c/span\u003e\u003cspan class=\"x\"\u003e (\u003c/span\u003e\u003cspan class=\"pl-smi x\"\u003elocale_t\u003c/span\u003e\u003cspan class=\"x\"\u003e) \u003c/span\u003e\u003cspan class=\"pl-c1 x x-last\"\u003e0\u003c/span\u003e;","displayNoNewLineWarning":false,"position":5,"left":14,"right":14},{"stylingDirective":null,"type":"CONTEXT","blobLineNumber":15,"text":" #endif","html":" \u003cspan class=pl-k\u003e#endif\u003c/span\u003e","displayNoNewLineWarning":false,"position":6,"left":15,"right":15},{"stylingDirective":null,"type":"CONTEXT","blobLineNumber":16,"text":" ","html":"\u003cbr\u003e","displayNoNewLineWarning":false,"position":7,"left":16,"right":16},{"stylingDirective":null,"type":"CONTEXT","blobLineNumber":17,"text":" #ifdef ENABLE_THREAD_SAFETY","html":" \u003cspan class=pl-k\u003e#ifdef\u003c/span\u003e \u003cspan class=pl-c1\u003eENABLE_THREAD_SAFETY\u003c/span\u003e","displayNoNewLineWarning":false,"position":8,"left":17,"right":17}],"diffNumber":0,"diffSize":"0 Bytes","isBinary":false,"isTooBig":false,"collapsed":false,"isSubmodule":false,"lineCount":766,"linesChanged":2,"newTreeEntry":{"lineCount":766,"path":"src/interfaces/ecpg/ecpglib/connect.c","mode":100644,"isGenerated":false},"oldTreeEntry":{"lineCount":0,"path":"src/interfaces/ecpg/ecpglib/connect.c","mode":100644},"linesAdded":1,"linesDeleted":1,"path":"src/interfaces/ecpg/ecpglib/connect.c","pathDigest":"422b590104bb87968ae985f70447ab13d533205496486bc7d8bcfc78f0082da6","status":"MODIFIED","truncatedReason":null,"oldOid":"5633836ef306aa4d2be44821b601494054b479d7","newOid":"e2bc242833da27cd73c279bebfb321a65384808f","copilotChatReference":null,"deletedSha":"5633836ef306aa4d2be44821b601494054b479d7","canToggleRichDiff":false,"defaultToRichDiff":false,"proseDifffHtml":null,"renderInfo":null,"dependencyDiffPath":null,"submodule":null}],"splitViewPreference":"unified","ignoreWhitespace":false,"repoOwnerGlobalRelayId":"MDEyOk9yZ2FuaXphdGlvbjE3NzU0Mw==","commentsPreference":"visible","diffLineSpacingPreference":"relaxed","useMonospaceFont":false,"pasteUrlLinkAsPlainText":false,"userNotices":[],"path":"/postgres/postgres/commit/e2bc242833da27cd73c279bebfb321a65384808f","fileTreeExpanded":true,"headerInfo":{"additions":1,"deletions":1,"filesChanged":1,"filesChangedString":"1"},"moreDiffsToLoad":false,"asyncDiffLoadInfo":{"startIndex":1,"truncated":false,"byteCount":164,"lineShownCount":9},"commentInfo":{"canComment":false,"locked":false,"canLock":false,"repoArchived":false},"csrf_tokens":{"/users/diffview?diff=split":{"post":"WRq2GXtdAFDttK51Ty8xxCcJqbvhSHEMhRIPPf39Wu18ztKL6vbUvQI2JC_anI6Fu5P-yfFFcojXMRRAiQPQZA"},"/users/diffview?diff=unified":{"post":"lRbJj3xXr7ysdKOhzmpusaUnJbyAvqcImKETonYXO7Kwwq0d7fx7UUP2Kftb2dHwOb1yzpCzpIzKggjfAumxOw"},"/notifications/thread":{"post":"1Tde0Hul_jx_YCdfO_TcN98mTI5UkGF-_Pq6ZQZrm6UFc0aMm0dhE2g02Mlm2IiT6rt6gH5GTCgUTBGkVsVU5g"}}},"title":"Fix previous commit's ecpg_clocale for ppc Darwin. · postgres/postgres@e2bc242","appPayload":{"helpUrl":"https://docs.github.com","findInDiffWorkerPath":"/assets-cdn/worker/find-in-diff-worker-2bfe39677d14.js","enabled_features":{"diff_ux_refresh_beta":false,"diff_inline_comments":true,"diff_ux_refresh_ssr_five":false,"diff_ux_refresh_ssr_ten":false,"react_diff_line_type_character_correction":true}}}
File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
src/interfaces/ecpg/ecpglib Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change 11
11
#include "sqlca.h"
12
12
13
13
#ifdef HAVE_USELOCALE
14
- locale_t ecpg_clocale ;
14
+ locale_t ecpg_clocale = ( locale_t ) 0 ;
15
15
#endif
16
16
17
17
#ifdef ENABLE_THREAD_SAFETY
You can’t perform that action at this time.
0 commit comments