Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | * Makefile.in (DLL_OFILES): Add getopt.o and iruserok.o. | Corinna Vinschen | 2003-09-10 | 1 | -503/+0 |
| | | | | | | | | | | | | | | | | * 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. | ||||
* | * lib/getopt.c: Refresh from NetBSD sources. | Christopher Faylor | 2003-03-03 | 1 | -18/+28 |
| | |||||
* | * lib/getopt.c: Nuke use of unneeded BSDisms. | Christopher Faylor | 2003-03-02 | 1 | -8/+3 |
| | |||||
* | * lib/getopt.c: Allow environment variable control of POSIXLY_INCORRECT ↵ | Christopher Faylor | 2003-01-30 | 1 | -5/+2 |
| | | | | behavior. | ||||
* | * lib/getopt.c (getopt_internal): Reset optind to 1 only if optreset | Corinna Vinschen | 2001-11-07 | 1 | -1/+1 |
| | | | | is not set. | ||||
* | Eliminate excess whitespace. | Christopher Faylor | 2001-11-05 | 1 | -6/+6 |
| | |||||
* | * select.cc (peek_pipe): Only grab mutex when we actually got something from | Christopher Faylor | 2001-09-24 | 1 | -1/+6 |
| | | | | the pipe. | ||||
* | * lib/getopt.c (__progname): Don't declare if not compiling for cygwin. | Christopher Faylor | 2001-09-19 | 1 | -2/+2 |
| | |||||
* | * lib/getopt.c (getopt_long): Avoid compiler warning. | Corinna Vinschen | 2001-09-19 | 1 | -1/+1 |
| | |||||
* | * lib/getopt.c: Use __progname==__argv[0] when not compiling for cygwin. | Christopher Faylor | 2001-09-19 | 1 | -0/+3 |
| | | | | * scandir.cc (scandir): Use correct default when compar == NULL. | ||||
* | * cygwin.din (__argv): Export. | Christopher Faylor | 2001-09-19 | 1 | -297/+399 |
| | | | | | | | (__argc): Ditto. (__progname): Ditto. * include/getopt.h (getopt_long): constify arguments. * lib/getopt.c: Import new file from NetBSD. | ||||
* | Whitespace cleanup. | Christopher Faylor | 2000-10-28 | 1 | -2/+2 |
| | | | | | | * configure.in: Eliminate subdir stuff. * configure: Regenerate. * include/getopt.h (option): Make name field 'const'. | ||||
* | * Makefile.in: Use variables rather than configure constructs where | Christopher Faylor | 2000-07-01 | 1 | -0/+391 |
appropriate. (LIBCOS): Find additional stub library stuff in their own subdirectory. * dcrt0.cc: Convert user_data pointer to static __cygwin_user_data area. (do_global_ctors): Check magic_bisquit for initialization. (dll_crt0_1): First group of premain functions prior to fd initialization. Run second group before calling main. (dll_crt0 ()): New function, called from new initialization code. (dll_crt0 (per_process *uptr)): Call new dll_crt0 () function on initialization. * debug.cc (thread_stub): Initialize bottom of stack with per-thread info. * environ.cc (parse_thing): Use binmode global to control CYGWIN=binmode behavior. * fhandler.cc (fhandler_base::open): Allow explicit setting of __fmode to O_BINARY or O_TEXT to override disk mount settings. * libcmain.cc: Move to lib subdirectory. * libccrt0.cc: Ditto. * dll_main.cc: Ditto. * dll_entry.cc: Ditto. * getopt.c: Ditto. * thread.cc (thread_init_wrapper): Call ExitThread explicitly rather than returning, as a preliminary step towards placing per thread info at the bottom of the stack. * winsup.h: Move per_process class to include/sys/cygwin.h. Declare new dll_crt0(). * include/cygwin/version.h: Bump API minor version. * binmode.c: New file. * textmode.c: Ditto. * lib/_cygwin_crt0_common.cc: Ditto. * lib/crt0.h: Ditto. * lib/cygwin_attach_dll.c: Ditto. * lib/cygwin_crt0.c: Ditto. * lib/dll_entry.cc: Ditto. * lib/dll_main.cc: Ditto. * lib/getopt.c: Ditto. * lib/libcmain.c: Ditto. * lib/premain0.c: Ditto. * lib/premain1.c: Ditto. * lib/premain2.c: Ditto. * lib/premain3.c: Ditto. |