* cygwin.din: Accomodate change from cygwin_lstat to lstat.
* syscalls.cc: Add defines to avoid declaration issues when renaming cygwin_lstat back to lstat. (lstat): Reverted name change from cygwin_lstat.
This commit is contained in:
parent
2c34141c56
commit
ae89a49602
|
@ -1,3 +1,10 @@
|
||||||
|
2003-08-13 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
|
* cygwin.din: Accomodate change from cygwin_lstat to lstat.
|
||||||
|
* syscalls.cc: Add defines to avoid declaration issues when
|
||||||
|
renaming cygwin_lstat back to lstat.
|
||||||
|
(lstat): Reverted name change from cygwin_lstat.
|
||||||
|
|
||||||
2003-08-12 Corinna Vinschen <corinna@vinschen.de>
|
2003-08-12 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* include/sys/param.h (NBBY): Define if not defined.
|
* include/sys/param.h (NBBY): Define if not defined.
|
||||||
|
|
|
@ -288,8 +288,8 @@ cygwin_internal
|
||||||
cygwin32_internal = cygwin_internal
|
cygwin32_internal = cygwin_internal
|
||||||
listen = cygwin_listen
|
listen = cygwin_listen
|
||||||
cygwin_logon_user
|
cygwin_logon_user
|
||||||
_lstat = cygwin_lstat
|
lstat
|
||||||
lstat = cygwin_lstat
|
_lstat = lstat
|
||||||
cygwin_posix_path_list_p
|
cygwin_posix_path_list_p
|
||||||
cygwin32_posix_path_list_p = cygwin_posix_path_list_p
|
cygwin32_posix_path_list_p = cygwin_posix_path_list_p
|
||||||
cygwin_posix_to_win32_path_list
|
cygwin_posix_to_win32_path_list
|
||||||
|
|
|
@ -9,6 +9,7 @@ Cygwin license. Please consult the file "CYGWIN_LICENSE" for
|
||||||
details. */
|
details. */
|
||||||
|
|
||||||
#define fstat __FOOfstat__
|
#define fstat __FOOfstat__
|
||||||
|
#define lstat __FOOlstat__
|
||||||
#define stat __FOOstat__
|
#define stat __FOOstat__
|
||||||
#define _close __FOO_close__
|
#define _close __FOO_close__
|
||||||
#define _lseek __FOO_lseek__
|
#define _lseek __FOO_lseek__
|
||||||
|
@ -38,6 +39,7 @@ details. */
|
||||||
#include <rpc.h>
|
#include <rpc.h>
|
||||||
|
|
||||||
#undef fstat
|
#undef fstat
|
||||||
|
#undef lstat
|
||||||
#undef stat
|
#undef stat
|
||||||
|
|
||||||
#include <cygwin/version.h>
|
#include <cygwin/version.h>
|
||||||
|
@ -1199,7 +1201,7 @@ lstat64 (const char *name, struct __stat64 *buf)
|
||||||
|
|
||||||
/* lstat: Provided by SVR4 and 4.3+BSD, POSIX? */
|
/* lstat: Provided by SVR4 and 4.3+BSD, POSIX? */
|
||||||
extern "C" int
|
extern "C" int
|
||||||
cygwin_lstat (const char *name, struct __stat32 *buf)
|
lstat (const char *name, struct __stat32 *buf)
|
||||||
{
|
{
|
||||||
struct __stat64 buf64;
|
struct __stat64 buf64;
|
||||||
int ret = lstat64 (name, &buf64);
|
int ret = lstat64 (name, &buf64);
|
||||||
|
|
Loading…
Reference in New Issue