Re: Use of copydir vs. cp

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Use of copydir vs. cp
Date: 2005-07-04 16:51:31
Message-ID: 200507041651.j64GpVK19724@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Bruce Momjian wrote:
> Right now, we use 'cp' in unix, and a copydir() function on Win32.
> Shouldn't we be using copydir() on all platforms so we can report errors
> more easily?

Oops, I see Win32 CopyFile() in copydir.c. Seems copydir() would need
some modifications to work on Unix. I added it to the TODO list.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2005-07-04 16:51:48 Re: New warnings in plgsql/src/scan.l
Previous Message Bruce Momjian 2005-07-04 16:45:47 Use of copydir vs. cp