File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1010 * Win32 (NT, Win2k, XP). replace() doesn't work on Win95/98/Me.
1111 *
1212 * 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 $
1414 *
1515 *-------------------------------------------------------------------------
1616 */
@@ -203,11 +203,11 @@ pgsymlink(const char *oldpath, const char *newpath)
203203 NULL , GetLastError (),
204204 MAKELANGID (LANG_NEUTRAL , SUBLANG_DEFAULT ),
205205 (LPSTR )& msg , 0 , NULL );
206- #ifdef FRONTEND
207- fprintf (stderr , "Error setting junction for %s: %s" , nativeTarget , msg );
208- #else
206+ #ifndef FRONTEND
209207 ereport (ERROR , (errcode_for_file_access (),
210208 errmsg ("Error setting junction for %s: %s" , nativeTarget , msg )));
209+ #else
210+ fprintf (stderr , "Error setting junction for %s: %s" , nativeTarget , msg );
211211#endif
212212 LocalFree (msg );
213213
You can’t perform that action at this time.
0 commit comments