RATIONALE: Giving itraconazole or fluconazole may be effective in preventing infections in patients undergoing peripheral stem cell or bone marrow transplantation. It is not yet known whether itraconazole is more effective than fluconazole for preventing infections.