mercurial/cext/osutil.c
changeset 39610 11ed2eadf937
parent 36780 f3c314020beb
child 42069 668eff08387f
equal deleted inserted replaced
39609:c06c585f166b 39610:11ed2eadf937
  1215 	int bufsize = -1;
  1215 	int bufsize = -1;
  1216 	char m0, m1, m2;
  1216 	char m0, m1, m2;
  1217 	char fpmode[4];
  1217 	char fpmode[4];
  1218 	int fppos = 0;
  1218 	int fppos = 0;
  1219 	int plus;
  1219 	int plus;
       
  1220 #ifndef IS_PY3K
  1220 	FILE *fp;
  1221 	FILE *fp;
       
  1222 #endif
  1221 
  1223 
  1222 	if (!PyArg_ParseTupleAndKeywords(args, kwds, PY23("et|si:posixfile",
  1224 	if (!PyArg_ParseTupleAndKeywords(args, kwds, PY23("et|si:posixfile",
  1223 							  "et|yi:posixfile"),
  1225 							  "et|yi:posixfile"),
  1224 					 kwlist,
  1226 					 kwlist,
  1225 					 Py_FileSystemDefaultEncoding,
  1227 					 Py_FileSystemDefaultEncoding,