-
Notifications
You must be signed in to change notification settings - Fork 133
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lib/cmdline.c: Refactor `rm_cmd_set_paths*()'
The code has been organized into finer-grained functions/macros, and has thereby been easily optimized for certain cases.
- Loading branch information
Showing
8 changed files
with
182 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ msgid "" | |
msgstr "" | ||
"Project-Id-Version: rmlint 2.0.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2018-10-06 00:43+0000\n" | ||
"POT-Creation-Date: 2018-10-15 04:46+0000\n" | ||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||
"Language-Team: LANGUAGE <[email protected]>\n" | ||
|
@@ -1015,8 +1015,8 @@ msgstr "" | |
msgid "Failed to complete setup for merging directories" | ||
msgstr "" | ||
|
||
#: lib/treemerge.c | ||
msgid "Failed to allocate memory. Out of memory?" | ||
#: lib/treemerge.c lib/cmdline.c | ||
msgid "Failed to allocate memory" | ||
msgstr "" | ||
|
||
#: lib/cmdline.c | ||
|
@@ -1038,6 +1038,14 @@ msgstr "" | |
msgid "Could not get metadata for path \"%s\": %s" | ||
msgstr "" | ||
|
||
#: lib/cmdline.c | ||
msgid "Failed to read stdin" | ||
msgstr "" | ||
|
||
#: lib/cmdline.c | ||
msgid "Could not process path arguments" | ||
msgstr "" | ||
|
||
#~ msgid "%s%15" | ||
#~ msgstr "%s%15" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ msgid "" | |
msgstr "" | ||
"Project-Id-Version: rmlint 2.4.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2018-10-06 00:43+0000\n" | ||
"POT-Creation-Date: 2018-10-15 04:46+0000\n" | ||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||
"Language-Team: LANGUAGE <[email protected]>\n" | ||
|
@@ -992,8 +992,8 @@ msgstr "" | |
msgid "Failed to complete setup for merging directories" | ||
msgstr "" | ||
|
||
#: lib/treemerge.c | ||
msgid "Failed to allocate memory. Out of memory?" | ||
#: lib/treemerge.c lib/cmdline.c | ||
msgid "Failed to allocate memory" | ||
msgstr "" | ||
|
||
#: lib/cmdline.c | ||
|
@@ -1015,6 +1015,14 @@ msgstr "" | |
msgid "Could not get metadata for path \"%s\": %s" | ||
msgstr "" | ||
|
||
#: lib/cmdline.c | ||
msgid "Failed to read stdin" | ||
msgstr "" | ||
|
||
#: lib/cmdline.c | ||
msgid "Could not process path arguments" | ||
msgstr "" | ||
|
||
#~ msgid "caching is not supported due to missing json-glib library." | ||
#~ msgstr "" | ||
#~ "el cacheo no es soportado debido a la librería inexistente json-glib" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ msgid "" | |
msgstr "" | ||
"Project-Id-Version: rmlint 2.0.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2018-10-06 00:43+0000\n" | ||
"POT-Creation-Date: 2018-10-15 04:46+0000\n" | ||
"PO-Revision-Date: 2014-12-02 13:37+0100\n" | ||
"Last-Translator: F. <[email protected]>\n" | ||
"Language-Team: none\n" | ||
|
@@ -988,8 +988,8 @@ msgstr "" | |
msgid "Failed to complete setup for merging directories" | ||
msgstr "" | ||
|
||
#: lib/treemerge.c | ||
msgid "Failed to allocate memory. Out of memory?" | ||
#: lib/treemerge.c lib/cmdline.c | ||
msgid "Failed to allocate memory" | ||
msgstr "" | ||
|
||
#: lib/cmdline.c | ||
|
@@ -1011,6 +1011,14 @@ msgstr "" | |
msgid "Could not get metadata for path \"%s\": %s" | ||
msgstr "" | ||
|
||
#: lib/cmdline.c | ||
msgid "Failed to read stdin" | ||
msgstr "" | ||
|
||
#: lib/cmdline.c | ||
msgid "Could not process path arguments" | ||
msgstr "" | ||
|
||
#~ msgid "caching is not supported due to missing json-glib library." | ||
#~ msgstr "Cache non supporté, librairie json-glib manquante." | ||
|
||
|
Oops, something went wrong.