[Toybox] patch: make login use the shared read_passwd function

Elie De Brauwer eliedebrauwer at gmail.com
Thu Jul 19 23:47:11 PDT 2012


All,

In attach a patch which make the entire things actually smaller ;), 
login.c used a function to read a password which was virtually identical 
to a more globally defined function in lib/password.c, so I removed the 
one in login.c and made use of the function defined elsewhere.

Some comments not in this patch here, but these a trivial whitespace fixes.
- lib/password.c needs a spaces to tab fix.
- lib/password.c has a wrong filename in the header comment.
- lib/passwd.c also needs a spaces to tab fix.

gr
E.
-- 
Elie De Brauwer

-------------- next part --------------
A non-text attachment was scrubbed...
Name: login_read_passwd.patch
Type: text/x-patch
Size: 1397 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20120720/41bb1d26/attachment-0006.bin>


More information about the Toybox mailing list