Go to the source code of this file.
Functions | |
int | main (int argc, char **argv) |
Variables | |
int | dry_run |
int | read_only |
int | list_only |
int | verbose |
Not linked into rsync
itself.
Prints either "safe" or "unsafe" depending on the two arguments. Always returns 0 unless something extraordinary happens.
Definition in file t_unsafe.c.
|
Definition at line 33 of file t_unsafe.c. References unsafe_symlink().
00034 { 00035 if (argc != 3) { 00036 fprintf(stderr, "usage: t_unsafe LINKDEST SRCDIR\n"); 00037 return 1; 00038 } 00039 00040 printf("%s\n", 00041 unsafe_symlink(argv[1], argv[2]) ? "unsafe" : "safe"); 00042 00043 return 0; 00044 } |
|
Definition at line 30 of file t_unsafe.c. |
|
Definition at line 30 of file t_unsafe.c. |
|
Definition at line 30 of file t_unsafe.c. |
|
Definition at line 30 of file t_unsafe.c. Referenced by robust_unlink(), and set_modtime(). |