File: exit-in-shlib

package info (click to toggle)
librcsb-core-wrapper 1.005-13
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 16,576 kB
  • sloc: xml: 122,915; cpp: 25,250; ansic: 3,736; makefile: 1,033; sh: 772; lex: 294; yacc: 235; perl: 213; python: 121; csh: 30
file content (16 lines) | stat: -rw-r--r-- 570 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Author: Laszlo Kajan <lkajan@rostlab.org>
Description: library calls exit
 Not a fix, just making the error message go to standard error instead of
 standard output.
Forwarded: http://lists.alioth.debian.org/pipermail/debian-med-packaging/2012-August/016975.html
--- a/cif-file/src/ParentChild.C
+++ b/cif-file/src/ParentChild.C
@@ -287,7 +287,7 @@ void ParentChild::CreateAllRelations(
 #ifdef VLAD_FIX
     if (parKeys.empty())
     {
-        cout << "EMPTY PARENT KEYS !!!" << endl;
+        cerr << "EMPTY PARENT KEYS !!!" << endl;
         exit(1);
     }
 #endif