mercurial/osutil.c
branchstable
changeset 23961 bc851e2851b1
parent 18027 4ca434500dbf
child 23962 1f3b94e8dc40
equal deleted inserted replaced
23960:bca4b6f126f2 23961:bc851e2851b1
   317 	dir = opendir(path);
   317 	dir = opendir(path);
   318 #endif
   318 #endif
   319 	if (!dir) {
   319 	if (!dir) {
   320 		PyErr_SetFromErrnoWithFilename(PyExc_OSError, path);
   320 		PyErr_SetFromErrnoWithFilename(PyExc_OSError, path);
   321 		goto error_dir;
   321 		goto error_dir;
   322  	}
   322 	}
   323 
   323 
   324 	list = PyList_New(0);
   324 	list = PyList_New(0);
   325 	if (!list)
   325 	if (!list)
   326 		goto error_list;
   326 		goto error_list;
   327 
   327