Searched refs:tmp_menu (Results 1 – 1 of 1) sorted by relevance
701 char *tmp_menu = NULL; in be_remove_menu() local790 if ((tmp_menu = (char *)malloc(tmp_menu_len)) == NULL) { in be_remove_menu()795 (void) memset(tmp_menu, 0, tmp_menu_len); in be_remove_menu()796 (void) strlcpy(tmp_menu, menu, tmp_menu_len); in be_remove_menu()797 (void) strlcat(tmp_menu, "XXXXXX", tmp_menu_len); in be_remove_menu()798 if ((fd = mkstemp(tmp_menu)) == -1) { in be_remove_menu()802 free(tmp_menu); in be_remove_menu()803 tmp_menu = NULL; in be_remove_menu()972 if (rename(tmp_menu, menu) != 0) { in be_remove_menu()976 tmp_menu, menu, strerror(err)); in be_remove_menu()[all …]