|
10 | 10 | *Win32 (NT, Win2k, XP).replace() doesn't work on Win95/98/Me. |
11 | 11 | * |
12 | 12 | * IDENTIFICATION |
13 | | - * $PostgreSQL: pgsql/src/port/dirmod.c,v 1.16 2004/08/0803:51:20 momjian Exp $ |
| 13 | + * $PostgreSQL: pgsql/src/port/dirmod.c,v 1.17 2004/08/0805:04:41 momjian Exp $ |
14 | 14 | * |
15 | 15 | *------------------------------------------------------------------------- |
16 | 16 | */ |
@@ -203,11 +203,11 @@ pgsymlink(const char *oldpath, const char *newpath) |
203 | 203 | NULL,GetLastError(), |
204 | 204 | MAKELANGID(LANG_NEUTRAL,SUBLANG_DEFAULT), |
205 | 205 | (LPSTR)&msg,0,NULL ); |
206 | | -#ifdefFRONTEND |
207 | | -fprintf(stderr,"Error setting junction for %s: %s",nativeTarget,msg); |
208 | | -#else |
| 206 | +#ifndefFRONTEND |
209 | 207 | ereport(ERROR, (errcode_for_file_access(), |
210 | 208 | errmsg("Error setting junction for %s: %s",nativeTarget,msg))); |
| 209 | +#else |
| 210 | +fprintf(stderr,"Error setting junction for %s: %s",nativeTarget,msg); |
211 | 211 | #endif |
212 | 212 | LocalFree(msg); |
213 | 213 |
|
|