You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<
8000
script type="application/json" data-target="react-app.embeddedData">{"payload":{"commit":{"oid":"e757cdd6ad1bc757df7a73616bde8d7e1cb2828a","url":"/postgres/postgres/commit/e757cdd6ad1bc757df7a73616bde8d7e1cb2828a","authoredDate":"2022-07-24T09:44:29.000+12:00","committedDate":"2022-07-24T09:44:29.000+12:00","shortMessage":null,"shortMessageMarkdown":"\u003cdiv\u003eRemove dead getpwuid_r replacement code.\u003c/div\u003e","shortMessageMarkdownLink":null,"bodyMessageHtml":"getpwuid_r is in SUSv2 and all targeted Unix systems have it. We don't\nuse it for Windows.\n\nReviewed-by: Tom Lane \u0026lt;tgl@sss.pgh.pa.us\u0026gt;\nReviewed-by: Greg Stark \u0026lt;stark@mit.edu\u0026gt;\nReviewed-by: Robert Haas \u0026lt;robertmhaas@gmail.com\u0026gt;\nDiscussion: \u003ca href=\"https://postgr.es/m/CA+hUKGJ3LHeP9w5Fgzdr4G8AnEtJ=z=p6hGDEm4qYGEUX5B6fQ@mail.gmail.com\" rel=\"nofollow\"\u003ehttps://postgr.es/m/CA+hUKGJ3LHeP9w5Fgzdr4G8AnEtJ=z=p6hGDEm4qYGEUX5B6fQ@mail.gmail.com\u003c/a\u003e","authors":[{"login":"macdice","displayName":"Thomas Munro","avatarUrl":"https://avatars.githubusercontent.com/u/150350?v=4","path":"/macdice","isGitHub":false}],"committerAttribution":false,"committer":{"login":"macdice","displayName":"Thomas Munro","avatarUrl":"https://avatars.githubusercontent.com/u/150350?v=4","path":"/macdice","isGitHub":false},"parents":["fb12becdfb89e35f3f56768cefe1a837f0afafaf"],"globalRelayId":"C_kwDOAA4m0toAKGU3NTdjZGQ2YWQxYmM3NTdkZjdhNzM2MTZiZGU4ZDdlMWNiMjgyOGE","sha1":"fb12becdfb89e35f3f56768cefe1a837f0afafaf","sha2":"e757cdd6ad1bc757df7a73616bde8d7e1cb2828a"},"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":11750,"text":"@@ -11751,7 +11751,7 @@ fi","html":"@@ -11751,7 +11751,7 @@ fi","displayNoNewLineWarning":false,"position":0,"left":11750,"right":11750},{"stylingDirective":null,"type":"CONTEXT","blobLineNumber":11751,"text":" ","html":"\u003cbr\u003e","displayNoNewLineWarning":false,"position":1,"left":11751,"right":11751},{"stylingDirective":null,"type":"CONTEXT","blobLineNumber":11752,"text":" ","html":"\u003cbr\u003e","displayNoNewLineWarning":false,"position":2,"left":11752,"right":11752},{"stylingDirective":null,"type":"CONTEXT","blobLineNumber":11753,"text":" ","html":"\u003cbr\u003e","displayNoNewLineWarning":false,"position":3,"left":11753,"right":11753},{"stylingDirective":null,"type":"DELETION","blobLineNumber":11754,"text":"-for ac_func in strerror_r getpwuid_r gethostbyname_r","html":"-for ac_func in strerror_r \u003cspan class=\"x x-first x-last\"\u003egetpwuid_r \u003c/span\u003egethostbyname_r","displayNoNewLineWarning":false,"position":4,"left":11754,"right":11753},{"stylingDirective":null,"type":"ADDITION","blobLineNumber":11754,"text":"+for ac_func in strerror_r gethostbyname_r","html":"+for ac_func in strerror_r gethostbyname_r","displayNoNewLineWarning":false,"position":5,"left":11754,"right":11754},{"stylingDirective":null,"type":"CONTEXT","blobLineNumber":11755,"text":" do :","html":" do :","displayNoNewLineWarning":false,"position":6,"left":11755,"right":11755},{"stylingDirective":null,"type":"CONTEXT","blobLineNumber":11756,"text":" as_ac_var=`$as_echo \"ac_cv_func_$ac_func\" | $as_tr_sh`","html":" as_ac_var=`$as_echo \u0026quot;ac_cv_func_$ac_func\u0026quot; | $as_tr_sh`","displayNoNewLineWarning":false,"position":7,"left":11756,"right":11756},{"stylingDirective":null,"type":"CONTEXT","blobLineNumber":11757,"text":" ac_fn_c_check_func \"$LINENO\" \"$ac_func\" \"$as_ac_var\"","html":" ac_fn_c_check_func \u0026quot;$LINENO\u0026quot; \u0026quot;$ac_func\u0026quot; \u0026quot;$as_ac_var\u0026quot;","displayNoNewLineWarning":false,"position":8,"left":11757,"right":11757}],"diffNumber":0,"diffSize":"0 Bytes","isBinary":false,"isTooBig":false,"collapsed":false,"isSubmodule":false,"lineCount":21371,"linesChanged":2,"newTreeEntry":{"lineCount":21371,"path":"configure","mode":100755,"isGenerated":false},"oldTreeEntry":{"lineCount":0,"path":"configure","mode":100755},"linesAdded":1,"linesDeleted":1,"path":"configure","pathDigest":"90d08e583c4c9c6f391b2ae90f819f600a6326928ea9512c9e0c6d98e9f29ac2","status":"MODIFIED","truncatedReason":null,"oldOid":"fb12becdfb89e35f3f56768cefe1a837f0afafaf","newOid":"e757cdd6ad1bc757df7a73616bde8d7e1cb2828a","copilotChatReference":null,"deletedSha":"fb12becdfb89e35f3f56768cefe1a837f0afafaf","canToggleRichDiff":false,"defaultToRichDiff":false,"proseDifffHtml":null,"renderInfo":null,"dependencyDiffPath":null,"submodule":null},{"diffLines":[{"stylingDirective":null,"type":"HUNK","blobLineNumber":1213,"text":"@@ -1214,7 +1214,7 @@ LIBS=\"$LIBS $PTHREAD_LIBS\"","html":"@@ -1214,7 +1214,7 @@ LIBS=\u0026quot;$LIBS $PTHREAD_LIBS\u0026quot;","displayNoNewLineWarning":false,"position":0,"left":1213,"right":1213},{"stylingDirective":null,"type":"CONTEXT","blobLineNumber":1214,"text":" AC_CHECK_HEADER(pthread.h, [], [AC_MSG_ERROR([","html":" \u003cspan class=\"pl-c1\"\u003e\u003cspan class=\"pl-k\"\u003eAC_CHECK_HEADER\u003c/span\u003e\u003cspan class=\"pl-pds\"\u003e(\u003c/span\u003e\u003cspan class=\"pl-c1\"\u003epthread.h\u003c/span\u003e, \u003cspan class=\"pl-c1\"\u003e\u003cspan class=\"pl-pds\"\u003e[\u003c/span\u003e\u003cspan class=\"pl-pds\"\u003e]\u003c/span\u003e\u003c/span\u003e, \u003cspan class=\"pl-c1\"\u003e\u003cspan class=\"pl-pds\"\u003e[\u003c/span\u003e\u003cspan class=\"pl-k\"\u003eAC_MSG_ERROR\u003c/span\u003e\u003cspan class=\"pl-pds\"\u003e(\u003c/span\u003e\u003cspan class=\"pl-c1\"\u003e\u003cspan class=\"pl-pds\"\u003e[\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e","displayNoNewLineWarning":false,"position":1,"left":1214,"right":1214},{"stylingDirective":null,"type":"CONTEXT","blobLineNumber":1215,"text":" pthread.h not found; use --disable-thread-safety to disable thread safety])])","html":" \u003cspan class=\"pl-c1\"\u003e\u003cspan class=\"pl-c1\"\u003e\u003cspan class=\"pl-c1\"\u003epthread.h not found; use --disable-thread-safety to disable thread safety\u003cspan class=\"pl-pds\"\u003e]\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"pl-pds\"\u003e)\u003c/span\u003e\u003cspan class=\"pl-pds\"\u003e]\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"pl-pds\"\u003e)\u003c/span\u003e\u003c/span\u003e","displayNoNewLineWarning":false,"position":2,"left":1215,"right":1215},{"stylingDirective":null,"type":"CONTEXT","blobLineNumber":1216,"text":" ","html":" \u003cspan class=\"pl-c1\"\u003e\u003c/span\u003e","displayNoNewLineWarning":false,"position":3,"left":1216,"right":1216},{"stylingDirective":null,"type":"DELETION","blobLineNumber":1217,"text":"-AC_CHECK_FUNCS([strerror_r getpwuid_r gethostbyname_r])","html":"-\u003cspan class=\"pl-c1\"\u003e\u003cspan class=\"pl-k\"\u003eAC_CHECK_FUNCS\u003c/span\u003e\u003cspan class=\"pl-pds\"\u003e(\u003c/span\u003e\u003cspan class=\"pl-c1\"\u003e\u003cspan class=\"pl-pds\"\u003e[\u003c/span\u003estrerror_r \u003cspan class=\"x x-first x-last\"\u003egetpwuid_r \u003c/span\u003egethostbyname_r\u003cspan class=\"pl-pds\"\u003e]\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"pl-pds\"\u003e)\u003c/span\u003e\u003c/span\u003e","displayNoNewLineWarning":false,"position":4,"left":1217,"right":1216},{"stylingDirective":null,"type":"ADDITION","blobLineNumber":1217,"text":"+AC_CHECK_FUNCS([strerror_r gethostbyname_r])","html":"+\u003cspan class=\"pl-c1\"\u003e\u003cspan class=\"pl-k\"\u003eAC_CHECK_FUNCS\u003c/span\u003e\u003cspan class=\"pl-pds\"\u003e(\u003c/span\u003e\u003cspan class=\"pl-c1\"\u003e\u003cspan class=\"pl-pds\"\u003e[\u003c/span\u003estrerror_r gethostbyname_r\u003cspan class=\"pl-pds\"\u003e]\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"pl-pds\"\u003e)\u003c/span\u003e\u003c/span\u003e","displayNoNewLineWarning":false,"position":5,"left":1217,"right":1217},{"stylingDirective":null,"type":"CONTEXT","blobLineNumber":1218,"text":" ","html":" \u003cspan class=\"pl-c1\"\u003e\u003c/span\u003e","displayNoNewLineWarning":false,"position":6,"left":1218,"right":1218},{"stylingDirective":null,"type":"CONTEXT","blobLineNumber":1219,"text":" # Do test here with the proper thread flags","html":" \u003cspan class=\"pl-c1\"\u003e# Do test here with the proper thread flags\u003c/span\u003e","displayNoNewLineWarning":false,"position":7,"left":1219,"right":1219},{"stylingDirective":null,"type":"CONTEXT","blobLineNumber":1220,"text":" PGAC_FUNC_STRERROR_R_INT","html":" \u003cspan class=\"pl-c1\"\u003ePGAC_FUNC_STRERROR_R_INT\u003c/span\u003e","displayNoNewLineWarning":false,"position":8,"left":1220,"right":1220}],"diffNumber":1,"diffSize":"0 Bytes","isBinary":false,"isTooBig":false,"collapsed":false,"isSubmodule":false,"lineCount":2564,"linesChanged":2,"newTreeEntry":{"lineCount":2564,"path":"configure.ac","mode":100644,"isGenerated":false},"oldTreeEntry":{"lineCount":0,"path":"configure.ac","mode":100644},"linesAdded":1,"linesDeleted":1,"path":"configure.ac","pathDigest":"49473dca262eeab3b4a43002adb08b4db31020d190caaad1594b47f1d5daa810","status":"MODIFIED","truncatedReason":null,"oldOid":"fb12becdfb89e35f3f56768cefe1a837f0afafaf","newOid":"e757cdd6ad1bc757df7a73616bde8d7e1cb2828a","copilotChatReference":null,"deletedSha":"fb12becdfb89e35f3f56768cefe1a837f0afafaf","canToggleRichDiff":false,"defaultToRichDiff":false,"proseDifffHtml":null,"renderInfo":null,"dependencyDiffPath":null,"submodule":null},{"diffLines":[{"stylingDirective":null,"type":"HUNK","blobLineNumber":239,"text":"@@ -240,9 +240,6 @@","html":"@@ -240,9 +240,6 @@","displayNoNewLineWarning":false,"position":0,"left":239,"right":239},{"stylingDirective":null,"type":"CONTEXT","blobLineNumber":240,"text":" /* Define to 1 if you have the `getpeerucred' function. */","html":" \u003cspan class=pl-c\u003e/* Define to 1 if you have the `getpeerucred\u0026#39; function. */\u003c/span\u003e","displayNoNewLineWarning":false,"position":1,"left":240,"right":240},{"stylingDirective":null,"type":"CONTEXT","blobLineNumber":241,"text":" #undef HAVE_GETPEERUCRED","html":" \u003cspan class=pl-k\u003e#undef\u003c/span\u003e HAVE_GETPEERUCRED","displayNoNewLineWarning":false,"position":2,"left":241,"right":241},{"stylingDirective":null,"type":"CONTEXT","blobLineNumber":242,"text":" ","html":"\u003cbr\u003e","displayNoNewLineWarning":false,"position":3,"left":242,"right":242},{"stylingDirective":null,"type":"DELETION","blobLineNumber":243,"text":"-/* Define to 1 if you have the `getpwuid_r' function. */","html":"-\u003cspan class=pl-c\u003e/* Define to 1 if you have the `getpwuid_r\u0026#39; function. */\u003c/span\u003e","displayNoNewLineWarning":false,"position":4,"left":243,"right":242},{"stylingDirective":null,"type":"DELETION","blobLineNumber":244,"text":"-#undef HAVE_GETPWUID_R","html":"-\u003cspan class=pl-k\u003e#undef\u003c/span\u003e HAVE_GETPWUID_R","displayNoNewLineWarning":false,"position":5,"left":244,"right":242},{"stylingDirective":null,"type":"DELETION","blobLineNumber":245,"text":"-","html":"-","displayNoNewLineWarning":false,"position":6,"left":245,"right":242},{"stylingDirective":null,"type":"CONTEXT","blobLineNumber":243,"text":" /* Define to 1 if you have the `getrlimit' function. */","html":" \u003cspan class=pl-c\u003e/* Define to 1 if you have the `getrlimit\u0026#39; function. */\u003c/span\u003e","displayNoNewLineWarning":false,"position":7,"left":246,"right":243},{"stylingDirective":null,"type":"CONTEXT","blobLineNumber":244,"text":" #undef HAVE_GETRLIMIT","html":" \u003cspan class=pl-k\u003e#undef\u003c/span\u003e HAVE_GETRLIMIT","displayNoNewLineWarning":false,"position":8,"left":247,"right":244},{"stylingDirective":null,"type":"CONTEXT","blobLineNumber":245,"text":" ","html":"\u003cbr\u003e","displayNoNewLineWarning":false,"position":9,"left":248,"right":245}],"diffNumber":2,"diffSize":"0 Bytes","isBinary":false,"isTooBig":false,"collapsed":false,"isSubmodule":false,"lineCount":997,"linesChanged":3,"newTreeEntry":{"lineCount":997,"path":"src/include/pg_config.h.in","mode":100644,"isGenerated":false},"oldTreeEntry":{"lineCount":0,"path":"src/include/pg_config.h.in","mode":100644},"linesAdded":0,"linesDeleted":3,"path":"src/include/pg_config.h.in","pathDigest":"96c452e404307390e33d320a5fde529c737044954f6f9fbef7efc441d813ecf9","status":"MODIFIED","truncatedReason":null,"oldOid":"fb12becdfb89e35f3f56768cefe1a837f0afafaf","newOid":"e757cdd6ad1bc757df7a73616bde8d7e1cb2828a","copilotChatReference":null,"deletedSha":"fb12becdfb89e35f3f56768cefe1a837f0afafaf","canToggleRichDiff":false,"defaultToRichDiff":false,"proseDifffHtml":null,"renderInfo":null,"dependencyDiffPath":null,"submodule":null},{"diffLines":[{"stylingDirective":null,"type":"HUNK","blobLineNumber":17,"text":"@@ -18,62 +18,12 @@","html":"@@ -18,62 +18,12 @@","displayNoNewLineWarning":false,"position":0,"left":17,"right":17},{"stylingDirective":null,"type":"CONTEXT","blobLineNumber":18,"text":" ","html":"\u003cbr\u003e","displayNoNewLineWarning":false,"position":1,"left":18,"right":18},{"stylingDirective":null,"type":"CONTEXT","blobLineNumber":19,"text":" ","html":"\u003cbr\u003e","displayNoNewLineWarning":false,"position":2,"left":19,"right":19},{"stylingDirective":null,"type":"CONTEXT","blobLineNumber":20,"text":" /*","html":" \u003cspan class=pl-c\u003e/*\u003c/span\u003e","displayNoNewLineWarning":false,"position":3,"left":20,"right":20},{"stylingDirective":null,"type":"DELETION","blobLineNumber":21,"text":"- *\tThreading sometimes requires specially-named versions of functions","html":"-\u003cspan class=pl-c\u003e *\tThreading sometimes requires specially-named versions of functions\u003c/span\u003e","displayNoNewLineWarning":false,"position":4,"left":21,"right":20},{"stylingDirective":null,"type":"DELETION","blobLineNumber":22,"text":"- *\tthat return data in static buffers, like strerror_r() instead of","html":"-\u003cspan class=pl-c\u003e *\tthat return data in static buffers, like strerror_r() instead of\u003c/span\u003e","displayNoNewLineWarning":false,"position":5,"left":22,"right":20},{"stylingDirective":null,"type":"DELETION","blobLineNumber":23,"text":"- *\tstrerror(). Other operating systems use pthread_setspecific()","html":"-\u003cspan class=pl-c\u003e *\tstrerror(). Other operating systems use pthread_setspecific()\u003c/span\u003e","displayNoNewLineWarning":false,"position":6,"left":23,"right":20},{"stylingDirective":null,"type":"DELETION","blobLineNumber":24,"text":"- *\tand pthread_getspecific() internally to allow standard library","html":"-\u003cspan class=pl-c\u003e *\tand pthread_getspecific() internally to allow standard library\u003c/span\u003e","displayNoNewLineWarning":false,"position":7,"left":24,"right":20},{"stylingDirective":null,"type":"DELETION","blobLineNumber":25,"text":"- *\tfunctions to return static data to threaded applications. And some","html":"-\u003cspan class=pl-c\u003e *\tfunctions to return static data to threaded applications. And some\u003c/span\u003e","displayNoNewLineWarning":false,"position":8,"left":25,"right":20},{"stylingDirective":null,"type":"DELETION","blobLineNumber":26,"text":"- *\toperating systems have neither.","html":"-\u003cspan class=pl-c\u003e *\toperating systems have neither.\u003c/span\u003e","displayNoNewLineWarning":false,"position":9,"left":26,"right":20},{"stylingDirective":null,"type":"DELETION","blobLineNumber":27,"text":"- *","html":"-\u003cspan class=pl-c\u003e *\u003c/span\u003e","displayNoNewLineWarning":false,"position":10,"left":27,"right":20},{"stylingDirective":null,"type":"DELETION","blobLineNumber":28,"text":"- *\tAdditional confusion exists because many operating systems that","html":"-\u003cspan class=pl-c\u003e *\tAdditional confusion exists because many operating systems that\u003c/span\u003e","displayNoNewLineWarning":false,"position":11,"left":28,"right":20},{"stylingDirective":null,"type":"DELETION","blobLineNumber":29,"text":"- *\tuse pthread_setspecific/pthread_getspecific() also have *_r versions","html":"-\u003cspan class=pl-c\u003e *\tuse pthread_setspecific/pthread_getspecific() also have *_r versions\u003c/span\u003e","displayNoNewLineWarning":false,"position":12,"left":29,"right":20},{"stylingDirective":null,"type":"DELETION","blobLineNumber":30,"text":"- *\tof standard library functions for compatibility with operating systems","html":"-\u003cspan class=pl-c\u003e *\tof standard library functions for compatibility with operating systems\u003c/span\u003e","displayNoNewLineWarning":false,"position":13,"left":30,"right":20},{"stylingDirective":null,"type":"DELETION","blobLineNumber":31,"text":"- *\tthat require them. However, internally, these *_r functions merely","html":"-\u003cspan class=pl-c\u003e *\tthat require them. However, internally, these *_r functions merely\u003c/span\u003e","displayNoNewLineWarning":false,"position":14,"left":31,"right":20},{"stylingDirective":null,"type":"DELETION","blobLineNumber":32,"text":"- *\tcall the thread-safe standard library functions.","html":"-\u003cspan class=pl-c\u003e *\tcall the thread-safe standard library functions.\u003c/span\u003e","displayNoNewLineWarning":false,"position":15,"left":32,"right":20},{"stylingDirective":null,"type":"DELETION","blobLineNumber":33,"text":"- *","html":"-\u003cspan class=pl-c\u003e *\u003c/span\u003e","displayNoNewLineWarning":false,"position":16,"left":33,"right":20},{"stylingDirective":null,"type":"DELETION","blobLineNumber":34,"text":"- *\tFor example, BSD/OS 4.3 uses Bind 8.2.3 for getpwuid(). Internally,","html":"-\u003cspan class=pl-c\u003e *\tFor example, BSD/OS 4.3 uses Bind 8.2.3 for getpwuid(). Internally,\u003c/span\u003e","displayNoNewLineWarning":false,"position":17,"left":34,"right":20},{"stylingDirective":null,"type":"DELETION","blobLineNumber":35,"text":"- *\tgetpwuid() calls pthread_setspecific/pthread_getspecific() to return","html":"-\u003cspan class=pl-c\u003e *\tgetpwuid() calls pthread_setspecific/pthread_getspecific() to return\u003c/span\u003e","displayNoNewLineWarning":false,"position":18,"left":35,"right":20},{"stylingDirective":null,"type":"DELETION","blobLineNumber":36,"text":"- *\tstatic data to the caller in a thread-safe manner. However, BSD/OS","html":"-\u003cspan class=pl-c\u003e *\tstatic data to the caller in a thread-safe manner. However, BSD/OS\u003c/span\u003e","displayNoNewLineWarning":false,"position":19,"left":36,"right":20},{"stylingDirective":null,"type":"DELETION","blobLineNumber":37,"text":"- *\talso has getpwuid_r(), which merely calls getpwuid() and shifts","html":"-\u003cspan class=pl-c\u003e *\talso has getpwuid_r(), which merely calls getpwuid() and shifts\u003c/span\u003e","displayNoNewLineWarning":false,"position":20,"left":37,"right":20},{"stylingDirective":null,"type":"DELETION","blobLineNumber":38,"text":"- *\taround the arguments to match the getpwuid_r() function declaration.","html":"-\u003cspan class=pl-c\u003e *\taround the arguments to match the getpwuid_r() function declaration.\u003c/span\u003e","displayNoNewLineWarning":false,"position":21,"left":38,"right":20},{"stylingDirective":null,"type":"DELETION","blobLineNumber":39,"text":"- *\tTherefore, while BSD/OS has getpwuid_r(), it isn't required. It also","html":"-\u003cspan class=pl-c\u003e *\tTherefore, while BSD/OS has getpwuid_r(), it isn\u0026#39;t required. It also\u003c/span\u003e","displayNoNewLineWarning":false,"position":22,"left":39,"right":20},{"stylingDirective":null,"type":"DELETION","blobLineNumber":40,"text":"- *\tdoesn't have strerror_r(), so we can't fall back to only using *_r","html":"-\u003cspan class=pl-c\u003e *\tdoesn\u0026#39;t have strerror_r(), so we can\u0026#39;t fall back to only using *_r\u003c/span\u003e","displayNoNewLineWarning":false,"position":23,"left":40,"right":20},{"stylingDirective":null,"type":"DELETION","blobLineNumber":41,"text":"- *\tfunctions for threaded programs.","html":"-\u003cspan class=pl-c\u003e *\tfunctions for threaded programs.\u003c/span\u003e","displayNoNewLineWarning":false,"position":24,"left":41,"right":20},{"stylingDirective":null,"type":"DELETION","blobLineNumber":42,"text":"- *","html":"-\u003cspan class=pl-c\u003e *\u003c/span\u003e","displayNoNewLineWarning":false,"position":25,"left":42,"right":20},{"stylingDirective":null,"type":"DELETION","blobLineNumber":43,"text":"- *\tThe current setup is to try threading in this order:","html":"-\u003cspan class=pl-c\u003e *\tThe current setup is to try threading in this order:\u003c/span\u003e","displayNoNewLineWarning":false,"position":26,"left":43,"right":20},{"stylingDirective":null,"type":"DELETION","blobLineNumber":44,"text":"- *","html":"-\u003cspan class=pl-c\u003e *\u003c/span\u003e","displayNoNewLineWarning":false,"position":27,"left":44,"right":20},{"stylingDirective":null,"type":"DELETION","blobLineNumber":45,"text":"- *\t\tuse *_r function names if they exit","html":"-\u003cspan class=pl-c\u003e *\t\tuse *_r function names if they exit\u003c/span\u003e","displayNoNewLineWarning":false,"position":28,"left":45,"right":20},{"stylingDirective":null,"type":"DELETION","blobLineNumber":46,"text":"- *\t\t\t(*_THREADSAFE=yes)","html":"-\u003cspan class=pl-c\u003e *\t\t\t(*_THREADSAFE=yes)\u003c/span\u003e","displayNoNewLineWarning":false,"position":29,"left":46,"right":20},{"stylingDirective":null,"type":"DELETION","blobLineNumber":47,"text":"- *\t\tuse non-*_r functions if they are thread-safe","html":"-\u003cspan class=pl-c\u003e *\t\tuse non-*_r functions if they are thread-safe\u003c/span\u003e","displayNoNewLineWarning":false,"position":30,"left":47,"right":20},{"stylingDirective":null,"type":"ADDITION","blobLineNumber":21,"text":"+ * Historically, the code in this module had to deal with operating systems","html":"+\u003cspan class=pl-c\u003e * Historically, the code in this module had to deal with operating systems\u003c/span\u003e","displayNoNewLineWarning":false,"position":31,"left":47,"right":21},{"stylingDirective":null,"type":"ADDITION","blobLineNumber":22,"text":"+ * that lacked getpwuid_r().","html":"+\u003cspan class=pl-c\u003e * that lacked getpwuid_r().\u003c/span\u003e","displayNoNewLineWarning":false,"position":32,"left":47,"right":22},{"stylingDirective":null,"type":"CONTEXT","blobLineNumber":23,"text":" */","html":" \u003cspan class=pl-c\u003e */\u003c/span\u003e","displayNoNewLineWarning":false,"position":33,"left":48,"right":23},{"stylingDirective":null,"type":"CONTEXT","blobLineNumber":24,"text":" ","html":"\u003cbr\u003e","displayNoNewLineWarning":false,"position":34,"left":49,"right":24},{"stylingDirective":null,"type":"CONTEXT","blobLineNumber":25,"text":" #ifndef WIN32","html":" \u003cspan class=pl-k\u003e#ifndef\u003c/span\u003e \u003cspan class=pl-c1\u003eWIN32\u003c/span\u003e","displayNoNewLineWarning":false,"position":35,"left":50,"right":25},{"stylingDirective":null,"type":"CONTEXT","blobLineNumber":26,"text":" ","html":"\u003cbr\u003e","displayNoNewLineWarning":false,"position":36,"left":51,"right":26},{"stylingDirective":null,"type":"DELETION","blobLineNumber":52,"text":"-/*","html":"-\u003cspan class=pl-c\u003e/*\u003c/span\u003e","displayNoNewLineWarning":false,"position":37,"left":52,"right":26},{"stylingDirective":null,"type":"DELETION","blobLineNumber":53,"text":"- * Wrapper around getpwuid() or getpwuid_r() to mimic POSIX getpwuid_r()","html":"-\u003cspan class=pl-c\u003e * Wrapper around getpwuid() or getpwuid_r() to mimic POSIX getpwuid_r()\u003c/span\u003e","displayNoNewLineWarning":false,"position":38,"left":53,"right":26},{"stylingDirective":null,"type":"DELETION","blobLineNumber":54,"text":"- * behaviour, if that function is not available or required.","html":"-\u003cspan class=pl-c\u003e * behaviour, if that function is not available or required.\u003c/span\u003e","displayNoNewLineWarning":false,"position":39,"left":54,"right":26},{"stylingDirective":null,"type":"DELETION","blobLineNumber":55,"text":"- *","html":"-\u003cspan class=pl-c\u003e *\u003c/span\u003e","displayNoNewLineWarning":false,"position":40,"left":55,"right":26},{"stylingDirective":null,"type":"DELETION","blobLineNumber":56,"text":"- * Per POSIX, the possible cases are:","html":"-\u003cspan class=pl-c\u003e * Per POSIX, the possible cases are:\u003c/span\u003e","displayNoNewLineWarning":false,"position":41,"left":56,"right":26},{"stylingDirective":null,"type":"DELETION","blobLineNumber":57,"text":"- * success: returns zero, *result is non-NULL","html":"-\u003cspan class=pl-c\u003e * success: returns zero, *result is non-NULL\u003c/span\u003e","displayNoNewLineWarning":false,"position":42,"left":57,"right":26},{"stylingDirective":null,"type":"DELETION","blobLineNumber":58,"text":"- * uid not found: returns zero, *result is NULL","html":"-\u003cspan class=pl-c\u003e * uid not found: returns zero, *result is NULL\u003c/span\u003e","displayNoNewLineWarning":false,"position":43,"left":58,"right":26},{"stylingDirective":null,"type":"DELETION","blobLineNumber":59,"text":"- * error during lookup: returns an errno code, *result is NULL","html":"-\u003cspan class=pl-c\u003e * error during lookup: returns an errno code, *result is NULL\u003c/span\u003e","displayNoNewLineWarning":false,"position":44,"left":59,"right":26},{"stylingDirective":null,"type":"DELETION","blobLineNumber":60,"text":"- * (caller should *not* assume that the errno variable is set)","html":"-\u003cspan class=pl-c\u003e * (caller should *not* assume that the errno variable is set)\u003c/span\u003e","displayNoNewLineWarning":false,"position":45,"left":60,"right":26},{"stylingDirective":null,"type":"DELETION","blobLineNumber":61,"text":"- */","html":"-\u003cspan class=pl-c\u003e */\u003c/span\u003e","displayNoNewLineWarning":false,"position":46,"left":61,"right":26},{"stylingDirective":null,"type":"DELETION","blobLineNumber":62,"text":"-static int","html":"-\u003cspan class=pl-k\u003estatic\u003c/span\u003e \u003cspan class=pl-smi\u003eint\u003c/span\u003e","displayNoNewLineWarning":false,"position":47,"left":62,"right":26},{"stylingDirective":null,"type":"DELETION","blobLineNumber":63,"text":"-pqGetpwuid(uid_t uid, struct passwd *resultbuf, char *buffer,","html":"-\u003cspan class=pl-en\u003epqGetpwuid\u003c/span\u003e(\u003cspan class=pl-smi\u003euid_t\u003c/span\u003e \u003cspan class=pl-s1\u003euid\u003c/span\u003e, \u003cspan class=pl-k\u003estruct\u003c/span\u003e \u003cspan class=pl-smi\u003epasswd\u003c/span\u003e \u003cspan class=pl-c1\u003e*\u003c/span\u003e\u003cspan class=pl-s1\u003eresultbuf\u003c/span\u003e, \u003cspan class=pl-smi\u003echar\u003c/span\u003e \u003cspan class=pl-c1\u003e*\u003c/span\u003e\u003cspan class=pl-s1\u003ebuffer\u003c/span\u003e,","displayNoNewLineWarning":false,"position":48,"left":63,"right":26},{"stylingDirective":null,"type":"DELETION","blobLineNumber":64,"text":"-\t\t size_t buflen, struct passwd **result)","html":"-\t\t \u003cspan class=pl-smi\u003esize_t\u003c/span\u003e \u003cspan class=pl-s1\u003ebuflen\u003c/span\u003e, \u003cspan class=pl-k\u003estruct\u003c/span\u003e \u003cspan class=pl-smi\u003epasswd\u003c/span\u003e \u003cspan class=pl-c1\u003e*\u003c/span\u003e\u003cspan class=pl-c1\u003e*\u003c/span\u003e\u003cspan class=pl-s1\u003eresult\u003c/span\u003e)","displayNoNewLineWarning":false,"position":49,"left":64,"right":26},{"stylingDirective":null,"type":"DELETION","blobLineNumber":65,"text":"-{","html":"-{","displayNoNewLineWarning":false,"position":50,"left":65,"right":26},{"stylingDirective":null,"type":"DELETION","blobLineNumber":66,"text":"-#if defined(FRONTEND) \u0026\u0026 defined(ENABLE_THREAD_SAFETY) \u0026\u0026 defined(HAVE_GETPWUID_R)","html":"-\u003cspan class=pl-k\u003e#if\u003c/span\u003e defined(\u003cspan class=pl-c1\u003eFRONTEND\u003c/span\u003e) \u003cspan class=pl-c1\u003e\u0026amp;\u0026amp;\u003c/span\u003e defined(\u003cspan class=pl-c1\u003eENABLE_THREAD_SAFETY\u003c/span\u003e) \u003cspan class=pl-c1\u003e\u0026amp;\u0026amp;\u003c/span\u003e defined(\u003cspan class=pl-c1\u003eHAVE_GETPWUID_R\u003c/span\u003e)","displayNoNewLineWarning":false,"position":51,"left":66,"right":26},{"stylingDirective":null,"type":"DELETION","blobLineNumber":67,"text":"-\treturn getpwuid_r(uid, resultbuf, buffer, buflen, result);","html":"-\t\u003cspan class=pl-k\u003ereturn\u003c/span\u003e \u003cspan class=pl-en\u003egetpwuid_r\u003c/span\u003e(\u003cspan class=pl-s1\u003euid\u003c/span\u003e, \u003cspan class=pl-s1\u003eresultbuf\u003c/span\u003e, \u003cspan class=pl-s1\u003ebuffer\u003c/span\u003e, \u003cspan class=pl-s1\u003ebuflen\u003c/span\u003e, \u003cspan class=pl-s1\u003eresult\u003c/span\u003e);","displayNoNewLineWarning":false,"position":52,"left":67,"right":26},{"stylingDirective":null,"type":"DELETION","blobLineNumber":68,"text":"-#else","html":"-\u003cspan class=pl-k\u003e#else\u003c/span\u003e","displayNoNewLineWarning":false,"position":53,"left":68,"right":26},{"stylingDirective":null,"type":"DELETION","blobLineNumber":69,"text":"-\t/* no getpwuid_r() available, just use getpwuid() */","html":"-\t\u003cspan class=pl-c\u003e/* no getpwuid_r() available, just use getpwuid() */\u003c/span\u003e","displayNoNewLineWarning":false,"position":54,"left":69,"right":26},{"stylingDirective":null,"type":"DELETION","blobLineNumber":70,"text":"-\terrno = 0;","html":"-\t\u003cspan class=pl-s1\u003eerrno\u003c/span\u003e \u003cspan class=pl-c1\u003e=\u003c/span\u003e \u003cspan class=pl-c1\u003e0\u003c/span\u003e;","displayNoNewLineWarning":false,"position":55,"left":70,"right":26},{"stylingDirective":null,"type":"DELETION","blobLineNumber":71,"text":"-\t*result = getpwuid(uid);","html":"-\t\u003cspan class=pl-c1\u003e*\u003c/span\u003e\u003cspan class=pl-s1\u003eresult\u003c/span\u003e \u003cspan class=pl-c1\u003e=\u003c/span\u003e \u003cspan class=pl-en\u003egetpwuid\u003c/span\u003e(\u003cspan class=pl-s1\u003euid\u003c/span\u003e);","displayNoNewLineWarning":false,"position":56,"left":71,"right":26},{"stylingDirective":null,"type":"DELETION","blobLineNumber":72,"text":"-\t/* paranoia: ensure we return zero on success */","html":"-\t\u003cspan class=pl-c\u003e/* paranoia: ensure we return zero on success */\u003c/span\u003e","displayNoNewLineWarning":false,"position":57,"left":72,"right":26},{"stylingDirective":null,"type":"DELETION","blobLineNumber":73,"text":"-\treturn (*result == NULL) ? errno : 0;","html":"-\t\u003cspan class=pl-k\u003ereturn\u003c/span\u003e (\u003cspan class=pl-c1\u003e*\u003c/span\u003e\u003cspan class=pl-s1\u003eresult\u003c/span\u003e \u003cspan class=pl-c1\u003e==\u003c/span\u003e \u003cspan class=pl-c1\u003eNULL\u003c/span\u003e) ? \u003cspan class=pl-s1\u003eerrno\u003c/span\u003e : \u003cspan class=pl-c1\u003e0\u003c/span\u003e;","displayNoNewLineWarning":false,"position":58,"left":73,"right":26},{"stylingDirective":null,"type":"DELETION","blobLineNumber":74,"text":"-#endif","html":"-\u003cspan class=pl-k\u003e#endif\u003c/span\u003e","displayNoNewLineWarning":false,"position":59,"left":74,"right":26},{"stylingDirective":null,"type":"DELETION","blobLineNumber":75,"text":"-}","html":"-}","displayNoNewLineWarning":false,"position":60,"left":75,"right":26},{"stylingDirective":null,"type":"DELETION","blobLineNumber":76,"text":"-","html":"-","displayNoNewLineWarning":false,"position":61,"left":76,"right":26},{"stylingDirective":null,"type":"CONTEXT","blobLineNumber":27,"text":" /*","html":" \u003cspan class=pl-c\u003e/*\u003c/span\u003e","displayNoNewLineWarning":false,"position":62,"left":77,"right":27},{"stylingDirective":null,"type":"CONTEXT","blobLineNumber":28,"text":" * pg_get_user_name - get the name of the user with the given ID","html":" \u003cspan class=pl-c\u003e * pg_get_user_name - get the name of the user with the given ID\u003c/span\u003e","displayNoNewLineWarning":false,"position":63,"left":78,"right":28},{"stylingDirective":null,"type":"CONTEXT","blobLineNumber":29,"text":" *","html":" \u003cspan class=pl-c\u003e *\u003c/span\u003e","displayNoNewLineWarning":false,"position":64,"left":79,"right":29},{"stylingDirective":null,"type":"HUNK","blobLineNumber":38,"text":"@@ -89,7 +39,7 @@ pg_get_user_name(uid_t user_id, char *buffer, size_t buflen)","html":"@@ -89,7 +39,7 @@ pg_get_user_name(uid_t user_id, char *buffer, size_t buflen)","displayNoNewLineWarning":false,"position":65,"left":88,"right":38},{"stylingDirective":null,"type":"CONTEXT","blobLineNumber":39,"text":" \tstruct passwd *pw = NULL;","html":" \t\u003cspan class=pl-k\u003estruct\u003c/span\u003e \u003cspan class=pl-smi\u003epasswd\u003c/span\u003e \u003cs
8000
pan class=pl-c1\u003e*\u003c/span\u003e\u003cspan class=pl-s1\u003epw\u003c/span\u003e \u003cspan class=pl-c1\u003e=\u003c/span\u003e \u003cspan class=pl-c1\u003eNULL\u003c/span\u003e;","displayNoNewLineWarning":false,"position":66,"left":89,"right":39},{"stylingDirective":null,"type":"CONTEXT","blobLineNumber":40,"text":" \tint\t\t\tpwerr;","html":" \t\u003cspan class=pl-smi\u003eint\u003c/span\u003e\t\t\t\u003cspan class=pl-s1\u003epwerr\u003c/span\u003e;","displayNoNewLineWarning":false,"position":67,"left":90,"right":40},{"stylingDirective":null,"type":"CONTEXT","blobLineNumber":41,"text":" ","html":"\u003cbr\u003e","displayNoNewLineWarning":false,"position":68,"left":91,"right":41},{"stylingDirective":null,"type":"DELETION","blobLineNumber":92,"text":"-\tpwerr = pqGetpwuid(user_id, \u0026pwdstr, pwdbuf, sizeof(pwdbuf), \u0026pw);","html":"-\t\u003cspan class=\"pl-s1\"\u003epwerr\u003c/span\u003e \u003cspan class=\"pl-c1\"\u003e=\u003c/span\u003e \u003cspan class=\"pl-en x x-first x-last\"\u003epqGetpwuid\u003c/span\u003e(\u003cspan class=\"pl-s1\"\u003euser_id\u003c/span\u003e, \u003cspan class=\"pl-c1\"\u003e\u0026amp;\u003c/span\u003e\u003cspan class=\"pl-s1\"\u003epwdstr\u003c/span\u003e, \u003cspan class=\"pl-s1\"\u003epwdbuf\u003c/span\u003e, \u003cspan class=\"pl-k\"\u003esizeof\u003c/span\u003e(\u003cspan class=\"pl-s1\"\u003epwdbuf\u003c/span\u003e), \u003cspan class=\"pl-c1\"\u003e\u0026amp;\u003c/span\u003e\u003cspan class=\"pl-s1\"\u003epw\u003c/span\u003e);","displayNoNewLineWarning":false,"position":69,"left":92,"right":41},{"stylingDirective":null,"type":"ADDITION","blobLineNumber":42,"text":"+\tpwerr = getpwuid_r(user_id, \u0026pwdstr, pwdbuf, sizeof(pwdbuf), \u0026pw);","html":"+\t\u003cspan class=\"pl-s1\"\u003epwerr\u003c/span\u003e \u003cspan class=\"pl-c1\"\u003e=\u003c/span\u003e \u003cspan class=\"pl-en x x-first x-last\"\u003egetpwuid_r\u003c/span\u003e(\u003cspan class=\"pl-s1\"\u003euser_id\u003c/span\u003e, \u003cspan class=\"pl-c1\"\u003e\u0026amp;\u003c/span\u003e\u003cspan class=\"pl-s1\"\u003epwdstr\u003c/span\u003e, \u003cspan class=\"pl-s1\"\u003epwdbuf\u003c/span\u003e, \u003cspan class=\"pl-k\"\u003esizeof\u003c/span\u003e(\u003cspan class=\"pl-s1\"\u003epwdbuf\u003c/span\u003e), \u003cspan class=\"pl-c1\"\u003e\u0026amp;\u003c/span\u003e\u003cspan class=\"pl-s1\"\u003epw\u003c/span\u003e);","displayNoNewLineWarning":false,"position":70,"left":92,"right":42},{"stylingDirective":null,"type":"CONTEXT","blobLineNumber":43,"text":" \tif (pw != NULL)","html":" \t\u003cspan class=pl-k\u003eif\u003c/span\u003e (\u003cspan class=pl-s1\u003epw\u003c/span\u003e \u003cspan class=pl-c1\u003e!=\u003c/span\u003e \u003cspan class=pl-c1\u003eNULL\u003c/span\u003e)","displayNoNewLineWarning":false,"position":71,"left":93,"right":43},{"stylingDirective":null,"type":"CONTEXT","blobLineNumber":44,"text":" \t{","html":" \t{","displayNoNewLineWarning":false,"position":72,"left":94,"right":44},{"stylingDirective":null,"type":"CONTEXT","blobLineNumber":45,"text":" \t\tstrlcpy(buffer, pw-\u003epw_name, buflen);","html":" \t\t\u003cspan class=pl-en\u003estrlcpy\u003c/span\u003e(\u003cspan class=pl-s1\u003ebuffer\u003c/span\u003e, \u003cspan class=pl-s1\u003epw\u003c/span\u003e\u003cspan class=pl-c1\u003e-\u0026gt;\u003c/span\u003e\u003cspan class=pl-c1\u003epw_name\u003c/span\u003e, \u003cspan class=pl-s1\u003ebuflen\u003c/span\u003e);","displayNoNewLineWarning":false,"position":73,"left":95,"right":45},{"stylingDirective":null,"type":"HUNK","blobLineNumber":74,"text":"@@ -125,7 +75,7 @@ pg_get_user_home_dir(uid_t user_id, char *buffer, size_t buflen)","html":"@@ -125,7 +75,7 @@ pg_get_user_home_dir(uid_t user_id, char *buffer, size_t buflen)","displayNoNewLineWarning":false,"position":74,"left":124,"right":74},{"stylingDirective":null,"type":"CONTEXT","blobLineNumber":75,"text":" \tstruct passwd *pw = NULL;","html":" \t\u003cspan class=pl-k\u003estruct\u003c/span\u003e \u003cspan class=pl-smi\u003epasswd\u003c/span\u003e \u003cspan class=pl-c1\u003e*\u003c/span\u003e\u003cspan class=pl-s1\u003epw\u003c/span\u003e \u003cspan class=pl-c1\u003e=\u003c/span\u003e \u003cspan class=pl-c1\u003eNULL\u003c/span\u003e;","displayNoNewLineWarning":false,"position":75,"left":125,"right":75},{"stylingDirective":null,"type":"CONTEXT","blobLineNumber":76,"text":" \tint\t\t\tpwerr;","html":" \t\u003cspan class=pl-smi\u003eint\u003c/span\u003e\t\t\t\u003cspan class=pl-s1\u003epwerr\u003c/span\u003e;","displayNoNewLineWarning":false,"position":76,"left":126,"right":76},{"stylingDirective":null,"type":"CONTEXT","blobLineNumber":77,"text":" ","html":"\u003cbr\u003e","displayNoNewLineWarning":false,"position":77,"left":127,"right":77},{"stylingDirective":null,"type":"DELETION","blobLineNumber":128,"text":"-\tpwerr = pqGetpwuid(user_id, \u0026pwdstr, pwdbuf, sizeof(pwdbuf), \u0026pw);","html":"-\t\u003cspan class=\"pl-s1\"\u003epwerr\u003c/span\u003e \u003cspan class=\"pl-c1\"\u003e=\u003c/span\u003e \u003cspan class=\"pl-en x x-first x-last\"\u003epqGetpwuid\u003c/span\u003e(\u003cspan class=\"pl-s1\"\u003euser_id\u003c/span\u003e, \u003cspan class=\"pl-c1\"\u003e\u0026amp;\u003c/span\u003e\u003cspan class=\"pl-s1\"\u003epwdstr\u003c/span\u003e, \u003cspan class=\"pl-s1\"\u003epwdbuf\u003c/span\u003e, \u003cspan class=\"pl-k\"\u003esizeof\u003c/span\u003e(\u003cspan class=\"pl-s1\"\u003epwdbuf\u003c/span\u003e), \u003cspan class=\"pl-c1\"\u003e\u0026amp;\u003c/span\u003e\u003cspan class=\"pl-s1\"\u003epw\u003c/span\u003e);","displayNoNewLineWarning":false,"position":78,"left":128,"right":77},{"stylingDirective":null,"type":"ADDITION","blobLineNumber":78,"text":"+\tpwerr = getpwuid_r(user_id, \u0026pwdstr, pwdbuf, sizeof(pwdbuf), \u0026pw);","html":"+\t\u003cspan class=\"pl-s1\"\u003epwerr\u003c/span\u003e \u003cspan class=\"pl-c1\"\u003e=\u003c/span\u003e \u003cspan class=\"pl-en x x-first x-last\"\u003egetpwuid_r\u003c/span\u003e(\u003cspan class=\"pl-s1\"\u003euser_id\u003c/span\u003e, \u003cspan class=\"pl-c1\"\u003e\u0026amp;\u003c/span\u003e\u003cspan class=\"pl-s1\"\u003epwdstr\u003c/span\u003e, \u003cspan class=\"pl-s1\"\u003epwdbuf\u003c/span\u003e, \u003cspan class=\"pl-k\"\u003esizeof\u003c/span\u003e(\u003cspan class=\"pl-s1\"\u003epwdbuf\u003c/span\u003e), \u003cspan class=\"pl-c1\"\u003e\u0026amp;\u003c/span\u003e\u003cspan class=\"pl-s1\"\u003epw\u003c/span\u003e);","displayNoNewLineWarning":false,"position":79,"left":128,"right":78},{"stylingDirective":null,"type":"CONTEXT","blobLineNumber":79,"text":" \tif (pw != NULL)","html":" \t\u003cspan class=pl-k\u003eif\u003c/span\u003e (\u003cspan class=pl-s1\u003epw\u003c/span\u003e \u003cspan class=pl-c1\u003e!=\u003c/span\u003e \u003cspan class=pl-c1\u003eNULL\u003c/span\u003e)","displayNoNewLineWarning":false,"position":80,"left":129,"right":79},{"stylingDirective":null,"type":"CONTEXT","blobLineNumber":80,"text":" \t{","html":" \t{","displayNoNewLineWarning":false,"position":81,"left":130,"right":80},{"stylingDirective":null,"type":"CONTEXT","blobLineNumber":81,"text":" \t\tstrlcpy(buffer, pw-\u003epw_dir, buflen);","html":" \t\t\u003cspan class=pl-en\u003estrlcpy\u003c/span\u003e(\u003cspan class=pl-s1\u003ebuffer\u003c/span\u003e, \u003cspan class=pl-s1\u003epw\u003c/span\u003e\u003cspan class=pl-c1\u003e-\u0026gt;\u003c/span\u003e\u003cspan class=pl-c1\u003epw_dir\u003c/span\u003e, \u003cspan class=pl-s1\u003ebuflen\u003c/span\u003e);","displayNoNewLineWarning":false,"position":82,"left":131,"right":81}],"diffNumber":3,"diffSize":"0 Bytes","isBinary":false,"isTooBig":false,"collapsed":false,"isSubmodule":false,"lineCount":96,"linesChanged":58,"newTreeEntry":{"lineCount":96,"path":"src/port/thread.c","mode":100644,"isGenerated":false},"oldTreeEntry":{"lineCount":0,"path":"src/port/thread.c","mode":100644},"linesAdded":4,"linesDeleted":54,"path":"src/port/thread.c","pathDigest":"4792e5e241a2e3df26778165da7c8c83dab5442a5314f6aae5ae99076c366084","status":"MODIFIED","truncatedReason":null,"oldOid":"fb12becdfb89e35f3f56768cefe1a837f0afafaf","newOid":"e757cdd6ad1bc757df7a73616bde8d7e1cb2828a","copilotChatReference":null,"deletedSha":"fb12becdfb89e35f3f56768cefe1a837f0afafaf","canToggleRichDiff":false,"defaultToRichDiff":false,"proseDifffHtml":null,"renderInfo":null,"dependencyDiffPath":null,"submodule":null},{"diffLines":[{"stylingDirective":null,"type":"HUNK","blobLineNumber":273,"text":"@@ -274,7 +274,6 @@ sub GenerateFiles","html":"@@ -274,7 +274,6 @@ sub GenerateFiles","displayNoNewLineWarning":false,"position":0,"left":273,"right":273},{"stylingDirective":null,"type":"CONTEXT","blobLineNumber":274,"text":" \t\tHAVE_GETOPT_LONG =\u003e undef,","html":" \t\t\u003cspan class=\"pl-c1\"\u003eHAVE_GETOPT_LONG\u003c/span\u003e \u003cspan class=\"pl-k\"\u003e=\u0026gt;\u003c/span\u003e \u003cspan class=\"pl-c1\"\u003eundef\u003c/span\u003e,","displayNoNewLineWarning":false,"position":1,"left":274,"right":274},{"stylingDirective":null,"type":"CONTEXT","blobLineNumber":275,"text":" \t\tHAVE_GETPEEREID =\u003e undef,","html":" \t\t\u003cspan class=\"pl-c1\"\u003eHAVE_GETPEEREID\u003c/span\u003e \u003cspan class=\"pl-k\"\u003e=\u0026gt;\u003c/span\u003e \u003cspan class=\"pl-c1\"\u003eundef\u003c/span\u003e,","displayNoNewLineWarning":false,"position":2,"left":275,"right":275},{"stylingDirective":null,"type":"CONTEXT","blobLineNumber":276,"text":" \t\tHAVE_GETPEERUCRED =\u003e undef,","html":" \t\t\u003cspan class=\"pl-c1\"\u003eHAVE_GETPEERUCRED\u003c/span\u003e \u003cspan class=\"pl-k\"\u003e=\u0026gt;\u003c/span\u003e \u003cspan class=\"pl-c1\"\u003eundef\u003c/span\u003e,","displayNoNewLineWarning":false,"position":3,"left":276,"right":276},{"stylingDirective":null,"type":"DELETION","blobLineNumber":277,"text":"-\t\tHAVE_GETPWUID_R =\u003e undef,","html":"-\t\t\u003cspan class=\"pl-c1\"\u003eHAVE_GETPWUID_R\u003c/span\u003e \u003cspan class=\"pl-k\"\u003e=\u0026gt;\u003c/span\u003e \u003cspan class=\"pl-c1\"\u003eundef\u003c/span\u003e,","displayNoNewLineWarning":false,"position":4,"left":277,"right":276},{"stylingDirective":null,"type":"CONTEXT","blobLineNumber":277,"text":" \t\tHAVE_GETRLIMIT =\u003e undef,","html":" \t\t\u003cspan class=\"pl-c1\"\u003eHAVE_GETRLIMIT\u003c/span\u003e \u003cspan class=\"pl-k\"\u003e=\u0026gt;\u003c/span\u003e \u003cspan class=\"pl-c1\"\u003eundef\u003c/span\u003e,","displayNoNewLineWarning":false,"position":5,"left":278,"right":277},{"stylingDirective":null,"type":"CONTEXT","blobLineNumber":278,"text":" \t\tHAVE_GETTIMEOFDAY =\u003e undef,","html":" \t\t\u003cspan class=\"pl-c1\"\u003eHAVE_GETTIMEOFDAY\u003c/span\u003e \u003cspan class=\"pl-k\"\u003e=\u0026gt;\u003c/span\u003e \u003cspan class=\"pl-c1\"\u003eundef\u003c/span\u003e,","displayNoNewLineWarning":false,"position":6,"left":279,"right":278},{"stylingDirective":null,"type":"CONTEXT","blobLineNumber":279,"text":" \t\tHAVE_GSSAPI_GSSAPI_H =\u003e undef,","html":" \t\t\u003cspan class=\"pl-c1\"\u003eHAVE_GSSAPI_GSSAPI_H\u003c/span\u003e \u003cspan class=\"pl-k\"\u003e=\u0026gt;\u003c/span\u003e \u003cspan class=\"pl-c1\"\u003eundef\u003c/span\u003e,","displayNoNewLineWarning":false,"position":7,"left":280,"right":279}],"diffNumber":4,"diffSize":"0 Bytes","isBinary":false,"isTooBig":false,"collapsed":false,"isSubmodule":false,"lineCount":1375,"linesChanged":1,"newTreeEntry":{"lineCount":1375,"path":"src/tools/msvc/Solution.pm","mode":100644,"isGenerated":false},"oldTreeEntry":{"lineCount":0,"path":"src/tools/msvc/Solution.pm","mode":100644},"linesAdded":0,"linesDeleted":1,"path":"src/tools/msvc/Solution.pm","pathDigest":"f84bf9b9ae7ec94aa0c576868e7cda58988065a09314a90be9bff6f515d50514","status":"MODIFIED","truncatedReason":null,"oldOid":"fb12becdfb89e35f3f56768cefe1a837f0afafaf","newOid":"e757cdd6ad1bc757df7a73616bde8d7e1cb2828a","copilotChatReference":null,"deletedSha":"fb12becdfb89e35f3f56768cefe1a837f0afafaf","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/e757cdd6ad1bc757df7a73616bde8d7e1cb2828a","fileTreeExpanded":true,"headerInfo":{"additions":6,"deletions":60,"filesChanged":5,"filesChangedString":"5"},"moreDiffsToLoad":false,"asyncDiffLoadInfo":{"startIndex":5,"truncated":false,"byteCount":4537,"lineShownCount":119},"commentInfo":{"canComment":false,"locked":false,"canLock":false,"repoArchived":false},"csrf_tokens":{"/users/diffview?diff=split":{"post":"YgIrCTIbksbSpw3YWcK-hcyYDP_ybc6jj4WjcFtzqKzuuI8IRa4rkXRUx_gauMRXxN2vlXD2qI7DT78vdfPF5g"},"/users/diffview?diff=unified":{"post":"oGi04k48A5SYyoWkCy23m1HDtuUb_GfXdcQx1CgE2uYs0hDjOYm6wz45T4RIV81JWYYVj5lnAfo5Di2LBoS3rA"},"/notifications/thread":{"post":"NqIHLEzMVS0wjuOE3hOAg6n15VrofrZMsIwH7m6ziJA9qgW4qy2C-0PfrsTD3J1l9ClPBBqaJTwbnuQvBGRZrQ"}}},"title":"Remove dead getpwuid_r replacement code. · postgres/postgres@e757cdd","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}}}
0 commit comments