Re: [patch] Bug 3537: lyx-1.5.0beta2 dumps core on freebsd-6.2 when it tries to handle strings of filenames etc.

2007-07-30 Thread Jean-Marc Lasgouttes
[EMAIL PROTECTED] (Jürgen Spitzmüller) writes: José Matos wrote:   This is not in the patch, is this already in?   The patch only shows the addition of __FreeBSD_kernel__ test. No, it replaces __FREEBSD__ with __FreeBSD__. I didn't know it is so (and actually I didn't find a reference),

Re: [patch] Bug 3537: lyx-1.5.0beta2 dumps core on freebsd-6.2 when it tries to handle strings of filenames etc.

2007-07-30 Thread Jean-Marc Lasgouttes
[EMAIL PROTECTED] (Jürgen Spitzmüller) writes: > José Matos wrote: >>   This is not in the patch, is this already in? >>   The patch only shows the addition of __FreeBSD_kernel__ test. > > No, it replaces __FREEBSD__ with __FreeBSD__. I didn't know it is so (and > actually I didn't find a

[patch] Bug 3537: lyx-1.5.0beta2 dumps core on freebsd-6.2 when it tries to handle strings of filenames etc.

2007-07-13 Thread Jürgen Spitzmüller
The attached patch seems to fix that bug finally, as Koji Yokota confirmed. Actually, I'm not sure defined(__FreeBSD_kernel__) is really needed -- this basically identifies GNU/kFreeBSD (that doesn't have __FreeBSD__ defined). The actual problem apparently was the casing of the macro. José,

Re: [patch] Bug 3537: lyx-1.5.0beta2 dumps core on freebsd-6.2 when it tries to handle strings of filenames etc.

2007-07-13 Thread Jürgen Spitzmüller
José Matos wrote:   This is not in the patch, is this already in?   The patch only shows the addition of __FreeBSD_kernel__ test. No, it replaces __FREEBSD__ with __FreeBSD__. I didn't know it is so (and actually I didn't find a reference), but obviously the case matters. José, can this fo

Re: [patch] Bug 3537: lyx-1.5.0beta2 dumps core on freebsd-6.2 when it tries to handle strings of filenames etc.

2007-07-13 Thread José Matos
On Friday 13 July 2007 13:41:20 Jürgen Spitzmüller wrote: The attached patch seems to fix that bug finally, as Koji Yokota confirmed. Actually, I'm not sure defined(__FreeBSD_kernel__) is really needed -- this basically identifies GNU/kFreeBSD (that doesn't have __FreeBSD__ defined). It

[patch] Bug 3537: lyx-1.5.0beta2 dumps core on freebsd-6.2 when it tries to handle strings of filenames etc.

2007-07-13 Thread Jürgen Spitzmüller
The attached patch seems to fix that bug finally, as Koji Yokota confirmed. Actually, I'm not sure defined(__FreeBSD_kernel__) is really needed -- this basically identifies GNU/kFreeBSD (that doesn't have __FreeBSD__ defined). The actual problem apparently was the casing of the macro. José,

Re: [patch] Bug 3537: lyx-1.5.0beta2 dumps core on freebsd-6.2 when it tries to handle strings of filenames etc.

2007-07-13 Thread Jürgen Spitzmüller
José Matos wrote: >   This is not in the patch, is this already in? >   The patch only shows the addition of __FreeBSD_kernel__ test. No, it replaces __FREEBSD__ with __FreeBSD__. I didn't know it is so (and actually I didn't find a reference), but obviously the case matters. > > José, can this

Re: [patch] Bug 3537: lyx-1.5.0beta2 dumps core on freebsd-6.2 when it tries to handle strings of filenames etc.

2007-07-13 Thread José Matos
On Friday 13 July 2007 13:41:20 Jürgen Spitzmüller wrote: > The attached patch seems to fix that bug finally, as Koji Yokota confirmed. > > Actually, I'm not sure defined(__FreeBSD_kernel__) is really needed -- this > basically identifies GNU/kFreeBSD (that doesn't have __FreeBSD__ defined). It

Re: [PATCH] bug 3537: lyx-1.5.0beta2 dumps core on freebsd-6.2 when it tries to handle strings of filenames etc.

