]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
libtextstyle: Small fix for last commit.
authorBruno Haible <bruno@clisp.org>
Wed, 27 Mar 2019 20:38:02 +0000 (21:38 +0100)
committerBruno Haible <bruno@clisp.org>
Wed, 27 Mar 2019 20:38:02 +0000 (21:38 +0100)
* gnulib-local/lib/term-ostream.oo.c (struct term_ostream): Mark fd volatile.

gnulib-local/lib/term-ostream.oo.c

index 86410bdb84c114cdbba30e14edf916eacba6aaf4..3e8700d0683342ded8b92687506c75c5bb1b58fe 100644 (file)
@@ -976,7 +976,7 @@ fields:
   /* The file descriptor used for output.  Note that ncurses termcap emulation
      uses the baud rate information from file descriptor 1 (stdout) if it is
      a tty, or from file descriptor 2 (stderr) otherwise.  */
-  int fd;
+  int volatile fd;
   char *filename;
   /* Values from the terminal type's terminfo/termcap description.
      See terminfo(5) for details.  */