8ae578d6ae* external.cc (cygwin_internal): In CW_CVT_MNT_OPTS case, initialize flags with *pflags to restore original behaviour.
Corinna Vinschen
2010-08-24 15:11:24 +0000
bfb9c226492010-08-23 LRN <lrn1986@gmail.com>
Chris Sutcliffe
2010-08-24 00:15:51 +0000
8fcd3c7367Fix location of this file to be where it was initially intended.
Jeff Johnston
2010-08-23 15:51:27 +0000
16e1c98c1b* ldd.cc (report): Drop long pathname considerations which result in invalid path, now that this is done in cygwin_conv_path.
Corinna Vinschen
2010-08-23 11:04:04 +0000
59ecc5766c2010-08-22 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe
2010-08-22 04:03:33 +0000
f6ce088fb32010-08-21 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe
2010-08-22 03:52:59 +0000
387589c4a42010-08-21 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe
2010-08-21 19:21:33 +0000
43c394deb6* Makefile.in (DLL_IMPORTS): Link against advapi32.a before kernel32.a.
Corinna Vinschen
2010-08-21 18:57:36 +0000
9cbecf07a9Fix misquoting in stdint.m4.
Ralf Wildenhues
2010-08-21 12:34:06 +0000
ff7fca61df* cygthread.cc: Update copyright.
Christopher Faylor
2010-08-20 15:28:28 +0000
a6fc3a61c2* path.cc (path_conv::check): Close handle in conv_handle if we're following a symlink.
Corinna Vinschen
2010-08-20 14:29:56 +0000
a6c83569dc* fhandler_disk_file.cc (readdir_check_reparse_point): Rename from is_volume_mountpoint. Return valid d_type value for underlying reparse point type. (readdir_get_ino): Don't rely on the handle set in pc.check. Open file here if pc.handle() is NULL. (fhandler_disk_file::readdir_helper): Try to set a correct d_type value more diligent. (fhandler_disk_file::readdir): Don't reset dirent_set_d_ino unless we're really sure it's due to an untrusted FS. Simplify usage of FileAttributes, which is 0 if buf is NULL, anyway. Set d_type correctly for faked "." and ".." entries. Improve debug output. * path.cc (symlink_info::check): Don't keep handle to volume mount point open. Explain why.
Corinna Vinschen
2010-08-20 11:18:58 +0000
dd442880af* fhandler_disk_file.cc (fhandler_disk_file::fstatvfs): Revert usage of get_stat_handle () to get_handle (). Add comment to explain why. * syscalls.cc (statvfs): Drop using PC_KEEP_HANDLE.
Corinna Vinschen
2010-08-20 08:52:25 +0000
fb20493f3d2010-08-20 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe
2010-08-20 04:14:18 +0000
f43eed1c08* new-features.sgml (ov-new1.7.7): New section. * pathnames.sgml: Throughout, align style of screen elements. Throughout, make all emphasis elements bold. (pathnames-win32-api): Rewrite section.
Corinna Vinschen
2010-08-19 10:35:25 +0000
e652eb9230* external.cc (sync_wincwd): New function. (cygwin_internal): Rename CW_SETCWD to CW_SYNC_WINCWD. Call sync_wincwd from here. * include/sys/cygwin.h (cygwin_getinfo_types): Rename CW_SETCWD to CW_SYNC_WINCWD.
Corinna Vinschen
2010-08-19 10:14:31 +0000
1087b2462f2010-08-18 Ladislav Michl <ladis@users.sourceforge.net>
Chris Sutcliffe
2010-08-18 23:34:08 +0000
590ad4793f* external.cc (CW_SETCWD): New option. * include/cygwin/version.h: Bump api minor to 231. * include/sys/cygwin.h (CW_SETCWD): Define.
Christopher Faylor
2010-08-18 19:15:37 +0000
6a84234cd2* pathnames.sgml (pathnames-win32-api): Try to use a more clear wording.
Corinna Vinschen
2010-08-18 15:28:15 +0000
75a3b85877* exceptions.cc (open_stackdumpfile): Don't try to open file if we have no filesystem based CWD. Add comment. * path.cc (cwdstuff::set): Set CWD handle to NULL if CWD is a virtual path. Simplify matching comment.
Corinna Vinschen
2010-08-18 14:22:07 +0000
d15ed91c04* fhandler_disk_file.cc (fhandler_base::fstat_helper): Set st_rdev to correct device number for fs_special devices.
Corinna Vinschen
2010-08-18 10:10:14 +0000
0f0a0b7361Make PATH_MAX consistent with MAX_PATH
Keith Marshall
2010-08-17 21:18:21 +0000
adb4e0f3de* include/cygwin/version.h: Bump DLL minor version number to 6.
Corinna Vinschen
2010-08-16 13:41:19 +0000
f5a51f9187* pipe.cc (fhandler_pipe::open): Duplicate content of opened pipe fhandler before calling dup method.
Corinna Vinschen
2010-08-14 11:16:09 +0000
a016fed8ba* faq-programming.xml (faq.programming.win32-api): Remove simplicity. Add note and xrefs to User's Guide chapters explaining restrictions using the Win32 API. * new-features.sgml (ov-new1.7.6): Add note about Win CWD. * overview2.sgml (ov-hi-intro): Add note and xrefs about Win32 API restrictions. Tone down flexibility. * pathnames.sgml (pathnames-intro): Add xref to pathnames-win32-api section. (pathnames-win32-api): New section describing Win32 CWD restriction. * setup2.sgml (setup-env-ov): New sub-section. (setup-env-win32): Ditto, describing Win32 environment restriction.
Corinna Vinschen
2010-08-13 11:52:13 +0000
260b80740e* cygheap.h (class cwdstuff): Make drive_length private. Add "error" member. (cwdstuff::get_error): New inline method. (cwdstuff::get_error_desc): Declare. (cwdstuff::set): Change first parameter to pointer to path_conv. * path.cc (chdir): Drop doit. Align call to cwdstuff::set to new arguments. (cwdstuff::init): Only call cwdstuff::set if it's not already initialized. Add comment. Drop third parameter in call to cwdstuff::set. (cwdstuff::set): Partially rewrite. Add lots of comments to explain everything. Drop "doit" since it's not used anymore. Always create new handle to CWD if not in a virtual path. Drop PEB locking when reading PEB values in init phase. Check for accessibility to set correct error code. Drop Vista workaround. Never write back into PEB. Set Win32 CWD to \\?\PIPE\ on init. Simplify creation of win32 path. Set new error member to a meaningful value. (cwdstuff::get_error_desc): New method to generate error message from cwd error code. * spawn.cc (spawn_guts): Call cwdstuff::get_error_desc to create more meaningful error message when not being able to start native Win32 app due to CWD restrictions. When starting native Win32 app, lock cwd and use in calls to CreateProcessW/CreateProcessAsUserW.
Corinna Vinschen
2010-08-13 11:51:54 +0000
7aba919b5e* libc/include/sys/dir.h: New BSD-compatibility header.
Yaakov Selkowitz
2010-08-11 18:14:54 +0000
68a178b37c* mount.cc (do_mount): Don't treat "bind" mount as remote mount. (mount_entries): Drop the "bind" option from output. * utils.sgml (mount): Match examples to actual mount output. Add "bind" option and add example.
Corinna Vinschen
2010-08-11 11:01:14 +0000
514fdad34d* cygheap.h (cygheap_fdmanip): Delete fh and use fd index into cygheap->fdtab throughout. (cygheap_fdnew): Replace fh by using fd index into cygheap->fdtab throughout. (cygheap_fdget): Ditto. (cygheap_fdenum): Ditto.
Christopher Faylor
2010-08-09 16:53:35 +0000
b150f5236bImplement POSIX.1-2004 Monotonic Clock. * hires.h: Change hires_us to hires_ns, with nanosecond resolution. (hires_ns::primed_ft): Remove. (hires_ns::nsecs): New prototype. (hires_ns::usecs): Rewrite in terms of nsecs. (hires_ns::resolution): New prototype. * times.cc: Change hires_us to hires_ns. (ntod): Declare. (systime): Remove. (hires_ns::prime): Increase resolution to nanoseconds. (hires_ns::nsecs): Rename usecs to nsecs to reflect increased resolution. Remove justdelta argument. (hires_ns::resolution): New function. (clock_gettime): Accept CLOCK_MONOTONIC. Use EINVAL instead of ENOSYS per POSIX.1-2004. (clock_getres): Ditto. (clock_setres): Use EINVAL instead of ENOSYS to conform with other implementations. * strace.cc (strace::microseconds): Adjust for hires_ns. * sysconf.cc (sca): Set _SC_MONOTONIC_CLOCK to _POSIX_MONOTONIC_CLOCK. * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
Yaakov Selkowitz
2010-08-09 16:47:48 +0000
a52993d426* fhandler_proc.cc: Add /proc/filesystems virtual file. (format_proc_filesystems): New function. * mount.cc (fs_names): Move to global scope. Redefine as array of { "name", block_device? } structs. (fillout_mntent): Use name member of fs_names. * mount.h (fs_names): New prototype.
Corinna Vinschen
2010-08-09 08:18:30 +0000
f627504e6b* libc/include/sys/stat.h: Move all POSIX-defined symbolic constants out of `#ifndef _POSIX_SOURCE' guard.
Corinna Vinschen
2010-08-06 18:26:21 +0000
06cc41a63a* path.cc (cygwin_conv_path): Rearrange test for "." in POSIX to relative DOS path conversion. Simplify fixing the path. In CCP_POSIX_TO_WIN_W conversion, always drop long path prefix if path fits into MAX_PATH. Explain why.
Corinna Vinschen
2010-08-04 11:25:13 +0000
0de7cf04f32010-08-03 Craig Howland <howland@LGSInnovations.com>
Jeff Johnston
2010-08-03 18:21:20 +0000
0b6fbd396c* exceptions.cc (_cygtls::interrupt_now): Revert to checking for "spinning" when choosing to defer signal. (_cygtls::call_signal_handler): Grab func when we have the lock. * gendef: Update copyright. (__sigbe): Simplify slightly. (_sigdelayed): Grab a lock before manipulating stuff. (_cygtls::pop): Properly return popped value. (stabilize_sig_stack): Set incyg when we have the lock. * sigproc.cc: Update copyright.
Christopher Faylor
2010-08-01 19:10:52 +0000
6defc805c3gdb/ * common/signals.c (signals): Move the content to signals.def. Include it. Remove the INDENT comments.
Jan Kratochvil
2010-07-31 04:17:44 +0000
4db1bd4040* cygthread.h (LPVOID_THREAD_START_ROUTINE): Define. (cygthread::create): Rename from cygthread::cygthread. (cygthread::cygthread): Define new constructor which accepts LPVOID_THREAD_START_ROUTINE as the first argument. Call cygthread::create. * cygthread.cc (cygthread::create): Rename from cygthread::cygthread. Use 'arglen' rather than 'n' since 'n' is no longer supplied. * fhandler_tty.cc (process_input): Define as void/noreturn. (process_output): Ditto. (process_ioctl): Ditto. (fhandler_tty_master::init): Don't "zap_h" cygthreads which are noreturn. It's now implied.
Christopher Faylor
2010-07-30 18:04:22 +0000
5a7e00a866Add moxie-rtems support.
Anthony Green
2010-07-30 07:40:26 +0000
edc9603e2c[include/opcode]
DJ Delorie
2010-07-29 18:41:26 +0000
aab56a41cf* setup-net.sgml, faq-setup.xml: Rename setup.exe's "Partial" view to "Pending"
Andy Koppe
2010-07-26 22:56:24 +0000
9411deb401Accept that mingwrt headers are not guaranteed to precede GCC's in the system include search path; (issue reported by Mark Brand).
Keith Marshall
2010-07-25 20:20:46 +0000
e3bef3f7d52010-07-22 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe
2010-07-24 03:01:20 +0000
fca7953a10Fix latest changelog entry to not refer to libgloss directory.
Jeff Johnston
2010-07-23 18:12:53 +0000
e3d36b30b4Add support for v850E2 and v850E2V3
Nick Clifton
2010-07-23 14:52:53 +0000
cb6bfcff1a* fhandler.cc (fhandler_base::raw_write): Remove STATUS_DISK_FULL special handling.
Corinna Vinschen
2010-07-23 10:08:34 +0000
125c76f59e2010-07-22 Ozkan Sezer <sezero@users.sourceforge.net>
Chris Sutcliffe
2010-07-23 02:16:28 +0000
a1c44c468c2010-07-22 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe
2010-07-22 10:47:30 +0000
a3ee6a48f32010-07-21 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe
2010-07-22 03:10:28 +0000
822b654fe0* dump_setup.cc (tfx_chars): New WCHAR array, copied from Cygwin. (transform_chars): New function, copied from Cygwin. (simple_nt_stat): New function to check file existance using native NT function. Explain why. (directory_exists): Call simple_nt_stat. (file_exists): Ditto.
Corinna Vinschen
2010-07-21 10:30:53 +0000
cfdaf5654c2010-07-20 Ozkan Sezer <sezero@users.sourceforge.net>
Chris Sutcliffe
2010-07-20 18:17:52 +0000
c5a16c43f3include/elf/ * internal.h (ELF_TBSS_SPECIAL): New macro, extracted from.. (ELF_SECTION_SIZE): ..here. (ELF_SECTION_IN_SEGMENT_1): Add "strict" arg. (ELF_SECTION_IN_SEGMENT_STRICT): New macro. bfd/ * elf.c (assign_file_positions_for_load_sections): Check that zero size sections are allocated in segments too. (assign_file_positions_for_non_load_sections): Warn if zero size alloc sections are found here. (copy_elf_program_header): Don't drop zero size sections from segment map. (copy_private_bfd_data): Check for changes in zero size sections. binutils/ * readelf.c (process_program_headers): Don't ignore all zero size sections. ld/testsuite/ * ld-powerpc/tlsexe.r: Update. * ld-powerpc/tlsexetoc.r: Update. * ld-powerpc/tlsso.r: Update. * ld-powerpc/tlstocso.r: Update.
Alan Modra
2010-07-20 14:08:30 +0000
e561d3e77e* libm/common/fdlibm.h (SAFE_LEFT_SHIFT): New macro definition. (SAFE_RIGHT_SHIFT): Likewise. * libm/common/s_llround.c (llround): Annotate shift operations with possible shift amount ranges, and use SAFE_RIGHT_SHIFT to avoid undefined behaviour. * libm/common/s_lround.c (lround): Likewise.
Dave Korn
2010-07-20 01:33:05 +0000
2af268382a2010-07-17 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe
2010-07-20 00:18:31 +0000
2693eddb32Document mkostemp and mkostemps.
Eric Blake
2010-07-19 18:25:41 +0000
3083fa9447Add mkostemp and mkostemps.
Eric Blake
2010-07-19 18:22:40 +0000
8092f46770Add mkostemp and mkostemps.
Eric Blake
2010-07-19 18:21:11 +0000
fdd1a78d07* m68k/cf-crt1.c (hardware_init_hook): Accommodate new family __mcf_family_51 since gcc 4.5.1.
Corinna Vinschen
2010-07-19 16:57:18 +0000
bee6d43176* autoload.cc (noload): Use "pushl" rather than "push".
Christopher Faylor
2010-07-18 20:14:51 +0000
9134e80ac6* exceptions.cc (_cygtls::interrupt_now): Avoid nonsensical tests which delay an interrupt. (setup_handler): Remove unneeded DEBUGGING handling. Ensure that stack is locked when we are about to do push/pop to it. Fix debugging output.
Christopher Faylor
2010-07-18 20:13:26 +0000
3a7c5515b2* gendef: Throughout, remove lock from xchgl since it is implied. (__ZN7_cygtls3popEv): Avoid potential (but probably nonexistent) race when clearing element after pop.
Christopher Faylor
2010-07-18 20:10:22 +0000
ad6319f01a2010-07-17 Jack Howarth <howarth@bromo.med.uc.edu>
Paolo Bonzini
2010-07-18 08:12:40 +0000
ac40a19527* wincap.cc (wincap_7): Set needs_count_in_si_lpres2 to false.
Corinna Vinschen
2010-07-15 08:00:52 +0000
3f45333072* libc/include/signal.h (sighandler_t): Only define if _POSIX_SOURCE is undefined.
Corinna Vinschen
2010-07-13 11:18:55 +0000
cc077128d32010-07-08 Markus Koenig <basilo@users.sourceforge.net>
Chris Sutcliffe
2010-07-08 23:14:54 +0000