summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorPino Toscano <toscano.pino@tiscali.it>2015-03-24 20:17:17 +0100
committerPino Toscano <toscano.pino@tiscali.it>2015-04-02 08:37:21 +0000
commitda8c3e580764c0aadc911e26c830970be7233be0 (patch)
tree0ff7c0ea4017360316726980b3dc97ff2d528d52 /examples
parent0e6ee136c91432d4ceeeda64e5a5fa88231398d4 (diff)
Hurd: Implement QStorageInfo for Hurd
Make use of the Linux implementation for Hurd as well, as the mntent API is available there too (including getmntent_r, specific to GNU libc). Since PATH_MAX is not available on Hurd, and the current bufferSize is a lot more larger than it is needed, restrict bufferSize to 1024 bytes, which should be enough to cover 3 paths in mtab and it is usually used also in other projects. Change-Id: Ied43be2ab1eb95b48eb9f55a92064e7549efaefd Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions