On Wed, Mar 09, 2016 at 02:07:05PM +0800, Fei Jie wrote:
[...]
> --- /dev/null
> +++ b/tests/dup.c
> @@ -0,0 +1,16 @@
> +#include <errno.h>
> +#include <stdio.h>
> +#include <unistd.h>
> +
> +int
> +main(void)
> +{
> +     const long int fd = (long int) 0xdeadbeefffffffff;
> +     int rc = dup(fd);

This looks like a remnant of the previous edition.
"dup" takes an integer so "fd" has to be "int" not long.


-- 
ldv

Attachment: pgp7igqvMR2Ll.pgp
Description: PGP signature

------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
_______________________________________________
Strace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/strace-devel

Reply via email to