2007-06-27 Thread Jean-Marc Lasgouttes
Jean-Marc == Jean-Marc Lasgouttes [EMAIL PROTECTED] writes: Peter == Peter Kümmel [EMAIL PROTECTED] writes: Peter Is it correct that this line remains untouched? Peter #if SIZEOF_WCHAR_T != 4 defined(__GNUC__) Peter defined(__GNUC_MINOR__) __GNUC__ == 3 __GNUC_MINOR__ 4 Jean-Marc No, and

Re: [PATCH] bug 3537: lyx-1.5.0beta2 dumps core on freebsd-6.2 when it tries to handle strings of filenames etc.

2007-06-27 Thread Jean-Marc Lasgouttes
Jean-Marc == Jean-Marc Lasgouttes [EMAIL PROTECTED] writes: [now with the patch!] Peter == Peter Kümmel [EMAIL PROTECTED] writes: Peter Is it correct that this line remains untouched? Peter #if SIZEOF_WCHAR_T != 4 defined(__GNUC__) Peter defined(__GNUC_MINOR__) __GNUC__ == 3

Re: [PATCH] bug 3537: lyx-1.5.0beta2 dumps core on freebsd-6.2 when it tries to handle strings of filenames etc.

2007-06-27 Thread José Matos
On Wednesday 27 June 2007 09:46:38 Jean-Marc Lasgouttes wrote: Jose, do I still have time to commit the following patch? Since I was not sure to get you, and due to my (extremely) busy schedule I will commit this myself and release RC2 as soon as the tests finishes. -- José Abílio

Re: [PATCH] bug 3537: lyx-1.5.0beta2 dumps core on freebsd-6.2 when it tries to handle strings of filenames etc.

2007-06-27 Thread Jean-Marc Lasgouttes
José == José Matos [EMAIL PROTECTED] writes: José On Wednesday 27 June 2007 09:46:38 Jean-Marc Lasgouttes wrote: Jose, do I still have time to commit the following patch? José Since I was not sure to get you, and due to my (extremely) busy José schedule I will commit this myself and release

Re: [PATCH] bug 3537: lyx-1.5.0beta2 dumps core on freebsd-6.2 when it tries to handle strings of filenames etc.

2007-06-27 Thread Jean-Marc Lasgouttes
> "Jean-Marc" == Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: > "Peter" == Peter Kümmel <[EMAIL PROTECTED]> writes: Peter> Is it correct that this line remains untouched? Peter> #if SIZEOF_WCHAR_T != 4 && defined(__GNUC__) && Peter> defined(__GNUC_MINOR__) && __GNUC__ == 3 &&

Re: [PATCH] bug 3537: lyx-1.5.0beta2 dumps core on freebsd-6.2 when it tries to handle strings of filenames etc.

2007-06-27 Thread Jean-Marc Lasgouttes
> "Jean-Marc" == Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: [now with the patch!] > "Peter" == Peter Kümmel <[EMAIL PROTECTED]> writes: Peter> Is it correct that this line remains untouched? Peter> #if SIZEOF_WCHAR_T != 4 && defined(__GNUC__) && Peter> defined(__GNUC_MINOR__) &&

Re: [PATCH] bug 3537: lyx-1.5.0beta2 dumps core on freebsd-6.2 when it tries to handle strings of filenames etc.

2007-06-27 Thread José Matos
On Wednesday 27 June 2007 09:46:38 Jean-Marc Lasgouttes wrote: > Jose, do I still have time to commit the following patch? Since I was not sure to get you, and due to my (extremely) busy schedule I will commit this myself and release RC2 as soon as the tests finishes. -- José Abílio

Re: [PATCH] bug 3537: lyx-1.5.0beta2 dumps core on freebsd-6.2 when it tries to handle strings of filenames etc.

2007-06-27 Thread Jean-Marc Lasgouttes
> "José" == José Matos <[EMAIL PROTECTED]> writes: José> On Wednesday 27 June 2007 09:46:38 Jean-Marc Lasgouttes wrote: >> Jose, do I still have time to commit the following patch? José> Since I was not sure to get you, and due to my (extremely) busy José> schedule I will commit this myself

[PATCH] bug 3537: lyx-1.5.0beta2 dumps core on freebsd-6.2 when it tries to handle strings of filenames etc.

2007-06-26 Thread Jean-Marc Lasgouttes
http://bugzilla.lyx.org/show_bug.cgi?id=3537 This bug comes from the fact that FreeBSD (in it current incarnations at least) does not have proper support for wchar_t. I did not rename LIBC_WCTYPE_USES_UCS4 to something more readable like USE_WCHAR_T. Should I? Koji, does the patch work for

Re: [PATCH] bug 3537: lyx-1.5.0beta2 dumps core on freebsd-6.2 when it tries to handle strings of filenames etc.

2007-06-26 Thread Georg Baum
Am Dienstag, 26. Juni 2007 14:17 schrieb Jean-Marc Lasgouttes: http://bugzilla.lyx.org/show_bug.cgi?id=3537 This bug comes from the fact that FreeBSD (in it current incarnations at least) does not have proper support for wchar_t. I did not rename LIBC_WCTYPE_USES_UCS4 to something more

Re: [PATCH] bug 3537: lyx-1.5.0beta2 dumps core on freebsd-6.2 when it tries to handle strings of filenames etc.

2007-06-26 Thread José Matos
On Tuesday 26 June 2007 14:39:05 Georg Baum wrote: Yes. But I think that a comment should be added in configure.ac why FreeBSD is excluded, probably pointing to the libstdc++ bug report (or the lyx-devel thread). Then it will be easy to check whether the FreeBSD exclusion can be removed or not

Re: [PATCH] bug 3537: lyx-1.5.0beta2 dumps core on freebsd-6.2 when it tries to handle strings of filenames etc.

2007-06-26 Thread Bo Peng
If the patch works, similar changes should be done to cmake and scons. The scons part is easy: Index: development/scons/SConstruct === --- development/scons/SConstruct(revision 18892) +++ development/scons/SConstruct

Re: [PATCH] bug 3537: lyx-1.5.0beta2 dumps core on freebsd-6.2 when it tries to handle strings of filenames etc.

2007-06-26 Thread Jean-Marc Lasgouttes
Georg == Georg Baum [EMAIL PROTECTED] writes: Georg Yes. But I think that a comment should be added in configure.ac Georg why FreeBSD is excluded, probably pointing to the libstdc++ bug Georg report (or the lyx-devel thread). Then it will be easy to check Georg whether the FreeBSD exclusion can

Re: [PATCH] bug 3537: lyx-1.5.0beta2 dumps core on freebsd-6.2 when it tries to handle strings of filenames etc.

2007-06-26 Thread Enrico Forestieri
On Tue, Jun 26, 2007 at 04:47:25PM +0200, Jean-Marc Lasgouttes wrote: +/* + * the FreeBSD libc uses UCS4, but libstdc++ has no proper wchar_t + * support compiled in: + * http://gcc.gnu.org/onlinedocs/libstdc++/faq/index.html#3_9 + * And we are not interested at all what libc + * does: What

Re: [PATCH] bug 3537: lyx-1.5.0beta2 dumps core on freebsd-6.2 when it tries to handle strings of filenames etc.

2007-06-26 Thread Bo Peng
According to http://www.netbsd.org/about/roadmap.html, this is also true for NetBSD, so I would also add !defined(__NetBSD__) there. Are you sure about the name here? Not __NETBSD__? Bo

Re: [PATCH] bug 3537: lyx-1.5.0beta2 dumps core on freebsd-6.2 when it tries to handle strings of filenames etc.

2007-06-26 Thread Peter Kümmel
Bo Peng wrote: According to http://www.netbsd.org/about/roadmap.html, this is also true for NetBSD, so I would also add !defined(__NetBSD__) there. Are you sure about the name here? Not __NETBSD__? Bo Seems he is right: http://predef.sourceforge.net/preos.html#sec23 And the patch.

Re: [PATCH] bug 3537: lyx-1.5.0beta2 dumps core on freebsd-6.2 when it tries to handle strings of filenames etc.

2007-06-26 Thread Peter Kümmel
Peter Kümmel wrote: Bo Peng wrote: According to http://www.netbsd.org/about/roadmap.html, this is also true for NetBSD, so I would also add !defined(__NetBSD__) there. Are you sure about the name here? Not __NETBSD__? Bo Seems he is right: http://predef.sourceforge.net/preos.html#sec23

Re: [PATCH] bug 3537: lyx-1.5.0beta2 dumps core on freebsd-6.2 when it tries to handle strings of filenames etc.

2007-06-26 Thread Bo Peng
Are you sure about the name here? Not __NETBSD__? When I google, I see a lot of defined (__FreeBSD__) || defined (__OpenBSD__) || defined(__OpenBSD__) so I guess we should use these forms. Also, has anyone checked open bsd? Bo

Re: [PATCH] bug 3537: lyx-1.5.0beta2 dumps core on freebsd-6.2 when it tries to handle strings of filenames etc.

2007-06-26 Thread Bo Peng
On 6/26/07, Bo Peng [EMAIL PROTECTED] wrote: Are you sure about the name here? Not __NETBSD__? When I google, I see a lot of defined (__FreeBSD__) || defined (__OpenBSD__) || defined(__OpenBSD__) Of course I meant FreeBSD, OpenBSD and NetBSD. Bo

Re: [PATCH] bug 3537: lyx-1.5.0beta2 dumps core on freebsd-6.2 when it tries to handle strings of filenames etc.

2007-06-26 Thread Jean-Marc Lasgouttes
Peter == Peter Kümmel [EMAIL PROTECTED] writes: Peter Is it correct that this line remains untouched? Peter #if SIZEOF_WCHAR_T != 4 defined(__GNUC__) Peter defined(__GNUC_MINOR__) __GNUC__ == 3 __GNUC_MINOR__ 4 No, and I do not know how I missed it. I think it should be #if !

Re: [PATCH] bug 3537: lyx-1.5.0beta2 dumps core on freebsd-6.2 when it tries to handle strings of filenames etc.

2007-06-26 Thread Enrico Forestieri
On Tue, Jun 26, 2007 at 02:19:47PM -0500, Bo Peng wrote: On 6/26/07, Bo Peng [EMAIL PROTECTED] wrote: Are you sure about the name here? Not __NETBSD__? When I google, I see a lot of defined (__FreeBSD__) || defined (__OpenBSD__) || defined(__OpenBSD__) Of course I meant

[PATCH] bug 3537: lyx-1.5.0beta2 dumps core on freebsd-6.2 when it tries to handle strings of filenames etc.

2007-06-26 Thread Jean-Marc Lasgouttes
http://bugzilla.lyx.org/show_bug.cgi?id=3537 This bug comes from the fact that FreeBSD (in it current incarnations at least) does not have proper support for wchar_t. I did not rename LIBC_WCTYPE_USES_UCS4 to something more readable like USE_WCHAR_T. Should I? Koji, does the patch work for

Re: [PATCH] bug 3537: lyx-1.5.0beta2 dumps core on freebsd-6.2 when it tries to handle strings of filenames etc.

2007-06-26 Thread Georg Baum
Am Dienstag, 26. Juni 2007 14:17 schrieb Jean-Marc Lasgouttes: > > http://bugzilla.lyx.org/show_bug.cgi?id=3537 > > This bug comes from the fact that FreeBSD (in it current incarnations > at least) does not have proper support for wchar_t. > > I did not rename LIBC_WCTYPE_USES_UCS4 to something

Re: [PATCH] bug 3537: lyx-1.5.0beta2 dumps core on freebsd-6.2 when it tries to handle strings of filenames etc.

2007-06-26 Thread José Matos
On Tuesday 26 June 2007 14:39:05 Georg Baum wrote: > Yes. But I think that a comment should be added in configure.ac why FreeBSD > is excluded, probably pointing to the libstdc++ bug report (or the > lyx-devel thread). Then it will be easy to check whether the FreeBSD > exclusion can be removed or

Re: [PATCH] bug 3537: lyx-1.5.0beta2 dumps core on freebsd-6.2 when it tries to handle strings of filenames etc.

2007-06-26 Thread Bo Peng
If the patch works, similar changes should be done to cmake and scons. The scons part is easy: Index: development/scons/SConstruct === --- development/scons/SConstruct(revision 18892) +++ development/scons/SConstruct

Re: [PATCH] bug 3537: lyx-1.5.0beta2 dumps core on freebsd-6.2 when it tries to handle strings of filenames etc.

2007-06-26 Thread Jean-Marc Lasgouttes
> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: Georg> Yes. But I think that a comment should be added in configure.ac Georg> why FreeBSD is excluded, probably pointing to the libstdc++ bug Georg> report (or the lyx-devel thread). Then it will be easy to check Georg> whether the FreeBSD

Re: [PATCH] bug 3537: lyx-1.5.0beta2 dumps core on freebsd-6.2 when it tries to handle strings of filenames etc.

2007-06-26 Thread Enrico Forestieri
On Tue, Jun 26, 2007 at 04:47:25PM +0200, Jean-Marc Lasgouttes wrote: > +/* > + * the FreeBSD libc uses UCS4, but libstdc++ has no proper wchar_t > + * support compiled in: > + * http://gcc.gnu.org/onlinedocs/libstdc++/faq/index.html#3_9 > + * And we are not interested at all what libc > + *

Re: [PATCH] bug 3537: lyx-1.5.0beta2 dumps core on freebsd-6.2 when it tries to handle strings of filenames etc.

2007-06-26 Thread Bo Peng
According to http://www.netbsd.org/about/roadmap.html, this is also true for NetBSD, so I would also add "&& !defined(__NetBSD__)" there. Are you sure about the name here? Not __NETBSD__? Bo

Re: [PATCH] bug 3537: lyx-1.5.0beta2 dumps core on freebsd-6.2 when it tries to handle strings of filenames etc.

2007-06-26 Thread Peter Kümmel
Bo Peng wrote: >> According to http://www.netbsd.org/about/roadmap.html, this is also >> true for NetBSD, so I would also add "&& !defined(__NetBSD__)" there. > > Are you sure about the name here? Not __NETBSD__? > > Bo > Seems he is right: http://predef.sourceforge.net/preos.html#sec23 And

Re: [PATCH] bug 3537: lyx-1.5.0beta2 dumps core on freebsd-6.2 when it tries to handle strings of filenames etc.

2007-06-26 Thread Peter Kümmel
Peter Kümmel wrote: > Bo Peng wrote: >>> According to http://www.netbsd.org/about/roadmap.html, this is also >>> true for NetBSD, so I would also add "&& !defined(__NetBSD__)" there. >> Are you sure about the name here? Not __NETBSD__? >> >> Bo >> > > Seems he is right: >

Re: [PATCH] bug 3537: lyx-1.5.0beta2 dumps core on freebsd-6.2 when it tries to handle strings of filenames etc.

2007-06-26 Thread Bo Peng
> Are you sure about the name here? Not __NETBSD__? > When I google, I see a lot of defined (__FreeBSD__) || defined (__OpenBSD__) || defined(__OpenBSD__) so I guess we should use these forms. Also, has anyone checked open bsd? Bo

Re: [PATCH] bug 3537: lyx-1.5.0beta2 dumps core on freebsd-6.2 when it tries to handle strings of filenames etc.

2007-06-26 Thread Bo Peng
On 6/26/07, Bo Peng <[EMAIL PROTECTED]> wrote: > > Are you sure about the name here? Not __NETBSD__? > > When I google, I see a lot of defined (__FreeBSD__) || defined (__OpenBSD__) || defined(__OpenBSD__) Of course I meant FreeBSD, OpenBSD and NetBSD. Bo

Re: [PATCH] bug 3537: lyx-1.5.0beta2 dumps core on freebsd-6.2 when it tries to handle strings of filenames etc.

2007-06-26 Thread Jean-Marc Lasgouttes
> "Peter" == Peter Kümmel <[EMAIL PROTECTED]> writes: Peter> Is it correct that this line remains untouched? Peter> #if SIZEOF_WCHAR_T != 4 && defined(__GNUC__) && Peter> defined(__GNUC_MINOR__) && __GNUC__ == 3 && __GNUC_MINOR__ < 4 No, and I do not know how I missed it. I think it should

Re: [PATCH] bug 3537: lyx-1.5.0beta2 dumps core on freebsd-6.2 when it tries to handle strings of filenames etc.

2007-06-26 Thread Enrico Forestieri
On Tue, Jun 26, 2007 at 02:19:47PM -0500, Bo Peng wrote: > On 6/26/07, Bo Peng <[EMAIL PROTECTED]> wrote: > > > > Are you sure about the name here? Not __NETBSD__? > > > > > > > > When I google, I see a lot of > > > > defined (__FreeBSD__) || defined (__OpenBSD__) || defined(__OpenBSD__) > > Of