aboutsummaryrefslogtreecommitdiff
path: root/toys/android/getprop.c
AgeCommit message (Collapse)Author
2015-05-03Fix getprop sorting and error reporting.Elliott Hughes
Use qstrcmp instead of alphasort (which expects struct dirent arguments). Don't use perror_exit because property_list doesn't set errno.
2015-04-20Switch setprop to use TOYBOX_ON_ANDROID and fix getprop include.Rob Landley
(I commented out the android-only #include in getprop to do what compile testing I could, and then forgot to uncomment it.)
2015-04-19Cleanup getprop, add qstrcmp() to lib for qsort (because posix-2008 brokeRob Landley
alphasort), add compile-time probe for config symbol TOYBOX_ON_ANDROID.
2015-04-18Android getprop and setprop from Elliott Hughes.Rob Landley