[Python-bugs-list] [ python-Bugs-407680 ] obmalloc.c - looks like it's corrupted

nobody nobody@sourceforge.net
Sun, 11 Mar 2001 10:27:20 -0800


Bugs #407680, was updated on 2001-03-11 07:18
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=407680&group_id=5470

Category: Python Interpreter Core
Group: None
Status: Open
Priority: 5
Submitted By: Uwe Zessin
Assigned to: Nobody/Anonymous
Summary: obmalloc.c - looks like it's corrupted

Initial Comment:
It cannot be compiled on OpenVMS with DEC C compiler.
Here is an extract from the file:

/*
 * This malloc lock
 */
SIMPLELOCK_DECL(__malloc_lock);
#define LOCK()         SIMPLELOCK_LOCK(__malloc_lock)
#define UNLOCK()       SIMPLELOCK_UNLOCK(__malloc_lock)


----------------------------------------------------------------------

Comment By: Tim Peters
Date: 2001-03-11 10:27

Message:
Logged In: YES 
user_id=31435

So what (exactly) happens when you try to compile it?

I see nothing strange in the extract you posted (it's 
invoking the do-nothing SIMPLELOCK_DECL macro, defined 
earlier on line 258, then defining two other macros).

Vladimir probably should not have used a name starting with 
two underscores, though (names starting with an underscore 
and followed by either an uppercase letter or another 
underscore are reserved for use by the C implementation).  
Is *that* the problem here?


----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=407680&group_id=5470