ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/freemol/branches/sync4pymol12/src/mengine/src/utility.c
(Generate patch)
# Line 16 | Line 16
16                  if (!v)
17          {
18               message_alert("Error allocation fmemory. Please contact Serena Software. The program will now exit!","Utility");
19 <             fprintf(pcmoutfile,"error allocating float vector\n");
19 >             fprintf(pcmlogfile,"error allocating float vector\n");
20               pcmfout(2);
21               exit(0);
22          }
# Line 31 | Line 31
31          if (!v)
32          {
33               message_alert("Error allocation imemory. Please contact Serena Software. The program will now exit!","Utility");
34 <             fprintf(pcmoutfile,"error allocating  int vector\n");
34 >             fprintf(pcmlogfile,"error allocating  int vector\n");
35               pcmfout(2);
36               exit(0);
37          }
# Line 46 | Line 46
46          if (!v)
47          {
48               message_alert("Error allocation imemory. Please contact Serena Software. The program will now exit!","Utility");
49 <             fprintf(pcmoutfile,"error allocating  int vector\n");
49 >             fprintf(pcmlogfile,"error allocating  int vector\n");
50               pcmfout(2);
51               exit(0);
52          }
# Line 63 | Line 63
63              char hatext[128];
64              sprintf(hatext,"Error allocation dmemory. Size %d\n",nh);
65              message_alert(hatext,"Utility");
66 <            fprintf(pcmoutfile,"error allocating double vector\n");
66 >            fprintf(pcmlogfile,"error allocating double vector\n");
67               pcmfout(2);
68              exit(0);
69          }
# Line 80 | Line 80
80          if (!m)
81          {
82               message_alert("Error allocation farray. Please contact Serena Software. The program will now exit!","Utility");
83 <             fprintf(pcmoutfile,"error allocating float array\n");
83 >             fprintf(pcmlogfile,"error allocating float array\n");
84               pcmfout(2);
85               exit(0);
86          }
# Line 92 | Line 92
92                  if (!m[i])
93                  {
94                          message_alert("Error allocation farray. Please contact Serena Software. The program will now exit!","Utility");
95 <                        fprintf(pcmoutfile,"error allocating float array\n");
95 >                        fprintf(pcmlogfile,"error allocating float array\n");
96                          pcmfout(2);
97                          exit(0);
98                  }
# Line 111 | Line 111
111          if (!m)
112          {
113               message_alert("Error allocation darray. Please contact Serena Software. The program will now exit!","Utility");
114 <             fprintf(pcmoutfile,"error allocating double array\n");
114 >             fprintf(pcmlogfile,"error allocating double array\n");
115               pcmfout(2);
116               exit(0);
117          }
# Line 123 | Line 123
123                  if (!m[i])
124                  {
125                          message_alert("Error allocation darray. Please contact Serena Software. The program will now exit!","Utility");
126 <                        fprintf(pcmoutfile,"error allocating double array\n");
126 >                        fprintf(pcmlogfile,"error allocating double array\n");
127                          pcmfout(2);
128                          exit(0);
129                  }
# Line 141 | Line 141
141          if (!m)
142          {
143               message_alert("Error allocation iarray. Please contact Serena Software. The program will now exit!","Utility");
144 <             fprintf(pcmoutfile,"error allocating array\n");
144 >             fprintf(pcmlogfile,"error allocating array\n");
145               pcmfout(2);
146               exit(0);
147          }
# Line 153 | Line 153
153                  if (!m[i])
154                  {
155                       message_alert("Error allocation farray. Please contact Serena Software. The program will now exit!","Utility");
156 <                     fprintf(pcmoutfile,"error allocating array\n");
156 >                     fprintf(pcmlogfile,"error allocating array\n");
157                       pcmfout(2);
158                       exit(0);
159                  }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines