lukem
fa11ebb133
apparently ansi c only required fread(3) to return 0 if size or nmembs == 0.
...
however, susv2 adds the same to fwrite(3), so add the explicit check.
document this for both fread & fwrite. move diagassert for buf!=NULL to after
the (size * nmembs) == 0 check.
this has the helpful side effect of preventing the _DIAGASSERT()ion in
fwrite() being triggered by lots of 3rdparty code that calls fwrite() with
buf=NULL count=0
2001-01-25 02:06:25 +00:00
..
2000-07-08 13:46:33 +00:00
2000-07-08 13:46:33 +00:00
2000-01-21 19:51:36 +00:00
1999-09-20 04:38:56 +00:00
1998-02-05 18:45:17 +00:00
2000-01-21 19:53:02 +00:00
2000-11-29 15:36:42 +00:00
1999-09-20 04:38:56 +00:00
1998-02-05 18:45:17 +00:00
1999-09-20 04:38:56 +00:00
1998-08-29 08:32:32 +00:00
1999-09-20 04:38:56 +00:00
1999-09-20 04:38:56 +00:00
2000-12-29 15:22:48 +00:00
2000-01-22 22:19:07 +00:00
2000-07-08 13:51:27 +00:00
2000-12-29 15:22:48 +00:00
1999-11-14 18:19:57 +00:00
1999-09-20 04:38:56 +00:00
2000-01-21 19:55:02 +00:00
2000-01-15 01:11:45 +00:00
1995-02-02 02:09:03 +00:00
2000-12-29 15:22:48 +00:00
2000-11-29 15:30:20 +00:00
1999-09-20 04:38:56 +00:00
2000-01-21 19:53:02 +00:00
1999-09-20 04:38:56 +00:00
2000-12-29 15:22:48 +00:00
1999-09-20 04:38:56 +00:00
2001-01-25 02:06:25 +00:00
2001-01-25 02:06:25 +00:00
2000-11-29 15:31:10 +00:00
1999-09-20 04:38:56 +00:00
2000-12-29 15:22:48 +00:00
1999-09-20 04:38:56 +00:00
2000-07-26 08:52:57 +00:00
2000-07-08 13:51:27 +00:00
1999-09-20 04:38:56 +00:00
2000-07-26 08:52:57 +00:00
1998-02-05 18:45:17 +00:00
1998-11-15 17:19:53 +00:00
1999-09-20 04:38:56 +00:00
1998-09-08 15:10:12 +00:00
1999-09-20 04:38:56 +00:00
2001-01-25 02:06:25 +00:00
1998-04-28 20:58:00 +00:00
1999-09-20 04:38:56 +00:00
1998-01-19 07:38:41 +00:00
1999-09-20 04:38:56 +00:00
1999-09-20 04:38:56 +00:00
1999-09-20 04:38:56 +00:00
2000-12-10 04:17:28 +00:00
1998-07-27 16:05:07 +00:00
1999-09-20 04:38:56 +00:00
2000-07-08 13:46:33 +00:00
1999-09-20 04:38:56 +00:00
1999-09-20 04:38:56 +00:00
1998-07-28 17:11:12 +00:00
1999-09-20 04:38:56 +00:00
1999-03-22 19:44:33 +00:00
1999-08-22 12:52:28 +00:00
2000-12-29 15:22:48 +00:00
1999-09-20 04:38:56 +00:00
1998-08-29 08:32:32 +00:00
1999-09-20 04:38:56 +00:00
1998-01-19 07:38:41 +00:00
1999-09-20 04:38:56 +00:00
1999-09-20 04:38:56 +00:00
1999-09-20 04:38:56 +00:00
1999-09-26 21:00:25 +00:00
1999-09-20 04:38:56 +00:00
2000-01-21 19:54:13 +00:00
1999-09-20 04:38:56 +00:00
2000-12-29 15:22:48 +00:00
1999-09-20 04:38:56 +00:00
2000-12-29 15:22:48 +00:00
1999-09-20 04:38:56 +00:00
1999-09-20 04:38:56 +00:00
1999-09-20 04:38:56 +00:00
2000-10-19 09:47:43 +00:00
2000-01-21 19:51:36 +00:00
1999-09-20 04:38:56 +00:00
1999-03-22 19:44:33 +00:00
1999-09-20 04:38:56 +00:00
1998-11-15 17:19:53 +00:00
1998-10-13 14:07:04 +00:00
1998-06-08 12:41:41 +00:00
1998-10-13 14:19:21 +00:00
1998-02-05 18:45:17 +00:00
1999-09-20 04:38:56 +00:00
2000-01-21 19:51:36 +00:00
2000-12-30 04:13:25 +00:00
2000-03-08 19:33:47 +00:00
1999-09-20 04:38:56 +00:00
1999-09-20 04:38:56 +00:00
2000-10-19 09:47:43 +00:00
2000-01-21 19:51:36 +00:00
1999-09-20 04:38:56 +00:00
1999-09-20 04:38:56 +00:00
1999-09-20 04:38:56 +00:00