ache 46f0000bfe snprintf return value fixes to conform Single Unix specs:
1) if buffer size is smaller than arguments size, return buffer
size, not arguments size as before.

2) if buffer size is 0, return 0, not EOF as before.
(now it is compatible with Linux and Apache implementations too).

NOTE: Single Unix specs says:

If the value of n {buffer size} is zero on a call to snprintf(), an
unspecified value less than 1 is returned.

It means we can't return EOF since EOF can take *any* value in general
not especially < 1. Better variant will be return -1 (it is less then
1 and different with n == 1 case) but -1 value is already occuped by
EOF in our implementation, so we can't distinguish true IO error
in that case. So 0 here is only possible case still conforming
to Single Unix specs.
1997-12-24 12:31:32 +00:00
..
1997-02-22 15:12:41 +00:00
1997-02-22 15:12:41 +00:00
1994-05-27 05:00:24 +00:00
1997-02-22 15:12:41 +00:00
1994-05-27 05:00:24 +00:00
1997-02-22 15:12:41 +00:00
1994-05-27 05:00:24 +00:00
1997-02-22 15:12:41 +00:00
1997-01-20 23:23:22 +00:00
1997-02-22 15:12:41 +00:00
1997-02-22 15:12:41 +00:00
1997-02-22 15:12:41 +00:00
1997-02-22 15:12:41 +00:00
1997-02-22 15:12:41 +00:00
1997-02-22 15:12:41 +00:00
1997-02-22 15:12:41 +00:00
1997-02-22 15:12:41 +00:00
1994-05-27 05:00:24 +00:00
1994-05-27 05:00:24 +00:00
1997-02-22 15:12:41 +00:00
1997-02-22 15:12:41 +00:00
1997-02-22 15:12:41 +00:00
1997-01-20 23:23:22 +00:00
1997-02-22 15:12:41 +00:00
1997-02-22 15:12:41 +00:00
1995-05-30 05:51:47 +00:00
1997-02-22 15:12:41 +00:00
1997-02-22 15:12:41 +00:00
1997-02-22 15:12:41 +00:00
1997-03-11 11:40:40 +00:00
1994-05-27 05:00:24 +00:00
1997-02-22 15:12:41 +00:00
1994-05-27 05:00:24 +00:00
1997-02-22 15:12:41 +00:00
1997-02-22 15:12:41 +00:00
1997-01-20 23:23:22 +00:00
1997-02-22 15:12:41 +00:00
1997-02-22 15:12:41 +00:00
1997-02-22 15:12:41 +00:00
1997-02-22 15:12:41 +00:00
1994-05-27 05:00:24 +00:00
1994-05-27 05:00:24 +00:00
1997-10-21 08:41:15 +00:00
1996-05-01 22:49:36 +00:00
1997-04-07 18:01:10 +00:00
1997-02-22 15:12:41 +00:00
1994-05-27 05:00:24 +00:00
1997-02-22 15:12:41 +00:00
1997-02-22 15:12:41 +00:00
1997-02-22 15:12:41 +00:00
1997-02-22 15:12:41 +00:00
1997-02-22 15:12:41 +00:00
1994-05-27 05:00:24 +00:00
1997-02-22 15:12:41 +00:00
1997-02-22 15:12:41 +00:00
1997-07-01 17:46:39 +00:00
1997-02-22 15:12:41 +00:00
1994-05-27 05:00:24 +00:00
1997-02-22 15:12:41 +00:00
1997-02-22 15:12:41 +00:00
1997-02-22 15:12:41 +00:00
1997-02-22 15:12:41 +00:00
1997-01-20 23:23:22 +00:00
1997-02-22 15:12:41 +00:00
1997-02-22 15:12:41 +00:00
1994-05-27 05:00:24 +00:00
1994-05-27 05:00:24 +00:00
1997-01-20 23:23:22 +00:00
1997-02-22 15:12:41 +00:00
1997-02-22 15:12:41 +00:00
1997-02-22 15:12:41 +00:00
1997-02-22 15:12:41 +00:00
1997-02-22 15:12:41 +00:00
1997-02-22 15:12:41 +00:00
1997-02-22 15:12:41 +00:00