Changeset 8300
- Timestamp:
- 12/12/11 15:52:22 (6 months ago)
- Location:
- trunk
- Files:
-
- 11 modified
-
AISC_COM/AISC/aisc_global.pa (modified) (1 diff)
-
AISC_COM/C/server.c (modified) (1 diff)
-
ARB_GDE/GDE_FileIO.cxx (modified) (1 diff)
-
AWT/AWT_config_manager.cxx (modified) (1 diff)
-
AWT/AWT_input_mask.cxx (modified) (1 diff)
-
EDIT4/ED4_secedit.cxx (modified) (1 diff)
-
PARSIMONY/GA_window.cxx (modified) (1 diff)
-
PGT/image_dialog.cxx (modified) (1 diff)
-
PGT/plot.cxx (modified) (1 diff)
-
WINDOW/AW_device.cxx (modified) (1 diff)
-
WINDOW/AW_window.cxx (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/AISC_COM/AISC/aisc_global.pa
r7811 r8300 25 25 P * ----------------------------------------------------------------- */ 26 26 -- 27 P #include "aisc_server.h"27 P #include <aisc_server.h> 28 28 -- 29 29 -
trunk/AISC_COM/C/server.c
r8255 r8300 27 27 #include <setjmp.h> 28 28 29 #include "aisc_com.h"29 #include <aisc_com.h> 30 30 // AISC_MKPT_PROMOTE:#include <aisc_func_types.h> 31 31 #include <attributes.h> -
trunk/ARB_GDE/GDE_FileIO.cxx
r8254 r8300 1 1 #include "GDE_proto.h" 2 #include "limits.h"2 #include <limits.h> 3 3 #include <aw_msg.hxx> 4 4 -
trunk/AWT/AWT_config_manager.cxx
r7801 r8300 358 358 config_map::iterator begin() { return cmap.begin(); } 359 359 config_map::const_iterator end() const { return cmap.end(); } 360 // cppcheck-suppress functionConst361 360 config_map::iterator end() { return cmap.end(); } 362 361 }; -
trunk/AWT/AWT_input_mask.cxx
r8103 r8300 2061 2061 free(title); 2062 2062 } 2063 // cppcheck-suppress publicAllocationError 2063 2064 2064 awt_input_mask_descriptor::awt_input_mask_descriptor(const awt_input_mask_descriptor& other) { 2065 2065 title = strdup(other.title); -
trunk/EDIT4/ED4_secedit.cxx
r6865 r8300 9 9 // =============================================================== // 10 10 11 #include "ed4_secedit.hxx"11 #include <ed4_secedit.hxx> 12 12 13 13 #include <secedit_extern.hxx> -
trunk/PARSIMONY/GA_window.cxx
r7801 r8300 15 15 #include "ap_tree_nlen.hxx" 16 16 #include "GA_genetic.hxx" 17 #include "phwin.hxx"17 #include <phwin.hxx> 18 18 #include <ntcanvas.hxx> 19 19 -
trunk/PGT/image_dialog.cxx
r8257 r8300 15 15 #include "config_dialog.hxx" 16 16 #include "help_dialog.hxx" 17 #include "math.h"17 #include <math.h> 18 18 #include <X11/cursorfont.h> 19 19 -
trunk/PGT/plot.cxx
r6347 r8300 170 170 171 171 // CREATE A TEMPORARY FILENAME (USING MKSTEMP) 172 m_temp_name = (char *)malloc(17 * sizeof(char));172 m_temp_name = (char *)malloc(17 * sizeof(char)); 173 173 strcpy(m_temp_name, "/tmp/plot_XXXXXX"); 174 if((mkstemp(m_temp_name)) == -1) return NULL; 175 176 // AS MKTEMP ALSO CREATES THE FILE ITSELF (WHAT WE DON'T WANT) REMOVE IT 177 // RIGHT AFTER ITS CREATION FOR FURTHER USE AS A PIPE 178 unlink(m_temp_name); 179 180 // CREATE A FIFO PIPE 181 if(mkfifo(m_temp_name, S_IRUSR | S_IWUSR) != 0) return NULL; 182 m_command_pipe= popen(buf, "w"); 183 184 m_has_command_pipe= true; 174 175 FILE *result = NULL; 176 if ((mkstemp(m_temp_name)) != -1) { 177 // AS MKTEMP ALSO CREATES THE FILE ITSELF (WHAT WE DON'T WANT) REMOVE IT 178 // RIGHT AFTER ITS CREATION FOR FURTHER USE AS A PIPE 179 unlink(m_temp_name); 180 181 // CREATE A FIFO PIPE 182 if (mkfifo(m_temp_name, S_IRUSR | S_IWUSR) == 0) { 183 m_command_pipe = popen(buf, "w"); 184 m_has_command_pipe = true; 185 result = m_command_pipe; 186 } 187 } 185 188 186 189 free(buf); 187 188 return m_command_pipe; 190 return result; 189 191 } 190 192 -
trunk/WINDOW/AW_device.cxx
r7768 r8300 388 388 #endif // DEBUG 389 389 390 // cppcheck-suppress noConstructor391 390 class AW_clip_scale_stack { 392 391 // completely private, but accessible by AW_device -
trunk/WINDOW/AW_window.cxx
r8280 r8300 1200 1200 } 1201 1201 1202 // cppcheck-suppress publicAllocationError1203 1202 void AW_area_management::set_double_click_callback(AW_window *aww, void (*f)(AW_window*, AW_CL, AW_CL), AW_CL cd1, AW_CL cd2) { 1204 1203 double_click_cb = new AW_cb_struct(aww, f, cd1, cd2, (char*)0, double_click_cb);
