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

Commit8bd2248

Browse files
author
Artur Zakirov
committed
Do not skip subdirectories if parent directory contains a file
1 parent3068156 commit8bd2248

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

‎dir.c

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -515,13 +515,7 @@ list_data_directories(parray *files, const char *path, bool is_root,
515515
elog(ERROR,"cannot stat file \"%s\": %s",child,strerror(errno));
516516

517517
if (!S_ISDIR(st.st_mode))
518-
{
519-
/* Stop reading the directory if we met file */
520-
if (!is_root)
521-
break;
522-
else
523-
continue;
524-
}
518+
continue;
525519

526520
/* Check for exclude for the first level of listing */
527521
if (is_root&&exclude)

‎show.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ do_show(time_t backup_id)
2929
if (backup_id!=0)
3030
{
3131
pgBackup*backup;
32-
pid_trun_pid;
3332

3433
backup=read_backup(backup_id);
3534
if (backup==NULL)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp