Changeset 773 for vanHelsing/trunk
- Timestamp:
- Jul 3, 2009, 5:19:08 PM (16 years ago)
- Location:
- vanHelsing/trunk
- Files:
- 
      - 3 edited
 
 - 
          
  bconsole.py (modified) (1 diff)
- 
          
  clib/clibbac.cxx (modified) (2 diffs)
- 
          
  setup.py (modified) (1 diff)
 
Legend:
- Unmodified
- Added
- Removed
- 
      vanHelsing/trunk/bconsole.pyr772 r773 44 44 } 45 45 46 #import clibbac46 import clibbac 47 47 48 48 class ConsoleError(IOError): 
- 
      vanHelsing/trunk/clib/clibbac.cxxr772 r773 16 16 retlen = strlen(binstr) * 2 + 2; 17 17 18 // TODO replace malloc by python mem handler 19 retbuf = (char *) malloc(retlen); 18 retbuf = (char *) PyMem_Malloc(retlen); 20 19 if (retbuf == NULL) 21 20 return NULL; … … 25 24 26 25 result = Py_BuildValue("s", retbuf); 27 free(retbuf);26 PyMem_Free(retbuf); 28 27 29 28 return result; 
- 
      vanHelsing/trunk/setup.pyr772 r773 10 10 include_dirs = ['bacula_repo/src/'], 11 11 libraries = ['crypto', 'ssl', 'bac'], 12 library_dirs = ['build/lib/'], 13 runtime_library_dirs = ['build/lib/'], 12 14 ) 13 15 
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  
