diff options
author | jbj <devnull@localhost> | 1999-10-21 20:36:16 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 1999-10-21 20:36:16 +0000 |
commit | bd34f27bb4617a172b1fee3be70b040e041858a1 (patch) | |
tree | 23af919ca601a477ebba4a0672a3b7d2770528f9 /popt | |
parent | c8b83b08c57667fe92ad68a76eba9dff8abd031e (diff) | |
download | librpm-tizen-bd34f27bb4617a172b1fee3be70b040e041858a1.tar.gz librpm-tizen-bd34f27bb4617a172b1fee3be70b040e041858a1.tar.bz2 librpm-tizen-bd34f27bb4617a172b1fee3be70b040e041858a1.zip |
lclint annotations and compiler cruft.
CVS patchset: 3394
CVS date: 1999/10/21 20:36:16
Diffstat (limited to 'popt')
-rw-r--r-- | popt/po/popt.pot | 6 | ||||
-rw-r--r-- | popt/popt.c | 10 |
2 files changed, 8 insertions, 8 deletions
diff --git a/popt/po/popt.pot b/popt/po/popt.pot index 88480850b..c7230f11e 100644 --- a/popt/po/popt.pot +++ b/popt/po/popt.pot @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 1999-09-21 14:38-0400\n" +"POT-Creation-Date: 1999-10-21 16:18-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -14,10 +14,10 @@ msgstr "" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: ENCODING\n" -#: ../popthelp.c:35 +#: popthelp.c:36 msgid "Show this help message" msgstr "" -#: ../popthelp.c:36 +#: popthelp.c:37 msgid "Display brief usage message" msgstr "" diff --git a/popt/popt.c b/popt/popt.c index 90758998d..df3b7f52b 100644 --- a/popt/popt.c +++ b/popt/popt.c @@ -536,12 +536,12 @@ int poptAddAlias(poptContext con, struct poptAlias newAlias, sizeof(newAlias) * con->numAliases); alias = con->aliases + aliasNum; - alias->longName = (newAlias->longName) - ? strcpy(malloc(strlen(newAlias->longName) + 1), newAlias->longName) + alias->longName = (newAlias.longName) + ? strcpy(malloc(strlen(newAlias.longName) + 1), newAlias.longName) : NULL; - alias->shortName = newAlias->shortName; - alias->argc = newAlias->argc; - alias->argv = newAlias->argv; + alias->shortName = newAlias.shortName; + alias->argc = newAlias.argc; + alias->argv = newAlias.argv; return 0; } |