Re: iconv(3) protype mismatch with POSIX

2016-07-23 Thread Kamil Rytarowski
Still valid. For example portable multi-system wrapper for OS interfaces glib doesn't know that there might be constified iconv(3). gconvert.c:279:21: warning: passing argument 2 of 'iconv' from incompatible pointer type [-Wincompatible-pointer-types] return iconv (cd, inbuf, inbytes_left, out

Re: updates?

2016-07-23 Thread Christos Zoulas
In article , Charles Cui wrote: >-=-=-=-=-=- > >Hi Christos, >Here is a improved patch based on your code review, >https://github.com/ycui1984/posixtestsuite/blob/master/patches/REALTIME_SIGNAL/0005-improve-error-checking-improve-based-on-code-review.patch > >I will send you the signal test later

Re: updates?

2016-07-23 Thread Christos Zoulas
On Jul 23, 12:15pm, charles.cui1...@gmail.com (Charles Cui) wrote: -- Subject: Re: updates? | I considered about this, it seems that if the variable kp is successfully | allocated, | we need to goto out to free kp first (which prevents memory leak). | But if we never allocate the variable kp, and

Re: updates?

2016-07-23 Thread Christos Zoulas
On Jul 23, 8:03pm, charles.cui1...@gmail.com (Charles Cui) wrote: -- Subject: Re: updates? | Hi Christos, | | I have attached a program to test the delivery order of signals. | It turns out that both Linux and our current implementation use a FIFO | policy to deliver signal, (1. only realtim