~ubuntu-branches/ubuntu/precise/grass/precise

« back to all changes in this revision

Viewing changes to imagery/i.smap/shapiro/read_sig.c

  • Committer: Bazaar Package Importer
  • Author(s): Francesco Paolo Lovergine
  • Date: 2011-04-13 17:08:41 UTC
  • mfrom: (8.1.7 sid)
  • Revision ID: james.westby@ubuntu.com-20110413170841-ss1t9bic0d0uq0gz
Tags: 6.4.1-1
* New upstream version.
* Now build-dep on libjpeg-dev and current libreadline6-dev.
* Removed patch swig: obsolete.
* Policy bumped to 3.9.2, without changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
    if (I_ReadSigSet(fd, S) < 0 || Ref.nfiles != S->nbands)
27
27
        G_fatal_error(_("Signature file <%s> is invalid"), parms->sigfile);
28
28
 
 
29
    if (S->ClassSig == NULL || S->title == NULL)
 
30
        G_fatal_error(_("Signature file <%s> is empty"), parms->sigfile);
 
31
 
29
32
    fclose(fd);
30
33
 
31
34
    return 0;