Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 276676
Collapse All | Expand All

(-)sptk-3.5.8.14/examples/registry.cpp (-3 / +5 lines)
Lines 66-72 Link Here
66
         cout << "The registry doesn't contain window information" << endl;
66
         cout << "The registry doesn't contain window information" << endl;
67
      }
67
      }
68
   }
68
   }
69
   catch (exception& e) { puts(e.what()); }
69
   catch (exception& e) { 
70
     cerr << e.what() << endl;
71
   }
70
}
72
}
71
73
72
void updateRegistry(CRegistryMode mode) {
74
void updateRegistry(CRegistryMode mode) {
Lines 97-104 Link Here
97
99
98
      mySettings.save();
100
      mySettings.save();
99
   }
101
   }
100
   catch (exception& e) {
102
   catch (exception& e) { 
101
      puts(e.what());
103
     cerr << e.what() << endl;
102
   }
104
   }
103
}
105
}
104
106
(-)sptk-3.5.8.14/src/utils/CVariant.cpp (+1 lines)
Lines 40-45 Link Here
40
40
41
#include <map>
41
#include <map>
42
#include <math.h>
42
#include <math.h>
43
#include <stdio.h>
43
44
44
using namespace std;
45
using namespace std;
45
using namespace sptk;
46
using namespace sptk;
(-)sptk-3.5.8.14/.themes.sptk/tar2h.cpp (-2 / +3 lines)
Lines 33-40 Link Here
33
		return 1;
33
		return 1;
34
	}
34
	}
35
	
35
	
36
	printf("static size_t %s_len = %ld;\n", argv[2], st.st_size);
36
	long sz = st.st_size;
37
	printf("static unsigned char %s[%ld] = {\n", argv[2], st.st_size);
37
	printf("static size_t %s_len = %ld;\n", argv[2], sz);
38
	printf("static unsigned char %s[%ld] = {\n", argv[2], sz);
38
39
39
	x = (unsigned char *)malloc(st.st_size);
40
	x = (unsigned char *)malloc(st.st_size);
40
41

Return to bug 276676