Bug#665780: {fread,fwrite}.3: The return value can be the number of characters

2012-03-29 Thread Michael Kerrisk (man-pages)
tags 665780 fixed-upstream thanks Hello Regid, On Tue, Mar 27, 2012 at 12:31 AM, Regid Ichira regi...@yahoo.com wrote: --- On Mon, 3/26/12, Michael Kerrisk (man-pages) mtk.manpa...@gmail.com wrote: This patch makes no sense to me.  Why not?  Won't    char c[10];    fwrite(c,

Bug#665780: {fread,fwrite}.3: The return value can be the number of characters

2012-03-26 Thread Michael Kerrisk (man-pages)
This patch makes no sense to me. How could this information be useful? I can see no reason to take this patch upstream. On Mon, Mar 26, 2012 at 2:54 PM, Regid Ichira regi...@yahoo.com wrote: Package:  manpages-dev Version:  3.35-0.1 Severity: normal Tags:     patch File:    

Bug#665780: {fread,fwrite}.3: The return value can be the number of characters

2012-03-26 Thread Regid Ichira
--- On Mon, 3/26/12, Michael Kerrisk (man-pages) mtk.manpa...@gmail.com wrote: This patch makes no sense to me. Why not? Won't char c[10]; fwrite(c, sizeof(char), sizeof(c), stream); be writing 10 bytes, and returns 10? I think the intention of the composer of the page was to

Bug#665780: {fread,fwrite}.3: The return value can be the number of characters

2012-03-25 Thread Regid Ichira
Package: manpages-dev Version: 3.35-0.1 Severity: normal Tags: patch File: /usr/share/man/man3/fread.3.gz 1. The return value is the number of characters in one case. 2. Doesn't the request to continue the fread synopsis line makes it longer then 80 characters? --- a/fread.3