summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Revoke adding mh-s390xpic. Doesn't make any sense because it is notMartin Schwidefsky2002-06-112-5/+0
| | | | referenced from anywhere.
* 2002-06-11 Martin Schwidefsky <schwidefsky@de.ibm.com>Martin Schwidefsky2002-06-112-0/+5
| | | | * mh-s390xpic: New file.
* * libc/include/process.h: Remove cygwin-only sexec* declarations. Fix spawnveChristopher Faylor2002-06-112-18/+6
| | | | declaration.
* * spawn.cc (spawn_guts): Define sec_attribs and call sec_user_nih() only once.Christopher Faylor2002-06-112-11/+14
|
* * Makefile.in: Ensure that -MD gets added to CFLAGS regardless of CFLAGSChristopher Faylor2002-06-118-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.
* revert erroneous checkinChristopher Faylor2002-06-101-1/+1
|
* * include/sys/strace.h (strace): Avoid use of constructor.Christopher Faylor2002-06-104-3/+6
|
* * dcrt0.cc (dll_crt0_1): Initialize wincap and check for sanity before runningChristopher Faylor2002-06-104-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.
* * fhandler.h (fhandler_socket::fixup_after_fork): Revert patch fromCorinna Vinschen2002-06-104-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.
* /tmp/cvs610a0a90.1Robert Collins2002-06-103-42/+90
|
* * fhandler_disk_file.cc (fhandler_disk_file::fstat_helper): Correctly setChristopher Faylor2002-06-102-11/+17
| | | | number of links for directory, if appropriate.
* 2002-06-10 Robert Collins <rbtcollins@hotmail.com>Robert Collins2002-06-106-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-10 Robert Collins <rbtcollins@hotmail.com>Robert Collins2002-06-093-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.
* Move include/callback.h and include/remote-sim.h to include/gdb/.Andrew Cagney2002-06-094-0/+10
| | | | Update accordingly.
* * path.cc (cygpath): Change MOUNT_AUTO to MOUNT_CYGDRIVE.Christopher Faylor2002-06-092-3/+8
| | | | (getmntent): Ditto.
* 2002-06-09 Gunnar Degnbol <gdegnbol@users.sourceforge.net>Danny Smith2002-06-092-0/+23
| | | | | * include/richedit.h (EM_*, TM_*, GT_*): Add new defines. (GETTEXTEX): Add structure definition.
* * mount.cc (main): Use default system/user flag for cygdrive stuff, too.Christopher Faylor2002-06-093-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.
* * pinfo.cc (pinfo_dummy): Initialize to correct size.Christopher Faylor2002-06-092-1/+5
|
* * include/windows.h (ole2.h): #include if !__OBJC__ andDanny Smith2002-06-092-0/+10
| | | | __GNUC__ >=3 and !WIN32_LEAN_AND_MEAN.
* * configure.in (vax-*-netbsd*): Re-enable gas.Jason Thorpe2002-06-092-4/+4
|
* * path.cc: Change MOUNT_AUTO to MOUNT_CYGDRIVE throughout.Christopher Faylor2002-06-093-11/+16
| | | | * shared_info.h (CURR_MOUNT_MAGIC): Update.
* * mount.cc (opts): Remove '-i' option.Christopher Faylor2002-06-092-17/+8
| | | | | | (usage): Ditto. (main): Ditto. (longopts): Remove --import-old-mounts option.
* * external.cc (cygwin_internal): Make v1 mount table access invalid.Christopher Faylor2002-06-095-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.
* * include/wchar.h: Define __need_size_t.Christopher Faylor2002-06-082-0/+5
|
* * a29k.h: Replace CONST with const.Alan Modra2002-06-085-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.
* coerceChristopher Faylor2002-06-081-1/+1
|
* * fhandler_socket.cc (fhandler_socket::fstat): Don't assume that socket isChristopher Faylor2002-06-083-4/+23
| | | | | | unix-domain socket. * times.cc (hires_ms::prime): Set init flag. * times.cc (hires_ms::prime): Adjust epoch of initime_us from 1601 to 1970.
* * libm/common/s_fdim.c: New file.Thomas Fitzsimmons2002-06-07242-2621/+17008
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libm/common/s_fma.c: Likewise. * libm/common/s_fmax.c: Likewise. * libm/common/s_fmin.c: Likewise. * libm/common/s_fpclassify.c: Likewise. * libm/common/s_lrint.c: Likewise. * libm/common/s_lround.c: Likewise. * libm/common/s_nearbyint.c: Likewise. * libm/common/s_remquo.c: Likewise. * libm/common/s_round.c: Likewise. * libm/common/s_scalbln.c: Likewise. * libm/common/s_signbit.c: Likewise. * libm/common/s_trunc.c: Likewise. * libm/common/sf_fdim.c: Likewise. * libm/common/sf_fma.c: Likewise. * libm/common/sf_fmax.c: Likewise. * libm/common/sf_fmin.c: Likewise. * libm/common/sf_lrint.c: Likewise. * libm/common/sf_lround.c: Likewise. * libm/common/sf_nearbyint.c: Likewise. * libm/common/sf_remquo.c: Likewise. * libm/common/sf_round.c: Likewise. * libm/common/sf_scalbln.c: Likewise. * libm/common/sf_trunc.c: Likewise. * libm/math/w_exp2.c: Likewise. * libm/math/w_tgamma.c: Likewise. * libm/math/wf_exp2.c: Likewise. * libm/math/wf_tgamma.c: Likewise. * libm/mathfp/s_exp2.c: Likewise. * libm/mathfp/s_tgamma.c: Likewise. * libm/mathfp/sf_exp2.c: Likewise. * libm/mathfp/sf_tgamma.c: Likewise. * libm/math/er_gamma.c: Fix return value. * libm/math/erf_gamma.c: Likewise. * libm/mathfp/er_gamma.c: Likewise. * libm/mathfp/erf_gamma.c: Likewise. * libc/include/math.h (!__STRICT_ANSI__): Include ISOC99-specific declarations and macros. Regenerated all Makefile.in, aclocal.m4 and configure files to use new libtool macros in top-level libtool.m4
* * cygpath.cc: Add option to output windows paths in different formats: "dos"Christopher Faylor2002-06-073-6/+69
| | | | | | and "mixed". (main): Process options. (doit): Check new options flags.
* Enable pei386_auto_import by default. Only print a info message about autoNick Clifton2002-06-072-15/+22
| | | | | imports being resilved if this feature was not requested via a command line switch.
* * regtool.cc (Fail): Be more verbose.Corinna Vinschen2002-06-073-20/+70
| | | | | | (find_key): Add support for remote registry access. (usage): Document it. * utils.sgml: Document it.
* * autoload.cc (timeGetDevCaps): Define new autoload function.Christopher Faylor2002-06-075-8/+91
| | | | | | | | | | | | | | | | (timeGetTime): Ditto. (timeBeginPeriod): Ditto. (timeEndPeriod): Ditto. * hires.h (hires_base): New class. Renamed from hires. (hires_us): New class. (hires_ms): New class. * strace.cc (strace::microseconds): Use hires_us class. * times.cc (gettimeofday): Use hires-ms class. (hires_us::prime): Renamed from hires::prime. (hires_us::usecs): Renamed from hires:usecs. (hires_ms::prime): New method. (hires_ms::usecs): New method. (hires_ms::~hires_ms): New destructor.
* * strace.cc (main): Make toggle a local variable.Christopher Faylor2002-06-072-1/+5
|
* * strace.cc (toggle): New global variable.Christopher Faylor2002-06-073-26/+73
| | | | | | | | | | | | | (error): Use exit instead of ExitProcess so that stdio buffers get flushed. (create_child): Remove command line error checking. (dostrace): Ditto. (dotoggle): New function. (usage): Add entry for new option -T|--toggle. Alphabetize. (longopts): Add new option -T|--toggle. (opts): Ditto. (main): Handle new -T|--toggle option. Move all command line checking here from other functions. * utils.sgml: Update section for strace.
* 2002-06-07 Gunnar Degnbol <gdegnbol@users.sourceforge.net>Danny Smith2002-06-072-32/+36
| | | | * include/mapi.h: Change LPTSTR to LPSTR throughout.
* * autoload.cc (noload): Correctly save argument count register.Christopher Faylor2002-06-064-14/+19
|
* * fhandler.cc (fhandler_base::fstat): Initialise tv_nsec member ofCorinna Vinschen2002-06-0610-29/+90
| | | | | | | | | | | | | | | | | | st_atim, st_mtim, and st_ctim fields. * fhandler_disk_file.cc (fhandler_disk_file::fstat_helper): Ditto. * fhandler_process.cc (fhandler_process::fstat): Ditto. * glob.c (stat32_to_STAT): Copy across the whole st_atim, st_mtime, and st_ctim fields. * syscalls.cc (stat64_to_stat32): Ditto. * times.cc (to_timestruc_t): New function. (time_as_timestruc_t): New function. * winsup.h: Add to_timestruc_t and time_as_timestruc_t functions. * include/cygwin/stat.h: Replace time_t with timestruc_t throughout for all file times, removing the st_spare1, st_spare2, and st_spare3 fields in the process. Add macros to access tv_sec fields by old names. * include/cygwin/types.h: Typedef timespec_t and timestruc_t as struct timespec.
* merge from gccDJ Delorie2002-06-062-12/+52
|
* * sec_helper.cc (lookup_name): Suppress.Corinna Vinschen2002-06-067-28/+47
| | | | | | | | | | | | | | | | | | | | | * security.cc (alloc_sd): Remove logsrv argument. Remove two calls to lookup_name. (set_security_attribute): Remove logsrv argument. Remove logsrv argument in call to alloc_sd. (set_nt_attribute): Remove logsrv argument. Remove logsrv argument in call to set_security_attribute. (set_file_attribute): Remove logsrv argument. Remove logsrv argument in call to set_nt_attribute. (set_file_attribute): Remove logsrv argument. Remove logsrv argument in call to set_file_attribute. * syscalls.cc (chown_worker): Remove logserver argument in call to set_file_attribute. (chmod): Ditto. * shm.cc (shmget): Remove logsrv argument in call to alloc_sd. * uinfo.cc (internal_getlogin): Replace calls to lookup_name by call to LookupAccountName. * security.h: Remove logsrv in declarations of set_file_attribute and alloc_sd. Remove declaration of lookup_name.
* * common.h: Change registry@sco.com to registry@caldera.com.Alan Modra2002-06-062-2/+9
| | | | (EM_PDP10, EM_PDP11): Define.
* Fix ChangeLog entry.Corinna Vinschen2002-06-061-5/+5
|
* * strace.cc (version): New global variable.Christopher Faylor2002-06-062-20/+49
| | | | | (usage): Accomodate stdout output. (print_version): New function.
* * child_info.h (CHILD_INFO_MAGIC): Oops. Revert previous change. gcc 3.1 bug?Christopher Faylor2002-06-063-3/+8
|
* * child_info.h (CHILD_INFO_MAGIC): Update.Christopher Faylor2002-06-062-1/+5
|
* * strace.cc (strace::hello): Set inited, when appropriate.Christopher Faylor2002-06-063-2/+7
|
* * ssp.c (version): New global variable.Christopher Faylor2002-06-062-108/+265
| | | | | | | | | | (longopts): Ditto. (opts): Ditto. (run_program): Correct cmd_line typos to cmdline. (usage): New function. Standardize usage output. Add ssp.txt to --help output. (print_version): New function. (main): Accommodate getopt.
* * cygwin.din: Eliminate some newlib wrappers.Christopher Faylor2002-06-064-27/+29
| | | | | | | * path.cc (get_devn): Only consider first 99 potential com devices. (get_device_number): Ditto. * times.cc (_times): Eliminate. (_times): Renamed from times().
* 2002-06-05 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-06-0520-58/+539
| | | | | | | | | | | | | | | | | | | | | | | | * libc/include/string.h[__linux__]: Add strsignal prototype. * libc/include/sys/lock.h: New file with default locking support. * libc/include/sys/reent.h: Add signal buffer support for strsignal and psignal. * libc/posix/Makefile.am: Add support for readdir_r.c. * libc/posix/Makefile.in: Regenerated. * libc/posix/closedir.c: Add locking support and hash table cleanup. * libc/posix/opendir.c: Add lock support. * libc/posix/readdir.c: Ditto. * libc/posix/rewinddir.c: Ditto. * libc/posix/scandir.c: Ditto. * libc/posix/seekdir.c: Ditto. * libc/posix/telldir.c: Ditto plus add _cleanupdir routine to clean up leftover hash table entries. * libc/posix/readdir_r.c: New file. * libc/sys/linux/Makefile.am: Add psignal.c and strsignal.c support. * libc/sys/linux/Makefile.in: Regenerated. * libc/sys/linux/sys/dirent.h: Add dd_lock to DIR structure. * libc/sys/linux/sys/signal.h: Add psignal prototype. * libc/sys/linux/psignal.c: New file. * libc/sys/linux/strsignal.c: Ditto.
* * dir.cc (rmdir): Streamline. Detect attempts to remove directories fromChristopher Faylor2002-06-053-26/+34
| | | | | | "read-only" virtual devices. (Suggested by Pavel Tsekov) * syscalls.cc (unlink): Detect attempts to remove directories from "read-only" virtual devices. (From Pavel Tsekov)
* * dtable.cc (handle_to_fn): Check error return value from NtQueryObject firstChristopher Faylor2002-06-054-6/+18
| | | | | | before seeing if name buffer is NULL. * grp.cc (read_etc_group): Fix gcc warning regarding snprintf format. * passwd.cc (read_etc_passwd): Ditto.