]> git.pld-linux.org Git - packages/postfix.git/blame - postfix-pl.patch
- described conditional builds
[packages/postfix.git] / postfix-pl.patch
CommitLineData
e31c0987
AF
1--- postfix-19991231-pl06/src/global/pipe_command.c.wiget Fri Nov 19 21:54:37 1999
2+++ postfix-19991231-pl06/src/global/pipe_command.c Tue Apr 4 21:11:22 2000
9e9007a1
AF
3@@ -462,9 +462,9 @@
4 if (pipe_command_wait_or_kill(pid, &wait_status, SIGKILL) < 0)
5 msg_fatal("wait: %m");
6 if (pipe_command_timeout) {
7- vstring_sprintf(why, "Command time limit exceeded: \"%s\"%s%s",
8+ vstring_sprintf(why, "Przekroczony czas wykonania polecania / Command time limit exceeded: \"%s\"%s%s",
9 args.command,
10- log_len ? ". Command output: " : "", log_buf);
11+ log_len ? ". Wyniki polecenia / Command output: " : "", log_buf);
12 return (PIPE_STAT_BOUNCE);
13 }
14
15@@ -474,26 +474,26 @@
16 */
17 if (!NORMAL_EXIT_STATUS(wait_status)) {
18 if (WIFSIGNALED(wait_status)) {
19- vstring_sprintf(why, "Command died with signal %d: \"%s\"%s%s",
20+ vstring_sprintf(why, "Polecenie zakonczone bledem / Command died with signal %d: \"%s\"%s%s",
21 WTERMSIG(wait_status),
22 args.command,
23- log_len ? ". Command output: " : "", log_buf);
24+ log_len ? ". Wynik polecenia / Command output: " : "", log_buf);
25 return (PIPE_STAT_BOUNCE);
26 } else if (SYS_EXITS_CODE(WEXITSTATUS(wait_status))) {
27 vstring_sprintf(why, "%s%s%s",
28 sys_exits_strerror(WEXITSTATUS(wait_status)),
29- log_len ? ". Command output: " : "", log_buf);
30+ log_len ? ". Wyniki polecenia / Command output: " : "", log_buf);
31 return (sys_exits_softerror(WEXITSTATUS(wait_status)) ?
32 PIPE_STAT_DEFER : PIPE_STAT_BOUNCE);
33 } else {
34- vstring_sprintf(why, "Command died with status %d: \"%s\"%s%s",
35+ vstring_sprintf(why, "Polecenie zakonczone bledem / Command died with status %d: \"%s\"%s%s",
36 WEXITSTATUS(wait_status),
37 args.command,
38- log_len ? ". Command output: " : "", log_buf);
39+ log_len ? ". Wyniki polecenia / Command output: " : "", log_buf);
40 return (PIPE_STAT_BOUNCE);
41 }
42 } else if (write_status && errno != EPIPE) {
43- vstring_sprintf(why, "Command failed: %m: \"%s\"", args.command);
44+ vstring_sprintf(why, "Polecenia niepowiodlo sie / Command failed: %m: \"%s\"", args.command);
45 return (PIPE_STAT_DEFER);
46 } else {
47 return (PIPE_STAT_OK);
e31c0987
AF
48--- postfix-19991231-pl06/src/global/sys_exits.c.wiget Tue Apr 4 21:11:49 2000
49+++ postfix-19991231-pl06/src/global/sys_exits.c Tue Apr 4 21:26:36 2000
9e9007a1
AF
50@@ -60,21 +60,21 @@
51 } SYS_EXITS_TABLE;
52
53 static SYS_EXITS_TABLE sys_exits_table[] = {
54- 0, EX_USAGE, "command line usage error",
55- 0, EX_DATAERR, "data format error",
56+ 0, EX_USAGE, "bledne wywylanie polecanie / command line usage error",
57+ 0, EX_DATAERR, "blad formatu danych / data format error",
58 0, EX_NOINPUT, "cannot open input",
59- 0, EX_NOUSER, "user unknown",
60+ 0, EX_NOUSER, "nieznany uzytkownik / user unknown",
61 0, EX_NOHOST, "host name unknown",
62- 0, EX_UNAVAILABLE, "service unavailable",
63- 0, EX_SOFTWARE, "internal software error",
64+ 0, EX_UNAVAILABLE, "niedostepny serwis / service unavailable",
65+ 0, EX_SOFTWARE, "wewnetrzny blad oprogramowania / internal software error",
66 1, EX_OSERR, "system resource problem",
67 0, EX_OSFILE, "critical OS file missing",
68 0, EX_CANTCREAT, "can't create user output file",
69 0, EX_IOERR, "input/output error",
70- 1, EX_TEMPFAIL, "temporary failure",
71+ 1, EX_TEMPFAIL, "chwilowe niepowodzenie / temporary failure",
72 0, EX_PROTOCOL, "remote error in protocol",
73- 0, EX_NOPERM, "permission denied",
74- 0, EX_CONFIG, "local configuration error",
75