mirror of
https://github.com/postgres/postgres.git
synced 2025-06-17 17:02:08 +03:00
Fix replacement of extern C string.
This commit is contained in:
@ -1487,12 +1487,12 @@ do
|
|||||||
cat /tmp/$$a |
|
cat /tmp/$$a |
|
||||||
sed 's;^/\*\(DATA(.*\)\*/$;\1;' |
|
sed 's;^/\*\(DATA(.*\)\*/$;\1;' |
|
||||||
sed 's;^/\*\(CATALOG(.*\)\*/$;\1;' |
|
sed 's;^/\*\(CATALOG(.*\)\*/$;\1;' |
|
||||||
sed 's;^/\* Open extern \"C\" \*/$;extern "C"\
|
|
||||||
{;' |
|
|
||||||
sed 's;^/\* Close extern \"C\" \*/$;};' |
|
|
||||||
# remove tabs and retab with four spaces
|
# remove tabs and retab with four spaces
|
||||||
detab -t8 -qc |
|
detab -t8 -qc |
|
||||||
entab -t4 -qc |
|
entab -t4 -qc |
|
||||||
|
sed 's;^/\* Open extern \"C\" \*/$;extern "C"\
|
||||||
|
{;' |
|
||||||
|
sed 's;^/\* Close extern \"C\" \*/$;};' |
|
||||||
sed 's;/\*---X_X;/* ---;g' |
|
sed 's;/\*---X_X;/* ---;g' |
|
||||||
# workaround indent bug
|
# workaround indent bug
|
||||||
sed 's;^static[ ][ ]*;static ;g' |
|
sed 's;^static[ ][ ]*;static ;g' |
|
||||||
|
Reference in New Issue
Block a user