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

Commit1682c36

Browse files
committed
Can someone please apply this portability patch to genbki.sh ?
(Mark or Bruce?) It fixes a problem when cpp gives a warning whenprecompiling /dev/null like: "/dev/null", line 1: 1506-229 (W)File is empty. This leads to a hangup when doing the descriptionload during initdb, since stderr also ends up in the global1.descriptionand local1_template1.descriptionstderr has to be redirected to /dev/null:Andreas Zeugswetter
1 parente0e461e commit1682c36

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/backend/catalog/genbki.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#
1111
#
1212
# IDENTIFICATION
13-
# $Header: /cvsroot/pgsql/src/backend/catalog/Attic/genbki.sh,v 1.12 1998/04/21 16:18:30 momjian Exp $
13+
# $Header: /cvsroot/pgsql/src/backend/catalog/Attic/genbki.sh,v 1.13 1998/08/25 17:36:18 momjian Exp $
1414
#
1515
# NOTES
1616
# non-essential whitespace is removed from the generated file.
@@ -24,7 +24,7 @@ trap "rm -f /tmp/genbki.tmp" 0 1 2 3 15
2424
>/tmp/genbki.tmp
2525

2626
PATH=$PATH:/lib:/usr/ccs/lib:/usr/ccs/lbin# to find cpp
27-
cpp /dev/null>/dev/null
27+
cpp /dev/null>/dev/null2>&1
2828
if ["$?"-ne 0 ]
2929
thenecho"Can't find cpp. Exiting."1>&2
3030
exit 1

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp