Changeset 3819 in MondoRescue


Ignore:
Timestamp:
Mar 3, 2024, 1:54:34 AM (4 months ago)
Author:
Bruno Cornec
Message:

Fix global usage in test and mondorestore programs

Location:
branches/3.3/mondo
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/3.3/mondo/src/mondorestore/mondorestore.c

    r3790 r3819  
    114114
    115115/**
    116  * Mondo's home directory during backup. Unused in mondorestore; included
     116 * Mondo's home directory during backup. Unused in mondorestore (?); included
    117117 * to avoid link errors.
    118118 */
    119 extern char *g_mondo_home;
     119char *g_mondo_home = NULL;
    120120
    121121char *g_getfacl;
  • branches/3.3/mondo/test/test-mountlist.c

    r3777 r3819  
    3939
    4040char *g_mountlist_fname;
    41 //char *g_mondo_home;
     41char *g_mondo_home = NULL;
    4242
    43 //char *g_getfacl;
    44 //char *g_getfattr;
     43char *g_getfacl;
     44char *g_getfattr;
    4545
    4646extern char *MONDO_LOGFILE;
  • branches/3.3/mondo/test/test-truncname.c

    r3777 r3819  
    3333
    3434char *g_mountlist_fname;
    35 //char *g_mondo_home;
     35char *g_mondo_home = NULL;
    3636
    3737char *g_getfacl;
Note: See TracChangeset for help on using the changeset viewer.