Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitbfa47dd

Browse files
committed
Clarify some error messages
1 parentb98f989 commitbfa47dd

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

‎src/port/dirmod.c

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
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.39 2005/08/10 19:52:37 momjian Exp $
13+
* $PostgreSQL: pgsql/src/port/dirmod.c,v 1.40 2005/09/18 09:48:24 petere Exp $
1414
*
1515
*-------------------------------------------------------------------------
1616
*/
@@ -141,20 +141,20 @@ pgrename(const char *from, const char *to)
141141
pg_usleep(100000);/* us */
142142
if (loops==30)
143143
#ifndefFRONTEND
144-
elog(LOG,"could not rename \"%s\" to \"%s\", continuing to try",
144+
elog(LOG,"could not renamefile\"%s\" to \"%s\", continuing to try",
145145
from,to);
146146
#else
147-
fprintf(stderr,_("could not rename \"%s\" to \"%s\", continuing to try\n"),
147+
fprintf(stderr,_("could not renamefile\"%s\" to \"%s\", continuing to try\n"),
148148
from,to);
149149
#endif
150150
loops++;
151151
}
152152

153153
if (loops>30)
154154
#ifndefFRONTEND
155-
elog(LOG,"completed rename of \"%s\" to \"%s\"",from,to);
155+
elog(LOG,"completed rename offile\"%s\" to \"%s\"",from,to);
156156
#else
157-
fprintf(stderr,_("completed rename of \"%s\" to \"%s\"\n"),from,to);
157+
fprintf(stderr,_("completed rename offile\"%s\" to \"%s\"\n"),from,to);
158158
#endif
159159
return0;
160160
}
@@ -181,20 +181,20 @@ pgunlink(const char *path)
181181
pg_usleep(100000);/* us */
182182
if (loops==30)
183183
#ifndefFRONTEND
184-
elog(LOG,"could notunlink \"%s\", continuing to try",
184+
elog(LOG,"could notremove file \"%s\", continuing to try",
185185
path);
186186
#else
187-
fprintf(stderr,_("could notunlink \"%s\", continuing to try\n"),
187+
fprintf(stderr,_("could notremove file \"%s\", continuing to try\n"),
188188
path);
189189
#endif
190190
loops++;
191191
}
192192

193193
if (loops>30)
194194
#ifndefFRONTEND
195-
elog(LOG,"completedunlink of \"%s\"",path);
195+
elog(LOG,"completedremoval of file \"%s\"",path);
196196
#else
197-
fprintf(stderr,_("completedunlink of \"%s\"\n"),path);
197+
fprintf(stderr,_("completedremoval of file \"%s\"\n"),path);
198198
#endif
199199
return0;
200200
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp