mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
* Source/NSObject.m ([NSObject +initialize]): fixed a FreeBSD specific
code bug introduced by the call of GSSetLocaleC(). git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@9761 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
1d815f08b3
commit
74bc9102af
2 changed files with 11 additions and 4 deletions
|
@ -1,3 +1,8 @@
|
|||
2001-05-02 Mirko Viviani <mirko.viviani@rccr.cremona.it>
|
||||
|
||||
* Source/NSObject.m ([NSObject +initialize]): fixed a FreeBSD specific
|
||||
code bug introduced by the call of GSSetLocaleC().
|
||||
|
||||
Wed May 2 13:19:13 2001 Nicola Pero <nicola@brainstorm.co.uk>
|
||||
|
||||
* Source/UnixFileHandle.m (id): Redefine `id' when including
|
||||
|
|
|
@ -585,11 +585,13 @@ static BOOL double_release_check_enabled = NO;
|
|||
// Manipulate the FPU to add the exception mask. (Fixes SIGFPE
|
||||
// problems on *BSD)
|
||||
|
||||
volatile short cw;
|
||||
{
|
||||
volatile short cw;
|
||||
|
||||
__asm__ volatile ("fstcw (%0)" : : "g" (&cw));
|
||||
cw |= 1; /* Mask 'invalid' exception */
|
||||
__asm__ volatile ("fldcw (%0)" : : "g" (&cw));
|
||||
__asm__ volatile ("fstcw (%0)" : : "g" (&cw));
|
||||
cw |= 1; /* Mask 'invalid' exception */
|
||||
__asm__ volatile ("fldcw (%0)" : : "g" (&cw));
|
||||
}
|
||||
#endif
|
||||
|
||||
// Create the global lock
|
||||
|
|
Loading…
Reference in a new issue