afb7e7196a* poll.cc: New file. Implement `poll' system call. * include/poll.h: Ditto. * include/sys/poll.h: Ditto. * Makefile.in: Add poll.o as dependency. * cygwin.din: Add poll and _poll symbols.
Corinna Vinschen
2000-07-04 16:58:49 +0000
f88cc35383"Posting Guidelines": New name for old entry. "Multiple copies of DLL": shared region corrupt error message. "Why the weird directory structure": re-wrote for latest. "Symlinks on Samba": fix typo. "Where is glibc": new entry. "HT build relocatable dll": (interim update) link to Carl Thompson's message in cygwin list. "Can I mix msvc++ and gcc objects": remove disclaimer.
David Starks-Browning
2000-07-04 16:17:57 +0000
6680b6a589"Contents": Add package opengl.
David Starks-Browning
2000-07-04 16:10:32 +0000
610739191f* dcrt0.cc (dll_crt0_1): Eliminate SetFileApisToOEM and CharToOem. * (dummy_autoload): Add functions used in fhandler_console. * fhandler_console.cc (fhandler_console::read): Use ENCHANCED_KEY flag to distinguish extended keys. Translate an input character from the OEM code page to the ANSI code page. * (fhandler_console::write_normal): Translate output characters from the ANSI code page to the OEM code page. * syscalls.cc (_link): Use MultiByteToWideChar instead of OemToCharW.
Christopher Faylor
2000-07-04 02:26:20 +0000
3b09c754daRevert errnoneous commit.
Christopher Faylor
2000-07-03 20:16:23 +0000
8366e93be9* exceptions.cc (stack_info::walk): Use method to find offset. (handle_exceptions): Be more assertive in finding ebp for use under W2K. Create a dummy stack frame for cases where program is dying and a stack dump is being output. (sig_handle): Fill out a GetThreadContext for use with a user-generated "core dump".
Christopher Faylor
2000-07-03 20:14:06 +0000
4bedf498d6* include/cygwin/socket.h: Remove SOCK_PACKET define since it's not supported by Windows sockets.
Corinna Vinschen
2000-07-03 09:23:11 +0000
b6cdb2c349* dcrt0.cc (user32_init): Add primitive guard against concurrent attempts to call this function. Also add temporary debugging code to display a message if the function is called multiple times. (api32_init): Ditto.
Christopher Faylor
2000-07-03 01:55:17 +0000
0c4d2abd99* winsup.h: Define MAX_SID_LEN and new MAX_HOST_NAME. * fork.cc (fork): Use above defines instead of numerical constants. * shared.cc (sec_user): Ditto. * shared.h (class pinfo): Ditto. * syscall.cc (seteuid): Ditto. * spawn.cc (_spawnve): Ditto. Eliminate conditional. (spawn_guts): Set child->uid = USHRT_MAX when user context will be changed in child process. * uinfo.cc (uinfo_init): Check for myself->uid instead of myself->psid to avoid reloading of /etc/passwd on process startup if ntsec is off. Use above defines instead of numerical constants. * security.cc: Move define for MAX_SID_LEN to winsup.h.
Corinna Vinschen
2000-07-02 10:17:44 +0000
c570d680fbAdd some comments.
Christopher Faylor
2000-07-02 02:03:50 +0000
fdc7052b0f2000-07-01 Koundinya K <kk@ddeorg.soft.net>
Ulf Carlsson
2000-07-02 01:14:54 +0000
760d376e34* uinfo.cc (uinfo_init): Eliminate calls to read_etc_group() and read_etc_passwd().
Corinna Vinschen
2000-07-02 00:00:17 +0000
51b2ec5d03* binmode.c (cygwin_premain0): Fix erroneous clearing of bit. * textmode.c (cygwin_premain0): Ditto.
Christopher Faylor
2000-07-01 15:45:20 +0000
44cac41121Remove asm labelling from _dll_crt0 since it seems to confuse different versions of gcc differently.
Christopher Faylor
2000-07-01 04:40:20 +0000
8c6b7d8a15* Makefile.in: Find getopt.c in cygwin/lib subdirectory.
Christopher Faylor
2000-07-01 04:20:24 +0000
e337fd40cbForgot perthread.h.
Christopher Faylor
2000-07-01 03:52:33 +0000
14a3bc2fa1* Makefile.in: Use variables rather than configure constructs where 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.
Christopher Faylor
2000-07-01 03:51:55 +0000
86e25f234a* peicode.h (coff_swap_filehdr_in): can't use e_magic because we can't assume the PE header is at 0x80. * coff/pe.h: clarify a comment
DJ Delorie
2000-06-30 21:54:03 +0000
d3b715788a* ltconfig: Check for host_os beeing one of `cygwin', `mingw' or `os2'. Force ac_cv_exeext to be ".exe" in that case.
Corinna Vinschen
2000-06-28 20:26:53 +0000
ba2048d3caWed Jun 28 14:08:00 2000 Keith Walker <keith.walker@arm.com>
Jeff Johnston
2000-06-28 18:14:14 +0000
b3cc0634b9* syscalls.cc (seteuid): Initialize pi.token before calling internal_getlogin(). * uinfo.cc (internal_getlogin): Use impersonation token instead of process token in case of active impersonation. Add some comments. (uinfo_init): Initializing myself->token and myself->impersonated before calling internal_getlogin(). Add some comments.
Corinna Vinschen
2000-06-28 17:42:28 +0000
56ea093dbe2000-06-19 Syd Polk <spolk@redhat.com>
Syd Polk
2000-06-27 21:50:33 +0000
4634da64f7Tue Jun 27 15:49:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
Jeff Johnston
2000-06-27 19:51:33 +0000
666b9d7bb8* include/winbase.h: Add stream ids BACKUP_OBJECT_ID, BACKUP_REPARSE_DATA and BACKUP_SPARSE_BLOCK. Add file open flags FILE_FLAG_OPEN_REPARSE_POINT and FILE_FLAG_OPEN_NO_RECALL. * winioctl.h: Add device io control codes FSCTL_GET_REPARSE_POINT, FSCTL_SET_REPARSE_POINT and FSCTL_DELETE_REPARSE_POINT. * winnt.h: Add typedef for GUID. Add file attributes FILE_ATTRIBUTE_ENCRYPTED, FILE_ATTRIBUTE_SPARSE_FILE, FILE_ATTRIBUTE_REPARSE_POINT and FILE_ATTRIBUTE_NOT_CONTENT_INDEXED. Add volume attributes FILE_VOLUME_QUOTAS, FILE_SUPPORTS_SPARSE_FILES, FILE_SUPPORTS_REPARSE_POINTS, FILE_SUPPORTS_REMOTE_STORAGE, FILE_SUPPORTS_OBJECT_IDS and FILE_SUPPORTS_ENCRYPTION. Add several reparse point defines and typedefs for REPARSE_DATA_BUFFER, REPARSE_GUID_DATA_BUFFER and REPARSE_POINT_INFORMATION. * lib/psapi.def: New file.
Corinna Vinschen
2000-06-27 18:21:31 +0000
650536b382Applied Marek Michalkiewicz <marekm@linux.org.pl>'s patch to ehance the AVR port.
Nick Clifton
2000-06-27 01:45:30 +0000
5b082caa62* windows.cc (setitimer): Round up when < 1000 usecs.
Christopher Faylor
2000-06-26 22:33:54 +0000
5a449743bb* hinfo.cc (hinfo::dup2): Guard against out of bounds newfd.
Christopher Faylor
2000-06-26 15:27:12 +0000
84a1af74a2* grp.cc (read_etc_group): Open file in text mode. * pwd.cc (read_etc_passwd): Ditto. * shared.h: Bump PROC_MAGIC.
Christopher Faylor
2000-06-25 03:48:10 +0000
749bdbe92a* cygcheck.cc (cygwin_info): New function. Scans DLL for Cygwin version info. (dll_info): Add path parameter for checking "cygwin1.dll". (track_down): Accomodate additional parameter for dll_info. (ls): Ditto. (dump_sys_info): Always print cygwin1.dll last.
Christopher Faylor
2000-06-25 03:18:54 +0000
bb34ad9674* fork.cc (fork): Fix error in copying SID pointer. * spawn.cc (_spawnve): Ditto. * passwd.cc: Remove static from `passwd_in_memory_p'. (read_etc_passwd): Remove static. * uinfo.cc: Move global declaration of `read_etc_group' and `group_in_memory_p' into `uinfo_init'. (internal_getlogin): Try to get SID from current process first. (uinfo_init): Don't set uid and gid if `myself' has a valid SID. Only load /etc/passwd and /etc/group in that case.
Corinna Vinschen
2000-06-24 17:37:52 +0000
344a1924d9* Makefile.in: Add dummy info targets.
Christopher Faylor
2000-06-22 22:28:35 +0000
d69257a1a4* Makefile.in: Autogenerate cygwin.def when appropriate. * include/sys/cygwin.h: Correct prototype.
Christopher Faylor
2000-06-22 21:51:48 +0000
d7cea2d3ebRevise previous include/sys/cygwin.h change.
Christopher Faylor
2000-06-22 21:05:46 +0000
f33acdb808* include/sys/cygwin.h: Don't define parts of this file that rely on Windows headers unless the Windows header was previously included.
Christopher Faylor
2000-06-22 20:18:17 +0000
5af1047b41Revert.
Christopher Faylor
2000-06-22 19:48:10 +0000
b867695801Remove some files that were added prematurely.
Christopher Faylor
2000-06-22 19:11:32 +0000
98a3dc3bc5* registry.cc (load_registry_hive): Use HKEY_USERS when checking for existing user hive. Use MAX_PATH instead of numerical constant for array size. Use return code of RegLoadKeyA instead of GetLastError for error output.
Corinna Vinschen
2000-06-22 18:54:26 +0000
42030c97d7* rpcdce.h: Protect OPTIONAL definition since it may be (legally) previously defined. * windef.h : Ditto.
Christopher Faylor
2000-06-22 18:37:31 +0000
699dd00b3a* Makefile.in: Add new-libcygwin.a back to all_host target.
Christopher Faylor
2000-06-22 18:28:16 +0000
e282ff799f* Makefile.in: Add *.def to clean operation.
Christopher Faylor
2000-06-21 18:33:19 +0000
159db33b11* Makefile.in: Add *.exe to clean operation.
Christopher Faylor
2000-06-21 17:20:47 +0000
b2a2fdbaa7Display what's going on.
Christopher Faylor
2000-06-21 05:04:56 +0000
32454a4817* mkvers.sh: Fix sed usage for older seds.
Christopher Faylor
2000-06-21 05:03:36 +0000
fb84fe4cbb* Makefile.in: Don't touch winver_stamp if mkvers.sh was unsuccessful.
Christopher Faylor
2000-06-21 00:47:06 +0000
3ce7a5af5a* mkvers.sh: Fix problem with handling of CVS tags causing .rc syntax errors.
Christopher Faylor
2000-06-20 21:42:25 +0000
a704d94a86Tue Jun 20 14:30:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
Jeff Johnston
2000-06-20 18:34:57 +0000
cfeb2c7d79* Makefile.in: Change to build the DLL during a cross-compiler build.
Christopher Faylor
2000-06-20 17:38:55 +0000
fa2ba85814* configure.in: Bow to necessity and build w32api before anything else. * configure: Regenerate.
Christopher Faylor
2000-06-20 17:37:22 +0000
e33e653239TI C54x target added.
Tim Wall
2000-06-20 13:59:03 +0000
a7874ee305* select.cc (socket_cleanup): Shutdown I/O on dummy sockets prior to closing them.
Christopher Faylor
2000-06-20 00:47:52 +0000
e219a2bdf0* dcrt0.cc: Add load statements for `GetSidIdentifierAuthority' and `RegLoadKeyA'. * registry.cc (get_registry_hive_path): New function. (load_registry_hive): Ditto. * security.cc (convert_sid_to_string_sid): New function. (get_ssid): Renamed to `convert_string_sid_to_sid'. (get_pw_sid): Call `convert_string_sid_to_sid' instead of `get_ssid'. (get_gr_sid): Ditto. (get_admin_sid): Ditto. (get_system_sid): Ditto. (get_creator_owner_sid): Ditto. (get_world_sid): Ditto. * shared.h: New prototypes for `get_registry_hive_path' and `load_registry_hive'. * spawn.cc (spawn_guts): Set child->psid to NULL to force calling `internal_getlogin' from child process in case of changing user context. Call `load_registry_hive' in case of changing user context. (_spawnve): Copy user infos only if user context remains the same. * uinfo.cc: Add load statement for `NetUserGetInfo'. Remove load statement for `NetGetDCName'. (internal_getlogin): Rewrite to speed up process startup and to correct user environment in case user context changes. (uinfo_init): Call internal_getlogin only if myself->psid is NULL, that is user context changes. * winsup.h: Add prototypes for `convert_sid_to_string_sid', `convert_string_sid_to_sid' and `get_pw_sid'.
Corinna Vinschen
2000-06-19 17:36:30 +0000
8929e0a70cApplied Stephane Carrez <Stephane.Carrez@worldnet.fr> patches to add support for m68hc11 and m68hc12 processors.
Nick Clifton
2000-06-19 01:22:42 +0000
057d03c110Changed values of MODSYNC and CRCCON as suggest by Russ Magee <rmagee@home.com>
Nick Clifton
2000-06-18 23:29:02 +0000
6d4186757b* fhandler.h (set_name): Don't use 'unix' as name since this is defined by gcc now. * fhandler.cc (set_name): Ditto.
Christopher Faylor
2000-06-18 17:43:45 +0000
ce4a7304b8Add comment.
Christopher Faylor
2000-06-18 01:53:10 +0000
606264878eRevert.
Christopher Faylor
2000-06-18 01:50:07 +0000
a50bf2842f* Makefile.in (subdirs): Eliminate for loop.
Christopher Faylor
2000-06-18 01:49:23 +0000
20c74690602000-06-17 H.J. Lu <hjl@gnu.org>
H.J. Lu
2000-06-17 23:08:19 +0000
4a7a5a717c* Makefile.in (subdirs): Previous change did not fix problem in broken shells.
Christopher Faylor
2000-06-17 22:28:52 +0000
42867d69ae* winsup.h (isabspath): Don't report `C:foo' as an absolute path.
Christopher Faylor
2000-06-17 22:05:19 +0000
e94903eb0f* configure.in: Detect "cross-hosting" situation and set appropriate variables in Makefile to avoid building excess stuff. * configure: Regenerate. * Makefile.in: Accomodate above change.
Christopher Faylor
2000-06-17 17:54:05 +0000
2e6d8441fa* configure.in: Detect "cross-hosting" situation and add a subset of directories to SUBDIRS. * configure: Regenerate.
Christopher Faylor
2000-06-17 17:51:31 +0000
0fa0f12294Add additional info.
Christopher Faylor
2000-06-17 17:50:04 +0000
63d4033c06* Makefile.in: Avoid installing dll if we're cross building and the cross-host system isn't a Windows system.
Christopher Faylor
2000-06-17 17:48:36 +0000
c2a2b38e1f2000-05-06 Zack Weinberg <zack@wolery.cumb.org>
H.J. Lu
2000-06-17 15:51:55 +0000
9bbb81a443* pinfo.cc (pinfo_init): Add missing initializers. * uinfo.cc (internal_getlogin): Request domain infos only when ntsec is ON.
Corinna Vinschen
2000-06-17 11:34:33 +0000
e962f3c5f7* Makefile.in: Just use library files from this tree when building cygrun.exe. * path.cc (chdir): Don't set cache to offending chdir. Change comment to reflect current reality.
Christopher Faylor
2000-06-16 23:39:02 +0000
b585720b59* libc/include/sys/unistd.h: Add prototypes for `seteuid' and `setegid' provided by Cygwin.
Corinna Vinschen
2000-06-16 21:04:37 +0000
64b3062937* cygwin.din: Define symbols for `cygwin_logon_user' and `cygwin_set_impersonation_token'. * dcrt0.cc (dll_crt0_1): Eliminate superfluous conditional statements. Add load statements for `ImpersonateLoggedOnUser', `LogonUserA' and `RevertToSelf'. * fork.cc (fork): Care for correct impersonation of parent and child process. * security.cc (cygwin_set_impersonation_token): New function. (cygwin_logon_user): Ditto. shared.h (class pinfo): New members `orig_uid', `orig_gid', `real_uid' nad `real_gid'. spawn.cc (spawn_guts): Care for impersonation when starting child process in a different user context. * syscalls.cc (setgid): Call `setegid' now. Set real_gid. (setuid): Call `seteuid' now. Set real_uid. (seteuid): Functionality moved from setuid to here. Care for correct impersonation. (setegid): Functionality moved from setgid to here. * uinfo.cc (uinfo_init): Initialization of additional pinfo members. (getuid): Return real uid. (getgid): Return real gid. (geteuid): Return effective uid. (getegid): Return effective gid. include/sys/cygwin.h: Add prototypes for `cygwin_logon_user' and `cygwin_set_impersonation_token'. include/cygwin/version.h: Bumb API minor version to 22.
Corinna Vinschen
2000-06-16 19:36:07 +0000
3875d9e652* path.cc (chdir): Don't set cache to offending chdir. Change comment to reflect current reality.
Christopher Faylor
2000-06-15 22:14:14 +0000
a9706abaffFix some typos.
H.J. Lu
2000-06-15 21:09:01 +0000
26cfd048e3Fix typo.
Christopher Faylor
2000-06-15 20:52:57 +0000
f055d446ffRemove entries from gcc. They don't make much senses here since ChangeLogs in gcc and binutils are quite different.
H.J. Lu
2000-06-15 20:50:48 +0000
06ac6369e12000-06-15 H.J. Lu <hjl@gnu.org>
H.J. Lu
2000-06-15 20:47:02 +0000
d67b540418New file. A brief list of who maintains newlib.
Ranjith Kumaran
2000-06-15 20:17:40 +0000
54ee424711* path.cc (normalize_posix_path): Convert path to POSIX if it seems to be a Windows path.
Christopher Faylor
2000-06-15 19:44:50 +0000
48b1381da1* environ.cc (conv_envvars): Detect and convert all environment variables used by libiberty's choose-temp.c
Christopher Faylor
2000-06-15 03:50:03 +0000
01c327ba27* libc/stdio/fdopen.c (_fdopen_r): Take explicit given bin/textmode into account for Cygwin.
Corinna Vinschen
2000-06-14 22:25:46 +0000
fe905b6259Rewrote "Adding or updating packages", plus a few other minor changes.
David Starks-Browning
2000-06-14 20:56:56 +0000
df031c83f4* include/winnt.h: Add some missing defines related to locale identifiers. Translate values of LANG_* and SUBLANG_* into hexadecimal.
Christopher Faylor
2000-06-14 20:33:31 +0000
a9ba336498Tidied up formatting a bit. New entries: How do I convert between Windows and UNIX paths? Why are compiled executables so huge?!?
David Starks-Browning
2000-06-14 16:34:57 +0000
3092135d8cMinor changes, also add note about deleting temp dir after setup.
David Starks-Browning
2000-06-14 16:08:03 +0000
1edefdeb85Fix simple @-error.
David Starks-Browning
2000-06-13 19:52:51 +0000
024afd70d6* path.cc (mount_info::add_item): The previous patch can't handle the case of overwriting a mount entry.
Christopher Faylor
2000-06-13 16:48:37 +0000
fe871355b5New entry: "How should I set my PATH?"
David Starks-Browning
2000-06-13 16:30:58 +0000
a15ada7034Removed a couple of "not yet updated" disclaimers. New entry: "info error "dir: No such file or directory""
David Starks-Browning
2000-06-13 16:12:44 +0000
20fe2a85bc"Installation using the setup.exe program": minor note not to mess with default mounts. "Adding or updating packages": full instructions now, not just links to ml. New: subsection "Problems running setup.exe" subsubsection "Error message: "Unable to retrieve the list of cygwin mirrors..."" subsubsection "System hangs when unpacking tar archives"
David Starks-Browning
2000-06-13 14:58:35 +0000
00660f0110* thread.h: Shorten "current_directory" variables to "cwd_*" throughout. * path.cc: Ditto. (normalize_posix_path): Add some extra debugging info. (chdir): Ditto. Store chdir'ed posix and MS-DOS directory names in "cache" here rather than trying to derive them later.
Christopher Faylor
2000-06-13 04:40:36 +0000
a50b13da06Merge "Installation and Setup" and "Using Cygwin Releases" to simply "Using Cygwin". Significant update to "How can I access other drives?".
David Starks-Browning
2000-06-12 21:46:19 +0000