Skip to content

Commit 04402d2

Browse files
committed
Merge branch 'master' into stable
2 parents c422b68 + 4123b76 commit 04402d2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/backup.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -237,12 +237,12 @@ ReceiveFileList(parray* files, PGconn *conn, PGresult *res, int rownum)
237237
if (copybuf[156] == '5')
238238
{
239239
/* Directory */
240-
pgfile->mode |= __S_IFDIR;
240+
pgfile->mode |= S_IFDIR;
241241
}
242242
else if (copybuf[156] == '2')
243243
{
244244
/* Symlink */
245-
pgfile->mode |= __S_IFLNK;
245+
pgfile->mode |= S_IFLNK;
246246
}
247247
else
248248
elog(ERROR, "Unrecognized link indicator \"%c\"\n",
@@ -251,7 +251,7 @@ ReceiveFileList(parray* files, PGconn *conn, PGresult *res, int rownum)
251251
else
252252
{
253253
/* regular file */
254-
pgfile->mode |= __S_IFREG;
254+
pgfile->mode |= S_IFREG;
255255
}
256256

257257
parray_append(files, pgfile);

0 commit comments

Comments
 (0)