diff options
author | Campbell Barton <ideasman42@gmail.com> | 2008-04-12 19:03:47 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2008-04-12 19:03:47 +0400 |
commit | 0ec76c6dcf462f51d8f2a46c21dbd83870fc4eda (patch) | |
tree | 4b62b2c53dd2f4075b4b2a51c539e6de440e38b6 /source/blender/blenlib/BLI_blenlib.h | |
parent | 165bfce94e985898027d748331898efe9ad6f53c (diff) |
removed blenders backup feature.
sprintf(str, "/bin/su root -c 'cd %s; /bin/tar cf - \"%s\" | (/bin/cd %s; /bin/tar xf -)'", from, file, to);
return system(str);
This would ask for a password in blenders terminal, in ubuntu there is no root user...
If this feature is added back it should be written in a much nicer way.
Also made HKey toggle hidden files in the file selector.
Diffstat (limited to 'source/blender/blenlib/BLI_blenlib.h')
-rw-r--r-- | source/blender/blenlib/BLI_blenlib.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/blenlib/BLI_blenlib.h b/source/blender/blenlib/BLI_blenlib.h index 7d401cf2fc3..75cbce3d75d 100644 --- a/source/blender/blenlib/BLI_blenlib.h +++ b/source/blender/blenlib/BLI_blenlib.h @@ -299,7 +299,6 @@ int BLI_exist(char *name); /* BLI_fileops.h */ void BLI_recurdir_fileops(char *dirname); int BLI_link(char *file, char *to); -int BLI_backup(char *file, char *from, char *to); int BLI_is_writable(char *filename); /** |