GNU Binutils with patches for OS216
Revisão | 34d8f01b8064f205026ae3fe3649b9218eed8694 (tree) |
---|---|
Hora | 2007-04-06 15:01:54 |
Autor | Joel Brobecker <brobecker@gnat...> |
Commiter | Joel Brobecker |
@@ -1,3 +1,7 @@ | ||
1 | +2007-04-06 Joel Brobecker <brobecker@adacore.com> | |
2 | + | |
3 | + * filename_cmp.c (filename_cmp): Improve documentation. | |
4 | + | |
1 | 5 | 2007-04-02 Andreas Schwab <schwab@suse.de> |
2 | 6 | |
3 | 7 | * filename_cmp.c: Include "config.h". |
@@ -31,12 +31,13 @@ | ||
31 | 31 | |
32 | 32 | @deftypefn Extension int filename_cmp (const char *@var{s1}, const char *@var{s2}) |
33 | 33 | |
34 | -Return zero if the two paths @var{s1} and @var{s2} are equivalent. | |
35 | -If not equivalent, the returned value is similar to what strcmp would | |
36 | -return. In other words, it returns a negative value if @var{s1} is less | |
37 | -than @var{s2}, or a positive value if @var{s2} is greater than @var{s2}. | |
34 | +Return zero if the two file names @var{s1} and @var{s2} are equivalent. | |
35 | +If not equivalent, the returned value is similar to what @code{strcmp} | |
36 | +would return. In other words, it returns a negative value if @var{s1} | |
37 | +is less than @var{s2}, or a positive value if @var{s2} is greater than | |
38 | +@var{s2}. | |
38 | 39 | |
39 | -This function does not normalize path names. As a result, this function | |
40 | +This function does not normalize file names. As a result, this function | |
40 | 41 | will treat filenames that are spelled differently as different even in |
41 | 42 | the case when the two filenames point to the same underlying file. |
42 | 43 | However, it does handle the fact that on DOS-like file systems, forward |