Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revisited login. #10

Merged
merged 1 commit into from Jul 27, 2017
Merged

Conversation

goyox86
Copy link
Contributor

@goyox86 goyox86 commented Jul 23, 2017

  • Added constants for standard file paths.
  • Improved error reporting when opening the files.
  • Improved error reporting when parsing the files.
  • Used Passwd::parse_file instead of doing it manually.
  • Removed all the calls to unwrap() by using try().
  • Used fail to report errors and exit when possible.

@goyox86 goyox86 changed the title Some improvements to login login revisited. Jul 26, 2017
@goyox86 goyox86 changed the title login revisited. Revisited login. Jul 26, 2017
@goyox86 goyox86 force-pushed the goyox86/login-improvements branch from d9d828f to d3616d2 Compare July 26, 2017 20:27
- Added constants for standard file paths.
- Improved error reporting when opening the files.
- Used `Passwd::parse_file` instead of doing it manually.
- Removed all the calls to unwrap().
- Used `fail` to report errors and exit when possible.
@goyox86 goyox86 force-pushed the goyox86/login-improvements branch from d3616d2 to 1aa558e Compare July 26, 2017 20:37
@jackpot51
Copy link
Member

Cool!

@jackpot51 jackpot51 merged commit c05f37f into redox-os:master Jul 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants