Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #70235
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!nntp.club.cc.cmu.edu!ra.nrl.navy.mil!bloom-beacon.mit.edu!bloom-beacon.mit.edu!panix!gordon |
|---|---|
| From | John Gordon <gordon@panix.com> |
| Newsgroups | comp.lang.python |
| Subject | Re: Python, Linux, and the setuid bit |
| Date | Mon, 14 Apr 2014 21:55:42 +0000 (UTC) |
| Organization | PANIX Public Access Internet and UNIX, NYC |
| Lines | 22 |
| Message-ID | <lihlgu$hjk$1@reader1.panix.com> (permalink) |
| References | <mailman.9260.1397511440.18130.python-list@python.org> |
| NNTP-Posting-Host | panix2.panix.com |
| X-Trace | reader1.panix.com 1397512542 18036 166.84.1.2 (14 Apr 2014 21:55:42 GMT) |
| X-Complaints-To | abuse@panix.com |
| NNTP-Posting-Date | Mon, 14 Apr 2014 21:55:42 +0000 (UTC) |
| User-Agent | nn/6.7.3 |
| Xref | csiph.com comp.lang.python:70235 |
Show key headers only | View raw
In <mailman.9260.1397511440.18130.python-list@python.org> Ethan Furman <ethan@stoneleaf.us> 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
gordon@panix.com watch 'House', or a real serial killer to watch 'Dexter'.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Python, Linux, and the setuid bit Ethan Furman <ethan@stoneleaf.us> - 2014-04-14 14:13 -0700
Re: Python, Linux, and the setuid bit John Gordon <gordon@panix.com> - 2014-04-14 21:55 +0000
Re: Python, Linux, and the setuid bit Grant Edwards <invalid@invalid.invalid> - 2014-04-14 22:04 +0000
Re: Python, Linux, and the setuid bit Grant Edwards <invalid@invalid.invalid> - 2014-04-14 22:07 +0000
Re: Python, Linux, and the setuid bit Richard Kettlewell <rjk@greenend.org.uk> - 2014-04-15 09:00 +0100
Re: Python, Linux, and the setuid bit Chris Angelico <rosuav@gmail.com> - 2014-04-15 18:15 +1000
Re: Python, Linux, and the setuid bit Richard Kettlewell <rjk@greenend.org.uk> - 2014-04-15 10:28 +0100
Re: Python, Linux, and the setuid bit Chris Angelico <rosuav@gmail.com> - 2014-04-15 19:35 +1000
Re: Python, Linux, and the setuid bit Chris Angelico <rosuav@gmail.com> - 2014-04-15 18:18 +1000
csiph-web