import gdb-1999-11-08 snapshot
[deliverable/binutils-gdb.git] / gdb / rdi-share / devsw.c
index 51ac29e9c982cf3afefac83f010dbca3ae968f72..b48c337ccf026b7a6de863e635fabce52aad00c5 100644 (file)
@@ -47,7 +47,9 @@ static void openLogFile ()
       perror ("fopen");
     }
   else
-    setlinebuf (angelDebugLogFile);
+    /* The following line is equivalent to: */
+    /* setlinebuf (angelDebugLogFile); */
+    setvbuf(angelDebugLogFile, (char *)NULL, _IOLBF, 0);
   
   time (&t);
   fprintf (angelDebugLogFile,"ADP log file opened at %s\n",asctime(localtime(&t)));
This page took 0.024752 seconds and 4 git commands to generate.