In <[email protected]> Ethan Furman 
<[email protected]> writes:

>          fprintf(stderr, "Could not allocate %d bytes.  errno=%d\n",
>                  size, errno);

%d is not the correct specifier for printing objects of type size_t.

>      char **envp_read;
>      char **envp_write;

>      if (envp_write < envp_read)
>      {
>          memset(envp_write, 0, ((unsigned int) envp_read -
>                                 (unsigned int) envp_write));
>      }

I think it's complaining about casting the char ** objects to unsigned int.

-- 
John Gordon         Imagine what it must be like for a real medical doctor to
[email protected]    watch 'House', or a real serial killer to watch 'Dexter'.

-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to