1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2025-09-16 09:26:30 +02:00

Fix a bug in extracting filename from archive_command.

git-svn-id: http://pg-rman.googlecode.com/svn/trunk@33 182aca00-e38e-11de-a668-6fd11605f5ce
This commit is contained in:
itagaki.takahiro
2010-03-03 05:05:56 +00:00
parent 7889cafbe3
commit 397c9ebaad

2
init.c
View File

@@ -75,7 +75,7 @@ do_init(void)
if ((fname = strstr(begin, "%f")) != NULL)
{
while (strchr(" \n\r\t\v""'", *begin))
while (strchr(" \n\r\t\v\"'", *begin))
begin++;
fname--;
while (fname > begin && strchr(" \n\r\t\v\"'/", fname[-1]))