| Age | Commit message (Collapse) | Author | 
|---|
|  | Signed-off-by: Leah Rowe <leah@libreboot.org> | 
|  | Signed-off-by: Leah Rowe <leah@libreboot.org> | 
|  | Signed-off-by: Leah Rowe <leah@libreboot.org> | 
|  | Signed-off-by: Leah Rowe <leah@libreboot.org> | 
|  | Signed-off-by: Leah Rowe <leah@libreboot.org> | 
|  | Signed-off-by: Leah Rowe <leah@libreboot.org> | 
|  | this way, it will only be deleted after the
new git clone and patching worked successfully
Signed-off-by: Leah Rowe <leah@libreboot.org> | 
|  | Signed-off-by: Leah Rowe <leah@libreboot.org> | 
|  | Signed-off-by: Leah Rowe <leah@libreboot.org> | 
|  | Signed-off-by: Leah Rowe <leah@libreboot.org> | 
|  |  | 
|  | main() on top
top-down logic
Signed-off-by: Leah Rowe <leah@libreboot.org> | 
|  | Signed-off-by: Leah Rowe <leah@libreboot.org> | 
|  | Signed-off-by: Leah Rowe <leah@libreboot.org> | 
|  | main() on top
top-down logic
reduced indentation
Signed-off-by: Leah Rowe <leah@libreboot.org> | 
|  | main() on top
top-down logic
reduced indentation
Signed-off-by: Leah Rowe <leah@libreboot.org> | 
|  | Signed-off-by: Leah Rowe <leah@libreboot.org> | 
|  | Signed-off-by: Leah Rowe <leah@libreboot.org> | 
|  | reduced indentation
main() on top
top-down logic
Signed-off-by: Leah Rowe <leah@libreboot.org> | 
|  | Signed-off-by: Leah Rowe <leah@libreboot.org> | 
|  | Signed-off-by: Leah Rowe <leah@libreboot.org> | 
|  | Signed-off-by: Leah Rowe <leah@libreboot.org> | 
|  | Signed-off-by: Leah Rowe <leah@libreboot.org> | 
|  | Signed-off-by: Leah Rowe <leah@libreboot.org> | 
|  | Signed-off-by: Leah Rowe <leah@libreboot.org> | 
|  |  | 
|  | main() on top
top-down order of logic
Signed-off-by: Leah Rowe <leah@libreboot.org> | 
|  | Signed-off-by: Leah Rowe <leah@libreboot.org> | 
|  | Run() is called, but without argument.
This patch fixes that.
Signed-off-by: Leah Rowe <leah@libreboot.org> | 
|  | Signed-off-by: Leah Rowe <leah@libreboot.org> | 
|  | Signed-off-by: Leah Rowe <leah@libreboot.org> | 
|  | the "placeholder" git credentials were not being
wiped, which sometimes overwrites the user's git
credentials permanently, when working on lbmk
(permanently, until manually reset by the user)
Signed-off-by: Leah Rowe <leah@libreboot.org> | 
|  | introduce main()
cleaned up the if/else block
Signed-off-by: Leah Rowe <leah@libreboot.org> | 
|  | It will only be used on OpenBSD. Other operating
systems will behave in the same way.
Pledge is feature specific to OpenBSD that
restricts system operations, for security:
https://man.openbsd.org/pledge.2
Signed-off-by: Leah Rowe <leah@libreboot.org> | 
|  | printf outputs to stdout, which is line buffered
by default.
Adding a -u option to disable buffering.
Exit when a non-support flag is given, but adhere
to current behaviour when no flag is given.
Signed-off-by: Leah Rowe <leah@libreboot.org> | 
|  | They do not need to be initialised zero, because
global variables are always zero by default,
unless set differently by the programmer.
Signed-off-by: Leah Rowe <leah@libreboot.org> | 
|  | Signed-off-by: Leah Rowe <leah@libreboot.org> | 
|  | Signed-off-by: Leah Rowe <leah@libreboot.org> | 
|  | It is only used by a single function.
Signed-off-by: Leah Rowe <leah@libreboot.org> | 
|  | Signed-off-by: Leah Rowe <leah@libreboot.org> | 
|  | Signed-off-by: Leah Rowe <leah@libreboot.org> | 
|  | print_char() is referenced last, so declare it last.
Signed-off-by: Leah Rowe <leah@libreboot.org> | 
|  | Signed-off-by: Leah Rowe <leah@libreboot.org> | 
|  | Put them in the same order as declared.
Signed-off-by: Leah Rowe <leah@libreboot.org> | 
|  | Signed-off-by: Leah Rowe <leah@libreboot.org> | 
|  | This is a good general practise, to catch errors.
Any errors found can then be handled in code.
Signed-off-by: Leah Rowe <leah@libreboot.org> | 
|  | Signed-off-by: Leah Rowe <leah@libreboot.org> | 
|  | There was literally no error handling before.
Signed-off-by: Leah Rowe <leah@libreboot.org> | 
|  | Main should only be a skeletal structure.
Actual logic should always be handled externally.
Signed-off-by: Leah Rowe <leah@libreboot.org> | 
|  | Signed-off-by: Leah Rowe <leah@libreboot.org> |