env-generic.cpp revision 46fee3dbfe26f500824ef463ac239b6cb5d09522