File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 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/08 03:51:20 momjian Exp $
13
+ * $PostgreSQL: pgsql/src/port/dirmod.c,v 1.17 2004/08/08 05: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
- #ifdef FRONTEND
207
- fprintf (stderr , "Error setting junction for %s: %s" , nativeTarget , msg );
208
- #else
206
+ #ifndef FRONTEND
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
You can’t perform that action at this time.
0 commit comments