* Makefile.in (DLL_OFILES): Add getopt.o and iruserok.o.

* cygwin.din: Export __check_rhosts_file, __rcmd_errstr, optarg,
	opterr, optind, optopt, optreset, getopt, getopt_long, iruserok
	and ruserok.
	* getopt.c: Moved from lib to here.  Define opt* variables as
	dllexport.
	* iruserok.c: Moved from lib to here.  Rearrange function order.
	Prefer using 64/32 bit functions.
	* syscalls.cc (shell_fp): Define as struct __sFILE64.
	(getusershell): Use fopen64 instead of fopen.
	* winsup.h: Add declarations for seteuid32, fopen64,
	cygwin_gethostbyname and cygwin_inet_addr.
	* include/getopt.h: Declare opt* variables dllimport.
	* include/cygwin/version.h: Bump API minor number.
This commit is contained in:
Corinna Vinschen
2003-09-10 19:13:05 +00:00
parent 6d2d2bce72
commit 932a40e86b
9 changed files with 190 additions and 200 deletions

View File

@@ -3,10 +3,12 @@ LIBRARY "cygwin1.dll" BASE=0x61000000
EXPORTS
__argc DATA
__argv DATA
__check_rhosts_file DATA
__cygwin_environ DATA
__cygwin_user_data DATA
__mb_cur_max DATA
__progname DATA
__rcmd_errstr DATA
_check_for_executable DATA
_ctype_ DATA
_daylight DATA
@@ -17,6 +19,11 @@ sys_nerr = _sys_nerr DATA
_timezone DATA
_tzname DATA
h_errno DATA
optarg DATA
opterr DATA
optind DATA
optopt DATA
optreset DATA
reent_data DATA
@ALLOCA@
@DEF_DLL_ENTRY@
@@ -617,6 +624,8 @@ getmntent
_getmntent = getmntent
getmode
_getmode = getmode
getopt
getopt_long
getpagesize
_getpagesize = getpagesize
getpass
@@ -704,6 +713,8 @@ ioctl
_ioctl = ioctl
iprintf
_iprintf = iprintf
iruserok
ruserok
isalnum
_isalnum = isalnum
isalpha