OSDN Git Service

logname and whoami are the same as id -un, so merge them.
authorIsaac Dunham <ibid.ag@gmail.com>
Sun, 25 May 2014 16:46:58 +0000 (11:46 -0500)
committerIsaac Dunham <ibid.ag@gmail.com>
Sun, 25 May 2014 16:46:58 +0000 (11:46 -0500)
commit80a438dd35782db8d3e0bca81ca78dea128f9c37
tree7f3e32e05a02d0103292b976f5b6dc2f00174d10
parent67ba22986d84b8d793d9bb39d6d7545204924124
logname and whoami are the same as id -un, so merge them.

Since the starting letters are greater than those for 'id' or 'groups',
we cn just check if the first letter is greater than 'i'.
toys/other/whoami.c [deleted file]
toys/posix/id.c
toys/posix/logname.c [deleted file]