zhengzheng / psutil

Automatically exported from code.google.com/p/psutil
Other
0 stars 0 forks source link

File /etc/mnttab is never closed. #288

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

This is for sunos branch.

What steps will reproduce the problem?

In file 'branches/sunos/psutil/_psutil_sunos.c' in function
'get_disk_partitions' file /etc/mnttab is opened but it is
never closed. 

Original issue reported on code.google.com by jakub.la...@gmail.com on 25 Jun 2012 at 8:27

GoogleCodeExporter commented 9 years ago
Yes that's still a work in progress and I'm sure it's not the only thing which 
needs to be fixed.
Merging into issue 18 for now and thanks for reporting btw.

Original comment by g.rodola on 25 Jun 2012 at 10:47