aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2002-06-14 * passwd.c: Rearrange includes to avoid unnecessary warnings.Corinna Vinschen2-15/+50
(GetPW): Add parameter to (dis)allow printing of Windows username. Use defines instead of numerical constants where possible. Try avoiding impersonation problem. Rearrange to print Windows username only if it's different from Cygwin username. (ChangePW): Use defines instead of numerical constants where possible. (main): Call GetPW with additional parameter. Change error text. * passwd.c (GetPW): Handle case of user-edited /etc/passwd with cygwin_internal (CW_EXTRACT_DOMAIN_AND_USER, ...).
2002-06-14 * include/wingdi.h (GetEnhMetaFileBits): Correct typo.Earnie Boyd2-2/+6
2002-06-132002-06-13 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston5-22/+81
* libc/include/stdlib.h: Add _Exit prototype. * libc/stdlib/Makefile.am: Add _Exit.c support. * libc/stdlib/Makefile.in: Ditto. * libc/stdlib/_Exit.c: New file.
2002-06-13Fix typo.Jeff Johnston1-2/+0
2002-06-132002-06-13 Stephen L. Moshier <steve@moshier.net>Jeff Johnston3-2/+11
* libm/math/e_pow.c (__ieee754_pow): Fix case whereby x is close to -1.0 and y is very large to use ax (absolute value) instead of x. * libm/math/ef_pow.c (__ieee754_powf): Ditto.
2002-06-13 * include/wingdi.h: (GetEnhMetaFileBits): Define prototype.Earnie Boyd2-0/+2
2002-06-13 * libc/machine/sh/strcpy.S (strcpy, __SHMEDIA__ code):Joern Rennecke2-3/+11
Fix clobbering bytes before destination if src and dst have same non-zero misalignment.
2002-06-13fix typoChristopher Faylor1-1/+1
2002-06-13* winver.rc: Add more words to copyright.Christopher Faylor7-6/+9
2002-06-13 * cygheap.cc (cygheap_user::set_name): Revert previous change.Corinna Vinschen3-1/+10
* environ.cc (spenv::retrieve): Check return value of call to cygheap->user.*from_cygheap().
2002-06-13 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):Joern Rennecke2-2/+9
Fixed bug in writing end of set region.
2002-06-13 * include/winuser.h (MOUSEHOOKSTRUCT): Define structure.Earnie Boyd2-0/+10
2002-06-13 * cygheap.cc (cygheap_user::set_name): Remove setting homedrive andCorinna Vinschen3-4/+11
homepath to NULL. (cygheap_user::set_logsrv): Fix free'ing of plogsrv. * cygheap.h (cygheap_user::cygheap_user): Initialize homedrive and homepath to NULL.
2002-06-13 * include/_mingw.h: Increment version to 2.0.Danny Smith120-1177/+6602
* Makefile.in: Ditto. Merge in mingwex branch.
2002-06-13* security.cc (get_logon_server): Use strcasematch rather than strcasecmp.Christopher Faylor2-5/+10
2002-06-13* path.cc (chdir): Minor cleanup.Christopher Faylor3-4/+8
2002-06-13* environ.cc (build_env): Correctly fill out windows environment block withChristopher Faylor2-29/+64
win32 paths rather than posix paths.
2002-06-132002-06-13 John K. Hohm <jhohm@acm.org>Danny Smith3-0/+180
* include/comcat.h: New file.
2002-06-12Add the file include/gdb/sim-arm.h defining an enum that specifies theAndrew Cagney2-0/+69
register numbering used by the GDB<->SIM interface.
2002-06-12Add dumper.exe words from Egor Duda.Christopher Faylor1-0/+46
2002-06-12* Makefile.in (CFLAGS_FOR_TARGET): Add -O2.DJ Delorie2-1/+9
2002-06-12* cygheap.cc (cygheap_user::set_name): Set homedrive and homepath to NULL onChristopher Faylor7-179/+344
user name change. (cygheap_user::set_logsrv): Allocate enough space for leading \\ so that we can put this in the environment, if needed. * cygheap.h (homebodies): New enum. (cygheap_user::homedrive): New field. (cygheap_user::homepath): Ditto. (cygheap_user::env_logsrv): New method. (cygheap_user::env_homepath): New method. (cygheap_user::env_homedrive): New method. (cygheap_user::env_userprofile): New method. (cygheap_user::ontherange): New method. * environ.cc (envsize): Eliminate debugging argument. (environ_init): Assume that envc counts number of elments not total size. (spenv): New class. (spenvs): New array, renamed from forced_winenv_vars, using spenv. (spenv::retrieve): New method. (build_env): Rename from 'winenv' -- one stop shopping for building new environment blocks for both windows and "unix". * environ.h (build_env: Declare. (winenv): Delete declaration. (envsize): Ditto. * spawn.cc (spawn_guts): Use build_env to build windows and cygwin environment blocks. * uinfo.cc (internal_getlogin): Eliminate environment manipulation. Default to info from GetUserName if it exists. Move HOMEPATH and HOMEDRIVE stuff elsewhere. Move HOME setting elsewhere. Only set HOME environment variable in processes that are not parented by a cygwin process. (cygheap_user::ontherange): Define new method. (cygheap_user::env_logsrv): Ditto. (cygheap_user::env_homepath): Ditto. (cygheap_user::env_homedrive): Ditto. (cygheap_user::env_userprofile): Ditto.
2002-06-11fix commentChristopher Faylor1-8/+1
2002-06-11* spawn.cc (spawn_guts): More hToken removal cleanup.Christopher Faylor4-31/+30
2002-06-11Import latest version of texi2pod.pl from FSF GCC sources.Nick Clifton2-45/+125
2002-06-11Revoke adding mh-s390xpic. Doesn't make any sense because it is notMartin Schwidefsky2-5/+0
referenced from anywhere.
2002-06-112002-06-11 Martin Schwidefsky <schwidefsky@de.ibm.com>Martin Schwidefsky2-0/+5
* mh-s390xpic: New file.
2002-06-11* libc/include/process.h: Remove cygwin-only sexec* declarations. Fix spawnveChristopher Faylor2-18/+6
declaration.
2002-06-11* spawn.cc (spawn_guts): Define sec_attribs and call sec_user_nih() only once.Christopher Faylor2-11/+14
2002-06-11* Makefile.in: Ensure that -MD gets added to CFLAGS regardless of CFLAGSChristopher Faylor8-170/+55
command-line setting. * cygwin.din: Export sexec* functions as function which returns ENOSYS (i.e., sexec* is deprecated). * dtable.cc (dtable::vfork_child_dup): Ensure that impersonation is restored even on failure. * exec.cc: Throughout, remove references to sexec* and _spawnve. * pinfo.h: Remove _spawnve declaration. * spawn.cc: Rename _spawnve to spawnve and use throughout. (spawn_guts): Eliminate hToken argument and processing of same. Just perform special actions if impersonating. (spawnve): Rename from _spawnve.
2002-06-10revert erroneous checkinChristopher Faylor1-1/+1
2002-06-10* include/sys/strace.h (strace): Avoid use of constructor.Christopher Faylor4-3/+6
2002-06-10* dcrt0.cc (dll_crt0_1): Initialize wincap and check for sanity before runningChristopher Faylor4-4/+12
global ctors. * wincap.h (wincap): Eliminate constructor. Default is to zero memory, anyway. * wincap.cc (wincap): Copy this on fork to avoid initialization in forked processes.
2002-06-10 * fhandler.h (fhandler_socket::fixup_after_fork): Revert patch fromCorinna Vinschen4-15/+17
2002-06-04. * fhandler_socket.cc (fhandler_socket::fixup_after_fork): Ditto. (fhandler_socket::dup): Ditto. * net.cc (fdsock): Make sockets explicitely noninheritable on NT.
2002-06-10/tmp/cvs610a0a90.1Robert Collins3-42/+90
2002-06-10* fhandler_disk_file.cc (fhandler_disk_file::fstat_helper): Correctly setChristopher Faylor2-11/+17
number of links for directory, if appropriate.
2002-06-102002-06-10 Robert Collins <rbtcollins@hotmail.com>Robert Collins6-34/+142
* cygwin.din: Add _pthread_cleanup_push and _pthread_cleanup_pop. * pthread.cc: Change __pthread_self to pthread::self() thruoghout. (_pthread_cleanup_push): New function. (_pthread_cleanup_pop): Ditto. * thread.cc: Thanks to Thomas Pfaff for the pthread cleanup_push,_pop patch, this work is derived from that. Change __pthread_self to pthread::self() thruoghout. (__pthread_self): Rename to pthread::self. (pthread::self): New method. (pthread::pthread): Initialize new member. (pthread::push_cleanup_handler): New method. (pthread::pop_cleanup_handler): New method. (pthread::pop_all_cleanup_handlers): New method. (__pthread_exit): Pop all cleanup handlers. * thread.h (pthread::push_cleanup_handler): Declare. (pthread::pop_cleanup_handler): Ditto. (pthread::pop_all_cleanup_handlers): Ditto. (pthread::self): New static method. (__pthread_exit): Give C++ linkage. (__pthread_join): Ditto. (__pthread_detach): Ditto. (__pthread_self): Remove. 2002-04-24 Thomas Pfaff <tpfaff@gmx.net> * include/pthread.h (__pthread_cleanup_handler): New structure (pthread_cleanup_push): Rewritten . (pthread_cleanup_pop): Ditto. (_pthread_cleanup_push): New prototype. (_pthread_cleanup_pop) Ditto. 2002-04-24 Thomas Pfaff <tpfaff@gmx.net> * thread.cc (thread_init_wrapper): Check if thread is already joined. (__pthread_join): Set joiner first. (__pthread_detach): Ditto.
2002-06-092002-06-10 Robert Collins <rbtcollins@hotmail.com>Robert Collins3-2/+8
* cygserver_transport.cc (create_server_transport): Finish the split out of sockets code from transport_layer_base. Thanks to Nicholas Wourms and Conrad Scott for catching this.
2002-06-09Move include/callback.h and include/remote-sim.h to include/gdb/.Andrew Cagney4-0/+10
Update accordingly.
2002-06-09* path.cc (cygpath): Change MOUNT_AUTO to MOUNT_CYGDRIVE.Christopher Faylor2-3/+8
(getmntent): Ditto.
2002-06-092002-06-09 Gunnar Degnbol <gdegnbol@users.sourceforge.net>Danny Smith2-0/+23
* include/richedit.h (EM_*, TM_*, GT_*): Add new defines. (GETTEXTEX): Add structure definition.
2002-06-09* mount.cc (main): Use default system/user flag for cygdrive stuff, too.Christopher Faylor3-4/+12
(change_cygdrive_prefix): Change MOUNT_AUTO to MOUNT_CYGDRIVE. * umount.cc (remove_cygdrive_prefix): Ditto. (main): Use default system/user flag for cygdrive stuff, too.
2002-06-09* pinfo.cc (pinfo_dummy): Initialize to correct size.Christopher Faylor2-1/+5
2002-06-09 * include/windows.h (ole2.h): #include if !__OBJC__ andDanny Smith2-0/+10
__GNUC__ >=3 and !WIN32_LEAN_AND_MEAN.
2002-06-09* configure.in (vax-*-netbsd*): Re-enable gas.Jason Thorpe2-4/+4
2002-06-09* path.cc: Change MOUNT_AUTO to MOUNT_CYGDRIVE throughout.Christopher Faylor3-11/+16
* shared_info.h (CURR_MOUNT_MAGIC): Update.
2002-06-09* mount.cc (opts): Remove '-i' option.Christopher Faylor2-17/+8
(usage): Ditto. (main): Ditto. (longopts): Remove --import-old-mounts option.
2002-06-09* external.cc (cygwin_internal): Make v1 mount table access invalid.Christopher Faylor5-89/+17
* path.cc (mount_info::init): Remove had_to_create_mount_areas initialization. (mount_info::from_registry): Remove v1 table import. (mount_info::read_v1_mounts): Eliminate. (mount_info::import_v1_mounts): Ditto. * shared_info.h (mount_info): Ditto for both of above. * sys/mount.h (MOUNT_DEVFS): New enum. (MOUNT_PROC): Ditto.
2002-06-08* include/wchar.h: Define __need_size_t.Christopher Faylor2-0/+5
2002-06-08 * a29k.h: Replace CONST with const.Alan Modra5-45/+42
(CONST): Don't define. * convex.h: Replace CONST with const. (CONST): Don't define. * dlx.h: Replace CONST with const. * or32.h (CONST): Don't define.