Changeset 2209 in MondoRescue for branches/2.2.9/mondo/test


Ignore:
Timestamp:
May 15, 2009, 4:56:31 AM (15 years ago)
Author:
Bruno Cornec
Message:
  • Use new libmr.a in build process
  • Use mr_strcat to fix a memory allocation bug when mountlist contains lots of references unavailable at restore time, creating a error when memory is statically allocated (more usage is expected now).
Location:
branches/2.2.9/mondo/test
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.9/mondo/test/Makefile.am

    r2204 r2209  
    44sbin_PROGRAMS         = mrtest_mountlist
    55mrtest_mountlist_SOURCES  = test-mountlist.c ${top_builddir}/src/mondorestore/mondo-prep.c ${top_builddir}/src/mondorestore/mondo-rstr-newt.c ${top_builddir}/src/mondorestore/mondo-rstr-tools.c
    6 mrtest_mountlist_LDADD    = ${top_builddir}/src/common/libmondo.a @MONDORESTORE_STATIC@
     6mrtest_mountlist_LDADD    = ${top_builddir}/src/common/libmondo.a ${top_builddir}/src/lib/libmr.a @MONDORESTORE_STATIC@
  • branches/2.2.9/mondo/test/test-mountlist.c

    r2206 r2209  
    3535
    3636extern char *MONDO_LOGFILE;
    37 extern int copy_from_src_to_dest(FILE * f_orig, FILE * f_archived,
    38                                  char direction);
     37extern int copy_from_src_to_dest(FILE * f_orig, FILE * f_archived, char direction);
     38/* We don't have a cleanup function yet */
     39void (*mr_cleanup)(void) = NULL;
    3940
    4041void main() {
Note: See TracChangeset for help on using the changeset viewer.