Major cleanup
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@1069 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
1da7189dba
commit
f69fbeb667
2 changed files with 3 additions and 3 deletions
|
|
@ -106,7 +106,7 @@ File_tell(DOH *fo) {
|
|||
return ftell(f->filep);
|
||||
} else if (f->fd) {
|
||||
#ifdef DOH_INTFILE
|
||||
return tell(f->fd);
|
||||
return lseek(f->fd, 0, SEEK_CUR);
|
||||
#endif
|
||||
}
|
||||
return -1;
|
||||
|
|
|
|||
|
|
@ -470,10 +470,10 @@ DohSplit(DOH *in, char *chs, int nsplits) {
|
|||
int c;
|
||||
|
||||
list = NewList();
|
||||
/* if (String_check(in)) {
|
||||
|
||||
if (DohIsString(in)) {
|
||||
Seek(in,0,SEEK_SET);
|
||||
}
|
||||
*/
|
||||
|
||||
while (1) {
|
||||
str = NewString("");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue