Article View: alt.privacy.anon-server
Article #207811Re: Panta Nymserver troubles
From: Thomas J. Boschloo
Date: Tue, 25 Jul 2006 14:29
Date: Tue, 25 Jul 2006 14:29
233 lines
10633 bytes
10633 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Nomen Nescio schreef:
> Thomas J. Boschloo wrote:
>
>> Ok, you asked for it.
>
> What I asked for was for you to sprout a little maturity and just admit
> you're wrong under pressure of obvious and overwhelming evidence. I
> guess that's not your game plan here.
>
> Sucks to be you...
Well it could be worse. I could have been born in France.
>> If there is a Makefile in some software distribution and it has a flag
>> set to optimize for memory usage instead of speed when you use a certain
>> compiler, would you call that switch 'source code'?
>>
>> If there was a readme, would you call this source code?
>>
>> I presume not even you would argue the facts with me here. (Though I am
>> not certain about that)
>
> I never said any of that constitutes different source code Thomas, it's
> entirely the product of your desperate straw grabbing and under
> medicated imagination. I never mentioned readme files at all, and only
> brought up makefiles when I accurately described their role in directing
> the compilation of platform specific source code.
Well, you need not describe the role of Makefiles anymore. I downloaded
the GnuPG 1.4.4 source and looked up what we are discussing about:
/* Set up the default home directory. The usual --homedir option
should be parsed later. */
char *
default_homedir (void)
{
char *dir;
dir = getenv("GNUPGHOME");
#ifdef HAVE_W32_SYSTEM
if (!dir || !*dir)
dir = read_w32_registry_string (NULL, "Software\\GNU\\GnuPG",
"HomeDir");
if (!dir || !*dir)
{
char path[MAX_PATH];
/* It might be better to use LOCAL_APPDATA because this is
defined as "non roaming" and thus more likely to be kept
locally. For private keys this is desired. However, given
that many users copy private keys anyway forth and back,
using a system roaming serives might be better than to let
them do it manually. A security conscious user will anyway
use the registry entry to have better control. */
if (w32_shgetfolderpath (NULL, CSIDL_APPDATA|CSIDL_FLAG_CREATE,
NULL, 0, path) >= 0)
{
char *tmp = xmalloc (strlen (path) + 6 +1);
strcpy (stpcpy (tmp, path), "\\gnupg");
dir = tmp;
/* Try to create the directory if it does not yet
exists. */
if (access (dir, F_OK))
CreateDirectory (dir, NULL);
}
}
#endif /*HAVE_W32_SYSTEM*/
if (!dir || !*dir)
dir = GNUPG_HOMEDIR;
return dir;
}
So if you set GNUPGHOME you can have your keys anywhere you like :-)
Windows or POSIX environment. No 'c:\' at all ;-)
And here are some defines to go with it:
#ifdef _WIN32
#include <time.h>
#include <process.h>
#include <windows.h>
#include <shlobj.h>
#ifndef CSIDL_APPDATA
#define CSIDL_APPDATA 0x001a
#endif
#ifndef CSIDL_LOCAL_APPDATA
#define CSIDL_LOCAL_APPDATA 0x001c
#endif
#ifndef CSIDL_FLAG_CREATE
#define CSIDL_FLAG_CREATE 0x8000
#endif
#include "errors.h"
#include "dynload.h"
#endif /*_WIN32*/
To which the meaning can be found here:
http://www.xoc.net/works/tips/folderbrowserdialog.asp
>> So some files are source code and some aren't.
>
> Right. And you've been handed at least three examples of platform
> specific SOURCE CODE differences in GnuPG. Not only the very
> application that started this discussion, but one example that directly
> relates to the specific problem that was described. That same example
> thoroughly demolishes your idiotic "if the directory code changes for
> Windows it has to change for Debian" retardedness. It doesn't. Get use
> to the fact.
Well, that is how most programmers work FA. You must admit that the code
was pretty close to each other if you read the above.
>> I say the .c and .h files contain the source code (in C99, the followup
>> language of ANSI C as I linked to in my previous post). Yes,
>> pre-compiler directives are not necessarily source code. YMMV.
>>
>> Yes .o (.obj) files (one step further down the process) or libraries
>> (.lib) are clearly not source code anymore.
>
> Compiler libraries also contain header files. :)
Yet libraries are in no way part of the source code just like your
compiler executable isn't. They are part of your developing environment.
>>> If you want to see who the real "moron" is here all you have to do is
>>> pop open the latest GnuPG source code, navigate to the /util directory,
>>> and gaze upon a little file called amusingly enough... win32reg.c.
>> Sounds like fun, but I won't.
>
> Ok, so you're wilfully ignorant. Or too much of a child to confirm what
> you already know is true. Scared to death of that sinking feeling
> you'll get when you look, and actually see platform specific SOURCE
> CODE inside the archive of the very program where you claim it doesn't
> exist.
Don't blow your top. I looked it up. See? ^^
You can't expect me to devote all my free time to you FA.
> Completely different .c source code file Thomas. Not different lines in
> the same source even. And not your asinine "readme" bullshit. Separate
> and distinct source files used to build an executable depending on
> whether it's being compiled on a Windows box, or a *nix box. And the
> icing on the cake is that it's the exact "home directory" source code
> you originally started ranting about. <snicker>
It was worth a try as this 'source code change' messed up my IDEA
support. I didn't even think the nym server code wouldn't run on Windows
(NT4 patched per 9/11 iirc).
>> I told you you should fear me. You never know what I am going to do
>> next. Scared yet?
>
> Scared??? Thomas, I'm honestly getting to the point where I don't even
> feel sorry for you any more. If you truly want to be just like the
> Conners and Pigbarns of Usenet then fuck ya'. You deserve everything
> you get and then some, just like they do.
So stop talking and start fighting!
Can you proof you ever felt sorry for me? I think you just feel sorry
for yourself because of all the flak you get.
>>> By the way, grepping for 'HKLM' would have also lead you to another
>>> example of selective source code compilation, simple-gettext.c, and
>
> <snip>
>
>>> #include <config.h>
>>> #ifdef USE_SIMPLE_GETTEXT
>>> #if !defined (_WIN32) && !defined (__CYGWIN32__)
>>> #error This file can only be used under Windows or Cygwin32
>>> #endif
>> I have to take your word for that. All I see are pre-compiler
>> directives. I don't think you can #include a .c file.
>
> Yes well, you're wrong about that too partner. No surprises there. You
> most certainly CAN #include a .c source file in another source or
> header file. It's generally considered a bad practice, but the ability
> is there to help emulate other languages where such things are
> commonplace.
You can't include a .c file if it has C source code in it. Your compiler
will complain about e.g. every for(;;) loop you try to include using a
header file you rename to .c
> Anyway, those "compiler directives" tell the compiler (and human
> readers with an IQ higher then a raisin's) that this particular file is
> Windows specific.
I just laugh about this statement because it is so completely wrong.
> IOW Thomas... read'm and weep. :)
Shouldn't have eaten those raw unions, you are right.
>>> Now, you can rant and rave some more about "Frog Men", or you can
>>> apologize to me and to everyone else and we'll get on with life. I have
>>> no real desire to keep beating the snot out of you in particular, but
>>> I'll do it and smile if you keep insisting on it.
>> I am not done with you yet.
>
> You never got started with me. You lost the war when you made your
> feeble attempt to start a battle over something you're so obviously
> ignorant of.
Except that is you that is ignorant about standard C here.
> Whatever. You're the one suffering here, not me. I'd be willing to
> endure a couple more rounds of your embarrassment before I grow
> thoroughly bored of handing it to you.
Who started this flamewar anyways? I think you and rover did (who
incidentally share an uncannily number of similarities).
How is Lectori Salutem doing? Has he recovered from his failed
assassination attempt on me yet?
Thomas
- --
In a non-Democracy no one cares about your opinion.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iQB5AwUBRMYqsAEP2l8iXKAJAQE0iAMgseVW4DY3P/YbtTD609aJw8yZc8OBcBE+
zbLmOcCP3fgZHrbN1TZlYEXdGo5jWacWN0fbCWt1+P7rW8Y6U5y/52WoISFKgcSq
pgjAywze2/06x+QAzaO1ywr3L5FEGVicTUte0w==
=eAHU
-----END PGP SIGNATURE-----
Technical Details
Message-ID:
<44c62a49$0$31642$e4fe514c@news.xs4all.nl>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.20141023.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!feeder.news-service.com!newsgate.cistron.nl!transit.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mailReferences:
<44bee056$0$31638$e4fe514c@news.xs4all.nl> <77YXVKET38917.9630324074@anonymous.poster> <44bf6be6$0$31643$e4fe514c@news.xs4all.nl> <87a967c55200012fc1eb0d3563d9ba4c@pboxmix.winstonsmith.info> <44bfeb29$0$31656$e4fe514c@news.xs4all.nl> <f18512c67456d5e2d947f1df7a468db3@mixmaster.it> <44c0f9e4$0$31655$e4fe514c@news.xs4all.nl> <d340a7932c0b9c24d3ae320e0fa3d83b@deuxpi.ca> <44c130cc$0$31656$e4fe514c@news.xs4all.nl> <TR1YZJE838919.7546064815@twistycreek.com> <44c36ae1$0$31644$e4fe514c@news.xs4all.nl> <FP3MV44W38921.6301388889@twistycreek.com> <44c3dfdb$0$31637$e4fe514c@news.xs4all.nl> <3fa233656b01d4feb1e8bad0d99650b0@dizum.com>Show Full Headers
Complete Article Headers
Message-ID: <44c62a49$0$31642$e4fe514c@news.xs4all.nl> Subject: Re: Panta Nymserver troubles Date: Tue, 25 Jul 2006 16:29:04 +0200 From: "Thomas J. Boschloo" <nospam@hccnet.nl> References: <44bee056$0$31638$e4fe514c@news.xs4all.nl> <77YXVKET38917.9630324074@anonymous.poster> <44bf6be6$0$31643$e4fe514c@news.xs4all.nl> <87a967c55200012fc1eb0d3563d9ba4c@pboxmix.winstonsmith.info> <44bfeb29$0$31656$e4fe514c@news.xs4all.nl> <f18512c67456d5e2d947f1df7a468db3@mixmaster.it> <44c0f9e4$0$31655$e4fe514c@news.xs4all.nl> <d340a7932c0b9c24d3ae320e0fa3d83b@deuxpi.ca> <44c130cc$0$31656$e4fe514c@news.xs4all.nl> <TR1YZJE838919.7546064815@twistycreek.com> <44c36ae1$0$31644$e4fe514c@news.xs4all.nl> <FP3MV44W38921.6301388889@twistycreek.com> <44c3dfdb$0$31637$e4fe514c@news.xs4all.nl> <3fa233656b01d4feb1e8bad0d99650b0@dizum.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.20141023.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!feeder.news-service.com!newsgate.cistron.nl!transit.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) MIME-Version: 1.0 Newsgroups: alt.privacy.anon-server In-Reply-To: <3fa233656b01d4feb1e8bad0d99650b0@dizum.com> X-Enigmail-Version: 0.94.0.0 OpenPGP: url=home.hccnet.nl/t.j.boschloo Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Lines: 233 NNTP-Posting-Host: 82.92.126.16 X-Trace: 1153837641 news.xs4all.nl 31642 [::ffff:82.92.126.16]:25283 X-Complaints-To: abuse@xs4all.nl