Linux stuff
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@951 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
6f4e3da2c6
commit
012ba99b0c
12 changed files with 217 additions and 39 deletions
|
|
@ -155,7 +155,14 @@ static void handler(int signo, WadFrame *frame, char *ret) {
|
|||
if (f->line_number > 0) {
|
||||
sprintf(temp,", line %d", f->line_number);
|
||||
strcat(message,temp);
|
||||
fline = f;
|
||||
{
|
||||
int fd;
|
||||
fd = open(SRCFILE(f), O_RDONLY);
|
||||
if (fd > 0) {
|
||||
fline = f;
|
||||
}
|
||||
close(fd);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if (strlen(fd+f->obj_off)) {
|
||||
|
|
@ -251,3 +258,5 @@ extern "C"
|
|||
void initlibwadpy() {
|
||||
Py_InitModule((char *)"libwadpy",wadmethods);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue