> On Dec. 2, 2016, 7:29 p.m., Kevin Klues wrote: > > 3rdparty/stout/include/stout/posix/os.hpp, line 480 > > <https://reviews.apache.org/r/54291/diff/1/?file=1574565#file1574565line480> > > > > If I recall, there was a reason we usually only declare static > > pointers (and leak memory) instead of statically declaring actual objects, > > but I don't remember of the top of my head. Joris explained it to me once.
yeah, to avoid global non-POD data. I'll add a TODO to use ptsname_r for linux. - Jie ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/54291/#review157800 ----------------------------------------------------------- On Dec. 2, 2016, 6:29 p.m., Jie Yu wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/54291/ > ----------------------------------------------------------- > > (Updated Dec. 2, 2016, 6:29 p.m.) > > > Review request for mesos, Benjamin Hindman and Kevin Klues. > > > Bugs: MESOS-6470 > https://issues.apache.org/jira/browse/MESOS-6470 > > > Repository: mesos > > > Description > ------- > > Added os::ptsname to stout. > > > Diffs > ----- > > 3rdparty/stout/include/stout/posix/os.hpp > c37e64db662ba3cee83d2f55de0f9d71ad72c038 > > Diff: https://reviews.apache.org/r/54291/diff/ > > > Testing > ------- > > make check > > > Thanks, > > Jie Yu > >
