- Timestamp:
- Feb 9, 2007, 12:58:33 AM (18 years ago)
- Location:
- branches/stable/mondo
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mondo/configure.in
r1064 r1115 74 74 AC_CHECK_LIB(pthread, pthread_create, true, [echo "*** Cannot find -lpthread."; echo "*** Please make sure you have the linuxthreads glibc add-on installed."; exit 1]) 75 75 PTHREAD="-lpthread" 76 CFLAGS="$CFLAGS -Wall -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_REENTRANT -Wshadow -funsigned-char -Wstrict-prototypes -Wunused -Winit-self -Wcast-align "76 CFLAGS="$CFLAGS -Wall -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_REENTRANT -Wshadow -funsigned-char -Wstrict-prototypes -Wunused -Winit-self -Wcast-align -fno-strict-aliasing" 77 77 ;; 78 78 *) -
branches/stable/mondo/src/common/libmondo-fork.c
r1113 r1115 181 181 char *callstr = NULL; 182 182 char *incoming = NULL; 183 char *tmp = NULL; 183 184 184 185 /*@ int ********************************************************* */ … … 218 219 219 220 len = (int) strlen(program); 221 malloc_string(tmp); 220 222 for (i = 0; i < 35 - len / 2; i++) { 221 223 tmp[i] = '-'; … … 229 231 } 230 232 strcpy(initial_label, tmp); 233 mr_free(tmp); 234 231 235 res = system(callstr); 232 236 if (((res == 0) && log_if_success) || ((res != 0) && log_if_failure)) {
Note:
See TracChangeset
for help on using the changeset viewer.