Illegal hardware instruction on mac os was fixed, but the package function is still not working
This commit is contained in:
parent
9529c493c5
commit
e1afaa3b99
1 changed files with 3 additions and 2 deletions
|
@ -262,8 +262,9 @@ int pkgman()
|
||||||
sprintf(spkg_count, "%d", pkg_count);
|
sprintf(spkg_count, "%d", pkg_count);
|
||||||
strcat(pkgman_name, spkg_count);
|
strcat(pkgman_name, spkg_count);
|
||||||
strcat(pkgman_name, " ");
|
strcat(pkgman_name, " ");
|
||||||
|
#ifndef __APPLE__
|
||||||
strcat(pkgman_name, current->pkgman_name);
|
strcat(pkgman_name, current->pkgman_name); // this is the line that breaks mac os, but something strange happens before
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return total;
|
return total;
|
||||||
|
|
Loading…
Reference in a new issue