##// END OF EJS Templates
statfs: rename pygetfstype to getfstype...
Yuya Nishihara -
r31677:58d4622b default
parent child Browse files
Show More
@@ -1095,7 +1095,7 b' static const char *describefstype(const '
1095
1095
1096 #if defined(HAVE_BSD_STATFS) || defined(HAVE_LINUX_STATFS)
1096 #if defined(HAVE_BSD_STATFS) || defined(HAVE_LINUX_STATFS)
1097 /* given a directory path, return filesystem type name (best-effort) */
1097 /* given a directory path, return filesystem type name (best-effort) */
1098 static PyObject *pygetfstype(PyObject *self, PyObject *args)
1098 static PyObject *getfstype(PyObject *self, PyObject *args)
1099 {
1099 {
1100 const char *path = NULL;
1100 const char *path = NULL;
1101 struct statfs buf;
1101 struct statfs buf;
@@ -1288,7 +1288,7 b' static PyMethodDef methods[] = {'
1288 "set process title (best-effort)\n"},
1288 "set process title (best-effort)\n"},
1289 #endif
1289 #endif
1290 #if defined(HAVE_BSD_STATFS) || defined(HAVE_LINUX_STATFS)
1290 #if defined(HAVE_BSD_STATFS) || defined(HAVE_LINUX_STATFS)
1291 {"getfstype", (PyCFunction)pygetfstype, METH_VARARGS,
1291 {"getfstype", (PyCFunction)getfstype, METH_VARARGS,
1292 "get filesystem type (best-effort)\n"},
1292 "get filesystem type (best-effort)\n"},
1293 #endif
1293 #endif
1294 #endif /* ndef _WIN32 */
1294 #endif /* ndef _WIN32 */
General Comments 0
You need to be logged in to leave comments. Login now