diff options
author | jbj <devnull@localhost> | 1999-03-16 20:04:26 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 1999-03-16 20:04:26 +0000 |
commit | ca9dc63de974d1335dce533d310ffbb11812fce0 (patch) | |
tree | 469a0c5fca0d4af44d115ec546262ef0b5623e7b /rpm.c | |
parent | 776dc9c2581c54e7ebb9980ca01401956e4f81b0 (diff) | |
download | librpm-tizen-ca9dc63de974d1335dce533d310ffbb11812fce0.tar.gz librpm-tizen-ca9dc63de974d1335dce533d310ffbb11812fce0.tar.bz2 librpm-tizen-ca9dc63de974d1335dce533d310ffbb11812fce0.zip |
Fix newSpec in "rpm -q --specfile --specedit"
CVS patchset: 2892
CVS date: 1999/03/16 20:04:26
Diffstat (limited to 'rpm.c')
-rwxr-xr-x | rpm.c | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -147,9 +147,6 @@ static struct poptOption optionsTable[] = { { 0, 0, 0, 0, 0, NULL, NULL } }; - -static void argerror(char * desc); - static void argerror(char * desc) { fprintf(stderr, _("rpm: %s\n"), desc); exit(EXIT_FAILURE); @@ -508,8 +505,8 @@ int main(int argc, char ** argv) { char * cookie = NULL; char * optArg; pid_t pipeChild = 0; - char * pkg; - char * errString; + const char * pkg; + char * errString = NULL; poptContext optCon; char * infoCommand[] = { "--info", NULL }; char * installCommand[] = { "--install", NULL }; @@ -1093,7 +1090,7 @@ int main(int argc, char ** argv) { if (signIt) { if (bigMode == MODE_REBUILD || bigMode == MODE_BUILD || bigMode == MODE_RESIGN || bigMode == MODE_TARBUILD) { - char ** argv; + const char ** argv; struct stat sb; int errors = 0; |