Mercurial > octave
comparison libinterp/corefcn/oct-procbuf.cc @ 28223:45763d59cb4f stable
use nullptr instead of NULL or 0 in a few more places
* QWinTerminalImpl.cpp, oct-procbuf.cc, audioread.cc, jit-typeinfo.cc,
lo-sysdep.cc, url-transfer.cc, shared-fcns.h: Replace NULL and 0 with
nullptr where appropriate.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 15 Apr 2020 15:55:32 -0400 |
parents | bd51beb6205e |
children | 0a5b15007766 |
comparison
equal
deleted
inserted
replaced
28220:6cccc3c82175 | 28223:45763d59cb4f |
---|---|
91 proc_pid = 1; | 91 proc_pid = 1; |
92 | 92 |
93 open_p = true; | 93 open_p = true; |
94 | 94 |
95 if (mode & std::ios::out) | 95 if (mode & std::ios::out) |
96 ::setvbuf (f, 0, _IOLBF, BUFSIZ); | 96 ::setvbuf (f, nullptr, _IOLBF, BUFSIZ); |
97 | 97 |
98 return this; | 98 return this; |
99 | 99 |
100 #elif defined (HAVE_UNISTD_H) | 100 #elif defined (HAVE_UNISTD_H) |
101 | 101 |