| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
This is one of the steps on the way to get rid of errprint_*() macros
and handle errors by yourself. For more context see other patches
under the same topic specified below.
TOPIC=drop_errprint
|
|
|
|
|
|
|
|
| |
This is one of the steps on the way to get rid of errprint_*() macros
and handle errors by yourself. For more context see other patches
under the same topic specified below.
TOPIC=drop_errprint
|
|
|
|
|
| |
This code is unreachable if lock-password is compiled with X11
support. Move it to `else` macro-statement.
|
|
|
|
|
| |
The error message matches the comment before the function, so remove
the last one.
|
|
|
|
| |
Avoid repeating the same error messages.
|
|
|
|
| |
No need to allocate memory.
|
|
|
|
|
|
|
|
|
|
| |
Handle errors using goto instead of "do { ... } while(0)".
This is one of the steps on the way to get rid of errprint_*() macros
and handle errors by yourself. For more context see other patches
under the same topic specified below.
TOPIC=drop_errprint
|
|
|
|
|
|
|
|
| |
This is one of the steps on the way to get rid of errprint_*() macros
and handle errors by yourself. For more context see other patches
under the same topic specified below.
TOPIC=drop_errprint
|
|
|
|
|
|
|
|
| |
This is one of the steps on the way to get rid of errprint_*() macros
and handle errors by yourself. For more context see other patches
under the same topic specified below.
TOPIC=drop_errprint
|
|
|
|
|
|
|
|
| |
This is one of the steps on the way to get rid of errprint_*() macros
and handle errors by yourself. For more context see other patches
under the same topic specified below.
TOPIC=drop_errprint
|
|
|
|
|
|
|
|
| |
This is one of the steps on the way to get rid of errprint_*() macros
and handle errors by yourself. For more context see other patches
under the same topic specified below.
TOPIC=drop_errprint
|
|
|
|
|
| |
The standard says: "If ptr is a null pointer, no action occurs".
So, remove conditions.
|
|
|
|
|
|
|
|
|
|
| |
Handle errors using goto instead of "do { ... } while(0)".
This is one of the steps on the way to get rid of errprint_*() macros
and handle errors by yourself. For more context see other patches
under the same topic specified below.
TOPIC=drop_errprint
|
|
|
|
|
|
|
|
| |
This is one of the steps on the way to get rid of errprint_*() macros
and handle errors by yourself. For more context see other patches
under the same topic specified below.
TOPIC=drop_errprint
|
| |
|
|
|
|
| |
Rename macro based on naming rules.
|
|
|
|
|
|
| |
This patch also does:
- Moves usageprint() from constants.h to output.h
- Returns an error after using useprint() clearly.
|
| |
|
| |
|
|
|
|
|
| |
Let's unite two conditions. So, if mkdir() returns a non-zero value
and errno equals EEXIST, we'll give a change and do chdir() again.
|
|
|
|
|
| |
No need to try to create a directory in other cases, because that
won't help.
|
|
|
|
|
|
|
|
| |
This is one of the steps on the way to get rid of errprint_*() macros
and handle errors by yourself. For more context see other patches
under the same topic specified below.
TOPIC=drop_errprint
|
|
|
|
|
|
|
|
|
|
|
| |
The file contains only one macro right now. But it's more convenient
if the header with the appropriate name will do output routines.
This is one of the steps on the way to get rid of errprint_*() macros
and handle errors by yourself. For more context see other patches
under the same topic specified below.
TOPIC=drop_errprint
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Now you need to use the following command to list the contents of the
password manager:
lpass show [passname]
If the command name is missing or was typed incorrectly, the 'help'
command will be executed and will return 1. It will simplify the
program when i add bash completion.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
global vars
|
|
|
|
| |
don't use global vars anymore
|
| |
|
| |
|
| |
|
| |
|
| |
|