[PATCH] Fixed several links in the documentation...

max at mtew.isa-geek.net max at mtew.isa-geek.net
Thu Feb 10 01:00:21 CST 2011


From: Max TenEyck Woodbury <max at mtew.isa-geek.net>

---
 dlls/msvcrt/dir.c |   51 ++++++++++++++++++++++++++++++---------------------
 1 files changed, 30 insertions(+), 21 deletions(-)

diff --git a/dlls/msvcrt/dir.c b/dlls/msvcrt/dir.c
index 1e8fd8d..11d998f 100644
--- a/dlls/msvcrt/dir.c
+++ b/dlls/msvcrt/dir.c
@@ -204,7 +204,7 @@ int CDECL MSVCRT__chdir(const char * newdir)
 /*********************************************************************
  *		_wchdir (MSVCRT.@)
  *
- * Unicode version of _chdir.
+ * Unicode version of MSVCRT__chdir.
  */
 int CDECL _wchdir(const MSVCRT_wchar_t * newdir)
 {
@@ -249,7 +249,7 @@ int CDECL _chdrive(int newdrive)
 /*********************************************************************
  *		_findclose (MSVCRT.@)
  *
- * Close a handle returned by _findfirst().
+ * Close a handle returned by MSVCRT__findfirst().
  *
  * PARAMS
  *  hand [I] Handle to close
@@ -282,8 +282,9 @@ int CDECL MSVCRT__findclose(MSVCRT_intptr_t hand)
  *  ft    [O] Information for the first file found.
  *
  * RETURNS
- *  Success: A handle suitable for passing to _findnext() and _findclose().
- *           ft is populated with the details of the found file.
+ *  Success: A handle suitable for passing to MSVCRT__findnext() and
+ *           MSVCRT__findclose(). ft is populated with the details of
+ *           the found file.
  *  Failure: -1. errno indicates the error.
  *
  * NOTES
@@ -308,7 +309,7 @@ MSVCRT_intptr_t CDECL MSVCRT__findfirst(const char * fspec, struct MSVCRT__findd
 /*********************************************************************
  *		_wfindfirst (MSVCRT.@)
  *
- * Unicode version of _findfirst.
+ * Unicode version of MSVCRT__findfirst.
  */
 MSVCRT_intptr_t CDECL MSVCRT__wfindfirst(const MSVCRT_wchar_t * fspec, struct MSVCRT__wfinddata_t* ft)
 {
@@ -329,7 +330,7 @@ MSVCRT_intptr_t CDECL MSVCRT__wfindfirst(const MSVCRT_wchar_t * fspec, struct MS
 /*********************************************************************
  *		_findfirsti64 (MSVCRT.@)
  *
- * 64-bit version of _findfirst.
+ * 64-bit version of MSVCRT__findfirst.
  */
 MSVCRT_intptr_t CDECL MSVCRT__findfirsti64(const char * fspec, struct MSVCRT__finddatai64_t* ft)
 {
@@ -350,7 +351,7 @@ MSVCRT_intptr_t CDECL MSVCRT__findfirsti64(const char * fspec, struct MSVCRT__fi
 /*********************************************************************
  *		_findfirst64 (MSVCRT.@)
  *
- * 64-bit version of _findfirst.
+ * 64-bit version of MSVCRT__findfirst.
  */
 MSVCRT_intptr_t CDECL MSVCRT__findfirst64(const char * fspec, struct MSVCRT__finddata64_t* ft)
 {
@@ -371,7 +372,7 @@ MSVCRT_intptr_t CDECL MSVCRT__findfirst64(const char * fspec, struct MSVCRT__fin
 /*********************************************************************
  *		_findfirst64i32 (MSVCRT.@)
  *
- * 64-bit/32-bit version of _findfirst.
+ * 64-bit/32-bit version of MSVCRT__findfirst.
  */
 MSVCRT_intptr_t CDECL MSVCRT__findfirst64i32(const char * fspec, struct MSVCRT__finddata64i32_t* ft)
 {
@@ -392,7 +393,7 @@ MSVCRT_intptr_t CDECL MSVCRT__findfirst64i32(const char * fspec, struct MSVCRT__
 /*********************************************************************
  *		_wfindfirst64i32 (MSVCRT.@)
  *
- * Unicode version of _findfirst64i32.
+ * Unicode version of MSVCRT__findfirst64i32.
  */
 MSVCRT_intptr_t CDECL MSVCRT__wfindfirst64i32(const MSVCRT_wchar_t * fspec, struct MSVCRT__wfinddata64i32_t* ft)
 {
@@ -413,7 +414,7 @@ MSVCRT_intptr_t CDECL MSVCRT__wfindfirst64i32(const MSVCRT_wchar_t * fspec, stru
 /*********************************************************************
  *		_wfindfirsti64 (MSVCRT.@)
  *
- * Unicode version of _findfirsti64.
+ * Unicode version of MSVCRT__findfirsti64.
  */
 MSVCRT_intptr_t CDECL MSVCRT__wfindfirsti64(const MSVCRT_wchar_t * fspec, struct MSVCRT__wfinddatai64_t* ft)
 {
@@ -437,7 +438,7 @@ MSVCRT_intptr_t CDECL MSVCRT__wfindfirsti64(const MSVCRT_wchar_t * fspec, struct
  * Find the next file from a file search handle.
  *
  * PARAMS
- *  hand  [I] Handle to the search returned from _findfirst().
+ *  hand  [I] Handle to the search returned from MSVCRT__findfirst().
  *  ft    [O] Information for the file found.
  *
  * RETURNS
@@ -464,7 +465,7 @@ int CDECL MSVCRT__findnext(MSVCRT_intptr_t hand, struct MSVCRT__finddata_t * ft)
 /*********************************************************************
  *		_wfindnext (MSVCRT.@)
  *
- * Unicode version of _findnext.
+ * Unicode version of MSVCRT__findnext.
  */
 int CDECL MSVCRT__wfindnext(MSVCRT_intptr_t hand, struct MSVCRT__wfinddata_t * ft)
 {
@@ -483,7 +484,7 @@ int CDECL MSVCRT__wfindnext(MSVCRT_intptr_t hand, struct MSVCRT__wfinddata_t * f
 /*********************************************************************
  *		_findnexti64 (MSVCRT.@)
  *
- * 64-bit version of _findnext.
+ * 64-bit version of MSVCRT__findnext.
  */
 int CDECL MSVCRT__findnexti64(MSVCRT_intptr_t hand, struct MSVCRT__finddatai64_t * ft)
 {
@@ -502,7 +503,7 @@ int CDECL MSVCRT__findnexti64(MSVCRT_intptr_t hand, struct MSVCRT__finddatai64_t
 /*********************************************************************
  *		_findnext64 (MSVCRT.@)
  *
- * 64-bit version of _findnext.
+ * 64-bit version of MSVCRT__findnext.
  */
 int CDECL MSVCRT__findnext64(long hand, struct MSVCRT__finddata64_t * ft)
 {
@@ -521,7 +522,7 @@ int CDECL MSVCRT__findnext64(long hand, struct MSVCRT__finddata64_t * ft)
 /*********************************************************************
  *		_findnext64i32 (MSVCRT.@)
  *
- * 64-bit/32-bit version of _findnext.
+ * 64-bit/32-bit version of MSCVCRT__findnext.
  */
 int CDECL MSVCRT__findnext64i32(long hand, struct MSVCRT__finddata64i32_t * ft)
 {
@@ -540,7 +541,7 @@ int CDECL MSVCRT__findnext64i32(long hand, struct MSVCRT__finddata64i32_t * ft)
 /*********************************************************************
  *		_wfindnexti64 (MSVCRT.@)
  *
- * Unicode version of _findnexti64.
+ * Unicode version of MSVCRT__findnexti64.
  */
 int CDECL MSVCRT__wfindnexti64(MSVCRT_intptr_t hand, struct MSVCRT__wfinddatai64_t * ft)
 {
@@ -559,7 +560,7 @@ int CDECL MSVCRT__wfindnexti64(MSVCRT_intptr_t hand, struct MSVCRT__wfinddatai64
 /*********************************************************************
  *		_wfindnext64i32 (MSVCRT.@)
  *
- * Unicode version of _findnext64i32.
+ * Unicode version of MSVCRT__findnext64i32.
  */
 int CDECL MSVCRT__wfindnext64i32(MSVCRT_intptr_t hand, struct MSVCRT__wfinddata64i32_t * ft)
 {
@@ -714,7 +715,7 @@ char* CDECL _getdcwd(int drive, char * buf, int size)
 /*********************************************************************
  *		_wgetdcwd (MSVCRT.@)
  *
- * Unicode version of _wgetdcwd.
+ * Unicode version of _getdcwd.
  */
 MSVCRT_wchar_t* CDECL _wgetdcwd(int drive, MSVCRT_wchar_t * buf, int size)
 {
@@ -818,7 +819,7 @@ int CDECL MSVCRT__mkdir(const char * newdir)
 /*********************************************************************
  *		_wmkdir (MSVCRT.@)
  *
- * Unicode version of _mkdir.
+ * Unicode version of MSVCRT__mkdir.
  */
 int CDECL _wmkdir(const MSVCRT_wchar_t* newdir)
 {
@@ -854,7 +855,7 @@ int CDECL MSVCRT__rmdir(const char * dir)
 /*********************************************************************
  *		_wrmdir (MSVCRT.@)
  *
- * Unicode version of _rmdir.
+ * Unicode version of MSVCRT__rmdir.
  */
 int CDECL _wrmdir(const MSVCRT_wchar_t * dir)
 {
@@ -866,6 +867,8 @@ int CDECL _wrmdir(const MSVCRT_wchar_t * dir)
 
 /******************************************************************
  *		_splitpath_s (MSVCRT.@)
+ *
+ * Secure version of _splitpath
  */
 int _splitpath_s(const char* inpath,
         char* drive, MSVCRT_size_t sz_drive,
@@ -946,6 +949,8 @@ do_error:
 
 /*********************************************************************
  *              _splitpath (MSVCRT.@)
+ *
+ * FIXME: There is another version of this in dlls/ntdll/string.c
  */
 void CDECL _splitpath(const char *inpath, char *drv, char *dir,
         char *fname, char *ext)
@@ -1207,7 +1212,7 @@ VOID CDECL _makepath(char * path, const char * drive,
 /*********************************************************************
  *		_wmakepath (MSVCRT.@)
  *
- * Unicode version of _wmakepath.
+ * Unicode version of _makepath.
  */
 VOID CDECL _wmakepath(MSVCRT_wchar_t *path, const MSVCRT_wchar_t *drive, const MSVCRT_wchar_t *directory,
                       const MSVCRT_wchar_t *filename, const MSVCRT_wchar_t *extension)
@@ -1533,6 +1538,8 @@ void CDECL _searchenv(const char* file, const char* env, char *buf)
 
 /*********************************************************************
  *		_searchenv_s (MSVCRT.@)
+ *
+ * Safe version of _searchenv.
  */
 int CDECL _searchenv_s(const char* file, const char* env, char *buf, MSVCRT_size_t count)
 {
@@ -1668,6 +1675,8 @@ void CDECL _wsearchenv(const MSVCRT_wchar_t* file, const MSVCRT_wchar_t* env, MS
 
 /*********************************************************************
  *		_wsearchenv_s (MSVCRT.@)
+ *
+ * Safe version of _wsearchenv.
  */
 int CDECL _wsearchenv_s(const MSVCRT_wchar_t* file, const MSVCRT_wchar_t* env,
                         MSVCRT_wchar_t *buf, MSVCRT_size_t count)
-- 
1.7.4




More information about the wine-patches mailing list