Illegal hardware instruction on mac os was fixed, but the package function is still not working

This commit is contained in:
Adriano Oliviero 2021-05-03 03:59:38 -07:00
parent 9529c493c5
commit e1afaa3b99

View file

@ -262,8 +262,9 @@ int pkgman()
sprintf(spkg_count, "%d", pkg_count);
strcat(pkgman_name, spkg_count);
strcat(pkgman_name, " ");
strcat(pkgman_name, current->pkgman_name);
#ifndef __APPLE__
strcat(pkgman_name, current->pkgman_name); // this is the line that breaks mac os, but something strange happens before
#endif
}
}
return total;