[Pdns-dev] Re: [patch] Zone2ldap fix + feature

Norbert Sendetzky norbert at linuxnetworks.de
Tue Dec 30 22:19:56 CET 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday 30 December 2003 19:38, you wrote:
> -       while( --j != subparts.begin() )
> +       while( j-- && j != subparts.begin() )
>
> I changed this before, 'j--' is not a boolean and you cannot
> mention it on its own, it needs to be compared to something.
>
> This won't compile on my compiler. Do you know why it crashed
> currently?

No, but it is this statement that causes the segfault if compiled with 
gcc 2.95.

I will try to rewrite the code and remove the iterators.


Norbert

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAj/x6/8ACgkQxMLs5v5/7eAZwACdElKhOw5fl/2R9f/whhdneXWT
7akAn0zUR+jNl8kfQg54EE35wCYvpyjW
=pOBY
-----END PGP SIGNATURE-----



More information about the Pdns-dev mailing list