summaryrefslogtreecommitdiff
path: root/xc/lib/Xaw/AsciiSrc.c
diff options
context:
space:
mode:
authordawes <dawes>2001-03-19 17:45:15 +0000
committerdawes <dawes>2001-03-19 17:45:15 +0000
commit7bf7bda7738b2029bc71015f9ea08304c15e7240 (patch)
tree95c06cadb9f7fdb6d456eafb2cb015653c617724 /xc/lib/Xaw/AsciiSrc.c
parent856c96701fa6c514447af12b4b881f762e59767c (diff)
Import of XFree86 4.0.99.1X_4_0_99_1
Diffstat (limited to 'xc/lib/Xaw/AsciiSrc.c')
-rw-r--r--xc/lib/Xaw/AsciiSrc.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/xc/lib/Xaw/AsciiSrc.c b/xc/lib/Xaw/AsciiSrc.c
index 097d0555f..674d41989 100644
--- a/xc/lib/Xaw/AsciiSrc.c
+++ b/xc/lib/Xaw/AsciiSrc.c
@@ -1,4 +1,4 @@
-/* $TOG: AsciiSrc.c /main/69 1998/05/14 14:55:34 kaleb $ */
+/* $Xorg: AsciiSrc.c,v 1.3 2000/08/17 19:45:30 cpqbld Exp $ */
/*
@@ -22,7 +22,7 @@ in this Software without prior written authorization from The Open Group.
*/
-/* $XFree86: xc/lib/Xaw/AsciiSrc.c,v 1.25 2000/11/28 17:25:09 dawes Exp $ */
+/* $XFree86: xc/lib/Xaw/AsciiSrc.c,v 1.27 2001/01/26 22:35:23 herrb Exp $ */
/*
* AsciiSrc.c - AsciiSrc object. (For use with the text widget).
@@ -1456,7 +1456,7 @@ InitStringOrFile(AsciiSrcObject src, Bool newString)
open_mode = O_WRONLY | O_CREAT | O_EXCL;
fdopen_mode = "w";
}
- else
+ else {
/* O_NOFOLLOW is a FreeBSD & Linux extension */
#ifdef O_NOFOLLOW
open_mode = O_RDWR | O_NOFOLLOW;
@@ -1464,6 +1464,7 @@ InitStringOrFile(AsciiSrcObject src, Bool newString)
open_mode = O_RDWR; /* unsafe; subject to race conditions */
#endif /* O_NOFOLLOW */
fdopen_mode = "r+";
+ }
break;
default:
XtErrorMsg("badMode", "asciiSourceCreate", "XawError",