QFileSystemEngine: fix realpath() buffer size
authorRafael Roquetto <rafael.roquetto.qnx@kdab.com>
Tue, 11 Sep 2012 12:58:32 +0000 (09:58 -0300)
committerQt by Nokia <qt-info@nokia.com>
Tue, 11 Sep 2012 15:40:37 +0000 (17:40 +0200)
commitf3707a5a0c4483b15e7bb2ba9f0e7d1913a713ee
treeefd8874ca9f3cb431898a9ad0349087886c33af6
parent6e8e1da0a8267d2f8f568403e6ab9fe53b01cd29
QFileSystemEngine: fix realpath() buffer size

realpath() returns at most PATH_MAX _plus_ the terminator.

Change-Id: I4c2e3e166a5f476863ad8c6999800e6468535dbe
Reviewed-by: Qt Doc Bot <qt_docbot@qt-project.org>
Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
src/corelib/io/qfilesystemengine_unix.cpp