[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Lynx-dev] Adding $SOCKS5_PROXY support, changing command line optio
From: |
Steffen Nurpmeso |
Subject: |
Re: [Lynx-dev] Adding $SOCKS5_PROXY support, changing command line option |
Date: |
Sat, 08 Aug 2020 19:51:38 +0200 |
User-agent: |
s-nail v14.9.19-100-gd425f9da-dirty |
Hello.
Thorsten Glaser wrote in
<Pine.BSM.4.64L.2008080000250.6285@herc.mirbsd.org>:
|Steffen Nurpmeso dixit:
|
|>Really?? This i do not understand.
|
|You’re only allowed to take pointers to actual objects.
|It should probably be possible to use NULL somewhere,
|but you can use &hostname as magic pointer.
|
|Using (char *)-1 can cause traps on some platforms, or
|the compiler to replace the entire codepath (including
|backwards!) with nōnsense.
Well, hm, but not on POSIX compatible platforms for sure.
MAP_FAILED for example is now explicitly defined (since Issue 6)
where (void*)-1 was formerly used (also by the standard). There
is also (iconv_t)-1 standardized, where iconv_t is usually
a pointer. So this ISO C, then. Hm. But ok, i can use intptr_t,
it is already used in the lynx code.
Thanks for pointing this out.
|
|bye,
|//mirabilos
|--
|In traditional syntax ' is ignored, but in c99 everything between two ' is
|handled as character constant. Therefore you cannot use ' in a preproces-
|sing file in c99 mode. -- Ragge
He unfortunately seems to leave. For weeks the server was totally
gone, now at least the name resolves, but i cannot access it
nonetheless. I really like pcc.
|No faith left in ISO C99, undefined behaviour, etc.
--End of <Pine.BSM.4.64L.2008080000250.6285@herc.mirbsd.org>
Ciao, and a nice Sunday!
--steffen
|
|Der Kragenbaer, The moon bear,
|der holt sich munter he cheerfully and one by one
|einen nach dem anderen runter wa.ks himself off
|(By Robert Gernhardt)
- Re: [Lynx-dev] Adding $SOCKS5_PROXY support, changing command line option, Steffen Nurpmeso, 2020/08/07
- Re: [Lynx-dev] Adding $SOCKS5_PROXY support, changing command line option, Thorsten Glaser, 2020/08/07
- Re: [Lynx-dev] Adding $SOCKS5_PROXY support, changing command line option, Steffen Nurpmeso, 2020/08/07
- Re: [Lynx-dev] Adding $SOCKS5_PROXY support, changing command line option, Mouse, 2020/08/07
- Re: [Lynx-dev] Adding $SOCKS5_PROXY support, changing command line option, Steffen Nurpmeso, 2020/08/08
- Re: [Lynx-dev] Adding $SOCKS5_PROXY support, changing command line option, Mouse, 2020/08/08
- Re: [Lynx-dev] Adding $SOCKS5_PROXY support, changing command line option, Steffen Nurpmeso, 2020/08/08
- Re: [Lynx-dev] Adding $SOCKS5_PROXY support, changing command line option, Thorsten Glaser, 2020/08/08
- Re: [Lynx-dev] Adding $SOCKS5_PROXY support, changing command line option, Steffen Nurpmeso, 2020/08/08
- Re: [Lynx-dev] the sun, the sun, Halaasz Saandor, 2020/08/08
- Re: [Lynx-dev] the sun, the sun, David Woolley, 2020/08/09
- Re: [Lynx-dev] the sun, the sun, Thorsten Glaser, 2020/08/09