~ubuntu-branches/ubuntu/precise/rpm/precise-proposed

« back to all changes in this revision

Viewing changes to lib/rpmvercmp.c

  • Committer: Bazaar Package Importer
  • Author(s): Michal Čihař
  • Date: 2010-06-28 11:12:30 UTC
  • mfrom: (17.2.5 sid)
  • Revision ID: james.westby@ubuntu.com-20100628111230-8ggjjhgpvrnr3ybx
Tags: 4.8.1-5
Fix compilation on hurd and kfreebsd (Closes: #587366).

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
    int isnum;
24
24
 
25
25
    /* easy comparison to see if versions are identical */
26
 
    if (!strcmp(a, b)) return 0;
 
26
    if (rstreq(a, b)) return 0;
27
27
 
28
28
    strcpy(str1, a);
29
29
    strcpy(str2, b);