mirror of
https://github.com/postgres/postgres.git
synced 2026-04-29 02:00:35 -04:00
New entab version.
This commit is contained in:
parent
723f66076e
commit
b71fba22e3
1 changed files with 7 additions and 1 deletions
|
|
@ -2,7 +2,7 @@
|
|||
** entab.c - add tabs to a text file
|
||||
** by Bruce Momjian (root@candle.pha.pa.us)
|
||||
**
|
||||
** version 1.1
|
||||
** version 1.2
|
||||
**
|
||||
** tabsize = 4
|
||||
**
|
||||
|
|
@ -98,6 +98,7 @@ char **argv;
|
|||
if (escaped == FALSE)
|
||||
quote_char = ' ';
|
||||
escaped = FALSE;
|
||||
|
||||
while (*src != NUL)
|
||||
{
|
||||
col_in_tab++;
|
||||
|
|
@ -150,6 +151,11 @@ char **argv;
|
|||
*(dst++) = ' ';
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
*(dst++) = *src;
|
||||
prv_spaces = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Reference in a new issue