diff options
author | Andrew Tridgell <tridge@samba.org> | 2000-08-19 11:06:04 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2000-08-19 11:06:04 +0000 |
commit | b7c33e3bdea743c1d9fe1fb66f2f3929ab59fd31 (patch) | |
tree | bccdfa1833515fd7131f0b987bdd33ef1251fe66 /backup.c | |
parent | 82980a23840452c069c37dd7c99c3ac937536847 (diff) | |
download | android_external_rsync-b7c33e3bdea743c1d9fe1fb66f2f3929ab59fd31.tar.gz android_external_rsync-b7c33e3bdea743c1d9fe1fb66f2f3929ab59fd31.tar.bz2 android_external_rsync-b7c33e3bdea743c1d9fe1fb66f2f3929ab59fd31.zip |
fixed backup_dir bug introduced with recent memory handling patches
Diffstat (limited to 'backup.c')
-rw-r--r-- | backup.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -197,7 +197,7 @@ static int keep_backup(char *fname) if (do_stat (fname, &st)) return 1; #endif - file = make_file (0, fname, 0); + file = make_file (-1, fname, 0); /* make a complete pathname for backup file */ if (strlen(backup_dir) + strlen(fname) > (MAXPATHLEN - 1)) { |