]> granicus.if.org Git - postgresql/commit
Move copydir.c from src/port to src/backend/storage/file
authorRobert Haas <rhaas@postgresql.org>
Fri, 2 Jul 2010 17:03:38 +0000 (17:03 +0000)
committerRobert Haas <rhaas@postgresql.org>
Fri, 2 Jul 2010 17:03:38 +0000 (17:03 +0000)
commitd7f51b2c49d24462cbfa3f1618a7b51e4c4ff00c
tree4d055905d1861798818b2fd0b3160ca8e03dafba
parent5976be32d2d80e0e4f5717a8c890bbcdf6580da1
Move copydir.c from src/port to src/backend/storage/file

The previous commit to make copydir() interruptible prevented
postgres.exe from linking on MinGW and Cygwin, because on those
platforms libpgport_srv.a can't freely reference symbols defined
by the backend.  Since that code is already backend-specific anyway,
just move the whole file into the backend rather than adding further
kludges to deal with the symbols needed by CHECK_FOR_INTERRUPTS().

This probably needs some further cleanup, but this commit just moves
the file as-is, which should hopefully be enough to turn the
buildfarm green again.
src/backend/storage/file/Makefile
src/backend/storage/file/copydir.c [moved from src/port/copydir.c with 97% similarity]
src/port/Makefile