mirror of
https://github.com/nmap/nmap.git
synced 2025-12-28 18:39:03 +00:00
Renamed nmap_fileexistsandisreadable() by file_is_readable(). Former was
hardly readable and is not even a good candidate for longest method name (http://msdn.microsoft.com/en-us/library/system.windows.media.textformatting.textsource.gettexteffectcharacterindexfromtextsourcecharacterindex.aspx#Y0)
This commit is contained in:
@@ -427,7 +427,7 @@ void replacenonprintable(char *str, int strlength, char replchar);
|
||||
/* Returns one if the file pathname given exists, is not a directory and
|
||||
* is readable by the executing process. Returns two if it is readable
|
||||
* and is a directory. Otherwise returns 0. */
|
||||
int fileexistsandisreadable(const char *pathname);
|
||||
int file_is_readable(const char *pathname);
|
||||
|
||||
/* Portable, incompatible replacements for dirname and basename. */
|
||||
char *path_get_dirname(const char *path);
|
||||
|
||||
Reference in New Issue
Block a user