Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit29a3e22

Browse files
committed
Define PS_USE_CLOBBER_ARGV on GNU/Hurd.
This is a backpatch of32b2366 to v14 and v15.* Remove ancient test for __hurd__, which intended to activate PS_USE_CHANGE_ARGV in these branches but turned out not to be defined on modern systems.* Add new test for__GNU__ to activate PS_USE_CLOBBER_ARGV, like the newer branches.Author: Michael Banck <mbanck@debian.org>Discussion:https://postgr.es/m/CA%2BhUKGJMNGUAqf27WbckYFrM-Mavy0RKJvocfJU%3DJ2XcAZyv%2Bw%40mail.gmail.comBackpatch-through: 14-15
1 parent6b8a2b4 commit29a3e22

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎src/backend/utils/misc/ps_status.c‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,9 @@ boolupdate_process_title = true;
7373
#definePS_USE_PSTAT
7474
#elif defined(HAVE_PS_STRINGS)
7575
#definePS_USE_PS_STRINGS
76-
#elif(defined(BSD)|| defined(__hurd__))&& !defined(__darwin__)
76+
#elif defined(BSD)&& !defined(__darwin__)
7777
#definePS_USE_CHANGE_ARGV
78-
#elif defined(__linux__)|| defined(_AIX)|| defined(__sgi)|| (defined(sun)&& !defined(BSD))|| defined(__svr5__)|| defined(__darwin__)
78+
#elif defined(__linux__)|| defined(_AIX)|| defined(__sgi)|| (defined(sun)&& !defined(BSD))|| defined(__svr5__)|| defined(__darwin__)|| defined(__GNU__)
7979
#definePS_USE_CLOBBER_ARGV
8080
#elif defined(WIN32)
8181
#definePS_USE_WIN32
@@ -85,7 +85,7 @@ boolupdate_process_title = true;
8585

8686

8787
/* Different systems want the buffer padded differently */
88-
#if defined(_AIX)|| defined(__linux__)|| defined(__darwin__)
88+
#if defined(_AIX)|| defined(__linux__)|| defined(__darwin__)|| defined(__GNU__)
8989
#definePS_PADDING '\0'
9090
#else
9191
#definePS_PADDING ' '

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp