Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Print a warning message in the version if the platform cannot support 32-bit ints
[rsync/rsync.git]
/
authenticate.c
diff --git
a/authenticate.c
b/authenticate.c
index
842a59e
..
9aae72d
100644
(file)
--- a/
authenticate.c
+++ b/
authenticate.c
@@
-1,5
+1,6
@@
-/*
- Copyright (C) Andrew Tridgell 1998
+/* -*- c-file-style: "linux"; -*-
+
+ Copyright (C) 1998-2000 by Andrew Tridgell
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@
-144,7
+145,7
@@
static char *getpassf(char *filename)
if (!filename) return NULL;
if ( (fd=open(filename,O_RDONLY)) == -1) {
if (!filename) return NULL;
if ( (fd=open(filename,O_RDONLY)) == -1) {
- r
printf(FERROR,"could not open password file \"%s\"\n
",filename);
+ r
syserr(FERROR, errno, "could not open password file \"%s\"
",filename);
if (envpw) rprintf(FERROR,"falling back to RSYNC_PASSWORD environment variable.\n");
return NULL;
}
if (envpw) rprintf(FERROR,"falling back to RSYNC_PASSWORD environment variable.\n");
return NULL;
}