diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1997-04-29 21:53:20 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1997-04-29 21:53:20 +0000 |
commit | f0e678d503caff01f353460e0cbe27b153c7ee50 (patch) | |
tree | 6a1cb5af3e0ec509d46ec28a48943bff72db5c7b /rcfile_y.y | |
parent | 215a3549f46eeef56bb81cf9b75fc133ab610219 (diff) | |
download | fetchmail-f0e678d503caff01f353460e0cbe27b153c7ee50.tar.gz fetchmail-f0e678d503caff01f353460e0cbe27b153c7ee50.tar.bz2 fetchmail-f0e678d503caff01f353460e0cbe27b153c7ee50.zip |
Allow /dev/null as -f argument.
svn path=/trunk/; revision=979
Diffstat (limited to 'rcfile_y.y')
-rw-r--r-- | rcfile_y.y | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -236,6 +236,10 @@ const char *pathname; /* pathname for the configuration file */ { struct stat statbuf; + /* special case, useful for debugging purposes */ + if (strcmp("/dev/null", pathname) == 0) + return(0); + /* the run control file must have the same uid as the REAL uid of this process, it must have permissions no greater than 600, and it must not be a symbolic link. We check these conditions here. */ |