diff options
Diffstat (limited to 'libXaw/src')
-rw-r--r-- | libXaw/src/AsciiSrc.c | 2 | ||||
-rw-r--r-- | libXaw/src/MultiSrc.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libXaw/src/AsciiSrc.c b/libXaw/src/AsciiSrc.c index a37b6a1ff..bf2c42bc3 100644 --- a/libXaw/src/AsciiSrc.c +++ b/libXaw/src/AsciiSrc.c @@ -1486,7 +1486,7 @@ InitStringOrFile(AsciiSrcObject src, Bool newString) if (!src->ascii_src.is_tempfile) { if ((fd = open(src->ascii_src.string, open_mode, 0666)) != -1) { - if ((file = fdopen(fd, fdopen_mode))) { + if ((file = _fdopen(fd, fdopen_mode))) { (void)fseek(file, 0, SEEK_END); src->ascii_src.length = (XawTextPosition)ftell(file); return (file); diff --git a/libXaw/src/MultiSrc.c b/libXaw/src/MultiSrc.c index efa08b081..712b7e068 100644 --- a/libXaw/src/MultiSrc.c +++ b/libXaw/src/MultiSrc.c @@ -1258,7 +1258,7 @@ InitStringOrFile(MultiSrcObject src, Bool newString) if (!src->multi_src.is_tempfile) { if ((fd = open((char *)src->multi_src.string, open_mode, 0666)) != -1) { - if ((file = fdopen(fd, fdopen_mode)) != NULL) { + if ((file = _fdopen(fd, fdopen_mode)) != NULL) { (void)fseek(file, 0, SEEK_END); src->multi_src.length = (XawTextPosition)ftell(file); return(file); |