mirror of
https://github.com/postgres/postgres.git
synced 2026-02-25 19:02:00 -05:00
Fix replacement of extern C string.
This commit is contained in:
parent
1233d4fd6c
commit
c6e25ed1af
1 changed files with 3 additions and 3 deletions
|
|
@ -1487,12 +1487,12 @@ do
|
|||
cat /tmp/$$a |
|
||||
sed 's;^/\*\(DATA(.*\)\*/$;\1;' |
|
||||
sed 's;^/\*\(CATALOG(.*\)\*/$;\1;' |
|
||||
sed 's;^/\* Open extern \"C\" \*/$;extern "C"\
|
||||
{;' |
|
||||
sed 's;^/\* Close extern \"C\" \*/$;};' |
|
||||
# remove tabs and retab with four spaces
|
||||
detab -t8 -qc |
|
||||
entab -t4 -qc |
|
||||
sed 's;^/\* Open extern \"C\" \*/$;extern "C"\
|
||||
{;' |
|
||||
sed 's;^/\* Close extern \"C\" \*/$;};' |
|
||||
sed 's;/\*---X_X;/* ---;g' |
|
||||
# workaround indent bug
|
||||
sed 's;^static[ ][ ]*;static ;g' |
|
||||
|
|
|
|||
Loading…
Reference in a new issue