58d470721b* mips.h: Update copyright. (INSN_CHIP_MASK): New macro. (INSN_OCTEON): New macro. (CPU_OCTEON): New macro. (OPCODE_IS_MEMBER): Handle Octeon instructions.
Adam Nemet
2008-02-04 19:25:05 +0000
ce4a642382* mips.h: Update copyright. (E_MIPS_MACH_OCTEON): New macro.
Adam Nemet
2008-02-04 19:21:25 +0000
5556c6209f* Makefile.in: Don't link strfuncs.o from the Cygwin build dir. Build it again with __OUTSIDE_CYGWIN__ defined.
Corinna Vinschen
2008-02-04 12:02:26 +0000
340e2fa504* smallprint.cc (__small_vsprintf): Use HEAP_NOTHEAP for type. * strfuncs.cc (sys_wcstombs_alloc): Guard use of ccalloc to !__OUTSIDE_CYGWIN__ for use in cygserver. (sys_mbstowcs_alloc): Ditto.
Corinna Vinschen
2008-02-04 12:00:19 +0000
b6cde8aa13* configure.ac: Enable fortran for cris-*-elf and crisv32-*-elf. * configure: Regenerate.
Hans-Peter Nilsson
2008-02-02 22:19:04 +0000
4df557d94a2008-02-01 Brian Dessent <brian@dessent.net>
Chris Sutcliffe
2008-02-02 14:14:49 +0000
efab44e0522008-02-02 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe
2008-02-02 13:19:23 +0000
a1e856cc942008-01-31 Marc Gauthier <marc@tensilica.com> * configure.ac (xtensa*-*-*): Recognize processor variants. * configure: Regenerate.
Bob Wilson
2008-02-01 18:32:06 +0000
301d14d242* miscfuncs.cc (cygwin_wcsncasecmp): Never access more than n characters. (cygwin_strncasecmp): Ditto. Fix for strings longer than n.
Corinna Vinschen
2008-02-01 13:11:57 +0000
1597484cb5* dcrt0.cc (dll_crt0_1): Use GetCommandLineW and convert to current codepage. * environ.cc (set_file_api_mode): Always set file api to ANSI if not using the OEM codepage. (codepage_init): Allow "utf8" codepage. * fhandler_clipboard.cc (set_clipboard): Convert clipbuf to void and cast as needed. Always convert input to wide char and write CF_UNICODETEXT to clipboard. (fhandler_dev_clipboard::read): Read CF_UNICODETEXT from clipboard and convert to current codepage if CYGWIN_NATIVE format is not available. * fhandler_console.cc: Drop redundant undef. * smallprint.cc (__small_vsprintf): Convert PWCHAR and UNICODE_STRING to current codepage for printing. * strfuncs.cc: Use PWCHAR throughout. (get_cp): Return CP_UTF8 for utf8_cp codepage setting. (sys_wcstombs): Allow NULL target buffer. (sys_wcstombs_alloc): New function. (sys_mbstowcs_alloc): Ditto. * winsup.h (codepage_type): Add utf8_cp. (HEAP_NOTHEAP): Define. (sys_wcstombs_alloc): Declare. (sys_mbstowcs_alloc): Declare.
Corinna Vinschen
2008-01-31 20:26:01 +0000
8e87af7ed0* cygheap.h (struct cwdstuff): Add dir member to store cwd handle. (cwdstuff::get_handle): New method. * path.cc (cwdstuff::set): When doit is true, always try to get directory handle. Fail if duplicating handle fails. Store handle in dir. Fix potential SEGV when setting drive_length.
Corinna Vinschen
2008-01-31 14:18:49 +0000
3fbb5e3d802008-01-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Paolo Bonzini
2008-01-31 10:39:43 +0000
17bccd4120Remove conflict marker as obvious.
Brian Ford
2008-01-30 18:49:59 +0000
249d08dc1dAdded new PSAPI defines and exports
Brandon Sneed
2008-01-29 20:34:43 +0000
cb8686370b* path.cc: Fix Samba version in comment.
Corinna Vinschen
2008-01-28 12:19:30 +0000
a665fef641include/ 2008-01-26 David Daney <ddaney@avtrex.com>
David Daney
2008-01-27 06:25:45 +0000
77ec26b04a* libc/sys/mmixware/isatty.c (_isatty): Renamed from isatty. Make ISO C.
Hans-Peter Nilsson
2008-01-25 04:31:11 +0000
ca74821574* path.cc (fs_info::update): Fix old-style Samba test to support recent as well as upcoming Samba releases.
Corinna Vinschen
2008-01-24 17:29:29 +0000
4be948a34a/gas: 2008-01-23 Eric B. Weddington <eric.weddington@atmel.com>
Eric Weddington
2008-01-23 17:36:23 +0000
797ac90aed* config.sub, config.guess: Update from upstream sources.
Ben Elliston
2008-01-23 02:43:51 +0000
4a96b0aa85* ntdll.h (struct _FILE_FS_OBJECTID_INFORMATION): Define. * path.cc (struct smb_extended_info): Define. (fs_info::update): Request object id info to get Samba information. Set flags according to new implementation. * path.h (struct fs_info): Add samba_version to status_flags. Implement flags() and samba_version() using IMPLEMENT_STATUS_FLAG.
Corinna Vinschen
2008-01-22 17:43:22 +0000
226f5a32da* libc/sys/sh/syscalls.c (_isatty): New.
DJ Delorie
2008-01-22 00:24:45 +0000
cece11c5112008-01-21 Neal H. Walfield <neal@gnu.org>
Jeff Johnston
2008-01-21 18:29:17 +0000
755f6f8f65* fhandler_disk_file.cc (fhandler_disk_file::link): Open file with READ_CONTROL for Vista/Longhorn's sake.
Corinna Vinschen
2008-01-21 14:51:55 +0000
60308c48f2* common.h (AT_SUN_AUXFLAGS): Define.
Mark Kettenis
2008-01-16 22:01:42 +0000
c7b8bedfb2/gas: 2008-01-03 Eric B. Weddington <eric.weddington@atmel.com>
Eric Weddington
2008-01-16 17:59:07 +0000
ebe9d9b2ea* Makefile.in (install-libs): Overwrite newlib's libg.a with symlink to libcygwin.a.
Corinna Vinschen
2008-01-15 17:42:10 +0000
8b5f4dbabc* Makefile.in (DLL_OFILES): Remove memmem.o. * memmem.cc: Remove in favor of newlib implementation.
Corinna Vinschen
2008-01-15 13:45:42 +0000
12df8a5b53* libc/include/machine/setjmp.h (__SIGMASK_FUNC): Define as pthread_sigmask or sigprocmask depending on _POSIX_THREADS. (sigsetjmp): Use __SIGMASK_FUNC. (siglongjmp): Ditto. (_setjmp): Define as macro. (_longjmp): Ditto.
Corinna Vinschen
2008-01-15 09:41:06 +0000
2652ae1036* cygcheck.cc (dump_sysinfo): Always try to get a OSVERSIONINFOEX first. Load kernel32.dll earlier. Make osname a buffer. Simplify Non-NT code. Use GetProductInfo in Vista/2008 case. Clean up non-Vista version info. Exit early if not on NT.
Corinna Vinschen
2008-01-13 13:41:45 +0000
40617efc8bMake strstr and strcasestr O(n), not O(n^2); add memmem. * libc/string/str-two-way.h: New file. * libc/string/memmem.c (memmem): New file. * libc/include/string.h (memmem): Declare for all platforms. * libc/string/strstr.c (strstr): Provide O(n) implementation when not optimizing for space. * libc/string/strcasestr.c (strcasestr): Likewise. * libc/string/Makefile.am (ELIX_SOURCES): Rename to... (ELIX_2_SOURCES): ...this. (ELIX_4_SOURCES): New category, for memmem. (lib_a_SOURCES, libstring_la_SOURCES): Build new file. (CHEWOUT_FILES): Build documentation for memmem. * libc/string/strings.tex: Include new docs.
Eric Blake
2008-01-12 04:25:55 +0000
978e84cf60* m32c/exit.S (__exit): preserve both argument registers.
DJ Delorie
2008-01-11 02:21:44 +0000
ceb32a183c2008-01-08 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2008-01-08 21:48:06 +0000
84a49ec5c4* futex.m4: New file.
Jakub Jelinek
2008-01-08 17:29:24 +0000
58e21be152* config.sub, config.guess: Update from upstream sources.
Ben Elliston
2008-01-07 23:25:47 +0000
a32113705f2008-01-07 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2008-01-07 18:59:45 +0000
eaf70af08a* include/limits.h (TTY_NAME_MAX): Increase size to same as linux to allow for (at least) null terminating byte for "/dev/console".
Christopher Faylor
2008-01-06 18:31:35 +0000
277723722f2008-01-03 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2008-01-03 22:38:31 +0000
a639937a9a2008-01-03 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2008-01-03 22:33:37 +0000
7c8bd7a0752008-01-02 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2008-01-03 00:16:49 +0000
2dba9eb2d4Updated copyright notices for most files.
Daniel Jacobowitz
2008-01-01 22:53:22 +0000
9c4d008ca5* bloda.cc (enum bad_app): Add BYTEMOBILE. (dodgy_app_detects[]): Add FILENAME entry to detect bmnet.dll. (big_list_of_dodgy_apps[]): Add description for BYTEMOBILE.
Dave Korn
2007-12-29 19:26:56 +0000
e1e00b3373* faq-using.xml (faq.using.bloda): New entry. (faq.using.firewall, faq.using.anti-virus): Link to faq.using.bloda. * faq-setup.xml (faq.setup.hang): Likewise link to faq.using.bloda.
Dave Korn
2007-12-29 18:20:13 +0000
87b42b77382007-12-27 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe
2007-12-28 00:33:04 +0000
533209165e2007-12-27 Chris Sutcliffe <ir0nh34d@users.sf.net>
Chris Sutcliffe
2007-12-28 00:32:27 +0000
ec62ba9577* Makefile.in (cygcheck.exe): Don't link to ntdll. * bloda.cc (pNtQuerySystemInformation): Add. (pRtlAnsiStringToUnicodeString): Add. (get_process_list): Use function pointers for NT functions. (dump_dodgy_apps): Skip dodgy app check on non-NT platforms. Use GetProcAddress for NT-specific functions.
Brian Dessent
2007-12-21 03:32:46 +0000
39962e28d0* libc/memmem.cc (memmem): Fix bug when searching for empty string.
Corinna Vinschen
2007-12-20 10:11:37 +0000
26b84293172007-12-19 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2007-12-19 22:36:48 +0000
6af69de3d32007-12-19 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2007-12-19 22:27:00 +0000
3cc8a378d12007-12-19 Dave Korn <dave.korn@artimi.com> Jeff Johnston <jjohnstn@redhhat.com>
Jeff Johnston
2007-12-19 22:20:25 +0000
73063e93642007-12-19 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2007-12-19 20:47:45 +0000
24d73c0eec2007-12-19 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2007-12-19 19:12:23 +0000
41e94f24882007-12-19 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2007-12-19 18:51:19 +0000
7f9b49e4272007-11-15 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2007-12-19 18:49:17 +0000
c6bfc3d4bc* cygwin.din: Export wcpcpy, wcpncpy. * include/cygwin/version.h: Bump API minor number.
Corinna Vinschen
2007-12-19 17:38:18 +0000
ac26b72723* libc/include/wchar.h: Add prototypes for wcpcpy and wcpncpy. * libc/string/Makefile.am (ELIX_SOURCES): Add wcpcpy.c and wcpncpy.c. (CHEWOUT_FILES): Add wcpcpy.def and wcpncpy.def. * libc/string/Makefile.in: Regenerate. * libc/string/wcpcpy.c: New file. * libc/string/wcpncpy.c: New file. * libc/string/wcstrings.tex: Add wcpcpy and wcpncpy.
Corinna Vinschen
2007-12-19 17:33:12 +0000
478df8bb91* libc/stdio/vfprintf.c (_VFPRINTF_R): Use correct pointer in call to _wcsrtombs_r.
Corinna Vinschen
2007-12-19 17:06:19 +0000
fcd436325b/tmp/foo.diff
Richard Sandiford
2007-12-18 07:37:34 +0000
61f9c74a8d/tmp/foo.diff
Richard Sandiford
2007-12-18 07:34:56 +0000
634a41403c* dtable.cc (POSIX_NAMED_PIPE): New define. (POSIX_NAMED_PIPE_LEN): Ditto. (dtable::add_archetype): Use crealloc_abort. (dtable::init_std_file_from_handle): Specifically detect pipe stdin/stdout. Pass name to build_fh_dev so that proper name is recorded. Use binmode of fh if it is set before using get_default_mode. Set proper read/write access when calling init(). (handle_to_fn): Handle pipes. * fhandler.cc (fhandler_base::wait_overlapped): Add some debugging. * fhandler.h (fhandler_base::set_name): Default to just setting the path_conv name. (fhandler_pipe::init): Declare. * pipe.cc (struct pipesync): New struct. (getov_result): New function. Blocks and retrieves the result of an overlay I/O operation. (pipe_handler): New function. (pipesync::pipesync): New function. Initializer for pipesync struct. (handler_pipe::init): Define. Detects attempts to set up a "native" pipe fhandler and creates a thread which accepts input from or output to the non-cygwin pipe, creating a cygwin pipe wrapper around the non-cygwin pipe. (fhandler_pipe::create): Add pipe-specific flags to call to init(). * exceptions.cc (ctrl_c_handler): Lock process while we determine what to do.
Christopher Faylor
2007-12-16 21:21:23 +0000
68adeb7cde* pathnames.xml: Fix a typo.
Christopher Faylor
2007-12-16 21:19:29 +0000
b4d71b77ba* include/cygwin/socket.h: Include sys/uio.h instead of cygwin/uio.h. * include/cygwin/uio.h: Remove.
Corinna Vinschen
2007-12-14 12:12:32 +0000
cce64750b2* dtable.cc (dtable::set_file_pointers_for_exec): Reenable. Fix comment. * spawn.cc (spawn_guts): Call cygheap->fdtab.set_file_pointers_for_exec only for non-Cygwin processes.
Corinna Vinschen
2007-12-14 11:32:40 +0000
3d711a27baMerge from gcc: 2007-12-10 Andreas Tobler <a.tobler@schweiz.org>
DJ Delorie
2007-12-14 01:28:55 +0000
d1f3668837* poll.cc (poll): Return count of fds with events instead of total event count.
Corinna Vinschen
2007-12-13 10:57:08 +0000
5642c35aae* string.h: Guard cygwin internal string function definitions with __INSIDE_CYGWIN__.
Corinna Vinschen
2007-12-13 10:33:55 +0000
1feea0bfd7* dcrt0.cc: Include string.h. (initial_env): Use small_printf's %P specifier. * dll_init.cc (dll_list::alloc): Use PATH_MAX instead of CYG_MAX_PATH for path name buffer size. * dll_init.h (struct dll): Ditto. * environ.cc: Include string.h. (win_env::add_cache): Use temporary local buffer for path conversion. (posify): Ditto. * exceptions.cc (try_to_debug): Use CreateProcessW to allow long path names. * miscfuncs.cc: Drop unused implementations of strcasematch and strncasematch. (ch_case_eq): Drop. (strcasestr): Drop. (cygwin_wcscasecmp): New function. (cygwin_wcsncasecmp): New function. (cygwin_strcasecmp): New function. (cygwin_strncasecmp): New function. (cygwin_wcslwr): New function. (cygwin_wcsupr): New function. (cygwin_strlwr): New function. (cygwin_strupr): New function. * ntdll.h (RtlDowncaseUnicodeString): Declare. (RtlUpcaseUnicodeString): Declare. (RtlInt64ToHexUnicodeString): Fix typo in comment. * string.h: Disable not NLS aware implementations of strcasematch and strncasematch. (cygwin_strcasecmp): Declare. (strcasecmp): Define as cygwin_strcasecmp. (cygwin_strncasecmp): Declare. (strncasecmp): Define as cygwin_strncasecmp. (strcasematch):Define using cygwin_strcasecmp. (strncasematch):Define using cygwin_strncasecmp. (cygwin_strlwr): Declare. (strlwr): Define as cygwin_strlwr. (cygwin_strupr): Declare. (strupr): Define as cygwin_strupr. * wchar.h: New file. * wincap.cc (wincapc::init): Use "NT" as fix OS string. * winsup.h (strcasematch): Drop declaration. (strncasematch): Ditto. (strcasestr): Ditto.
Corinna Vinschen
2007-12-12 12:12:24 +0000
5c80ea0230* fhandler_disk_file.cc (fhandler_base::fstat_helper): Fix R/O bit handling on filesystems without ACL support.
Corinna Vinschen
2007-12-11 18:57:44 +0000
22eeaf62bb2007-12-11 Dave Korn <dave.korn@artimi.com>
Dave Korn
2007-12-11 18:38:25 +0000
ea5bc3721f* localtime.cc (tzset): Guard by a muto for thread safety.
Corinna Vinschen
2007-12-11 16:14:24 +0000
3623cfa399* cygheap.cc (_csbrk): Don't request zero bytes from VirtualAlloc, as windows treats that as an invalid parameter and returns an error.
Dave Korn
2007-12-11 15:16:19 +0000
4b93ac1f7f* localtime.cc (tzset): Call tzsetwall only if it hasn't been called before.
Corinna Vinschen
2007-12-11 15:01:31 +0000
fb09a73e93* dwarf2.h (DW_AT_hi_user): Correct value.
Daniel Jacobowitz
2007-12-11 12:56:21 +0000
1995e606d82007-12-07 Bob Wilson <bob.wilson@acm.org>
Bob Wilson
2007-12-07 22:52:08 +0000
041337fd90* include/sys/cygwin.h: Include limits.h.
Corinna Vinschen
2007-12-07 09:37:14 +0000
9408cf38dd* ps.cc: Include limits.h. (main): Set file name buffer size to PATH_MAX. Use progname or progname_long member of struct external_pinfo dependent of the value of the struct's version member.
Corinna Vinschen
2007-12-06 18:26:18 +0000
36093cfbbf* dcrt0.cc (initial_env): Use PATH_MAX instead of CYG_MAX_PATH for path name buffer size. (dll_crt0_1): Allocate new_argv0 with PATH_MAX size. * exceptions.cc (debugger_command): Set size to 2 * PATH_MAX + 20; (error_start_init): Use PATH_MAX instead of CYG_MAX_PATH for path name buffer size. * external.cc (fillout_pinfo): Always fill out ep.progname 0-terminated. Fill out ep.progname_long. * fhandler_process.cc (fhandler_process::fill_filebuf): Allocate buffer for executable filename with PATH_MAX size. * pinfo.cc: Throughout use PATH_MAX instead of CYG_MAX_PATH. * pinfo.h (class _pinfo): Set progname size to PATH_MAX. * smallprint.cc: Include limits.h. Use PATH_MAX instead of CYG_MAX_PATH for path name buffer size. * strace.cc (strace::vsprntf): Ditto. * include/sys/cygwin.h (EXTERNAL_PINFO_VERSION_32_LP): Define. (EXTERNAL_PINFO_VERSION): Set to EXTERNAL_PINFO_VERSION_32_LP. (struct external_pinfo): Add progname_long member. * include/sys/dirent.h: Correctly include limits.h instead of sys/limits.h.
Corinna Vinschen
2007-12-06 18:24:06 +0000
6320370052config/ * mt-sde (CFLAGS_FOR_TARGET, CXXFLAGS_FOR_TARGET): Use +=, not =. * mt-mips-elfoabi: Likewise.
Richard Sandiford
2007-12-06 17:44:07 +0000
27114d3aff* fhandler_tty.cc (fhandler_tty_slave::open): Use MAX_PATH instead of CYG_MAX_PATH for event name buffer size. (fhandler_pty_master::setup): Use MAX_PATH instead of CYG_MAX_PATH for mutex name buffer size. * netdb.cc: Drop old comment. (open_system_file): Set path buffer size to MAX_PATH instead of CYG_MAX_PATH. Drop conversion to posix path. Open file using win32 path.
Corinna Vinschen
2007-12-05 16:50:18 +0000
5224a7bbf3* fhandler_registry.cc: Use NAME_MAX + 1 instead of CYG_MAX_PATH throughout for subkey name buffer size. * fhandler_socket.cc (search_wsa_event_slot): Use MAX_PATH instead of CYG_MAX_PATH for mutext name buffer size. (fhandler_socket::init_events): Ditto. * fhandler_virtual.cc (fhandler_virtual::opendir): Check path length against PATH_MAX instead of against CYG_MAX_PATH. * registry.cc (get_registry_hive_path): Use PATH_MAX instead of CYG_MAX_PATH for registry value path buffer size. * shared.cc (open_shared): Use MAX_PATH instead of CYG_MAX_PATH for shared memory name buffer size. * thread.cc (semaphore::semaphore): Use MAX_PATH instead of CYG_MAX_PATH for semaphore name buffer size. * uinfo.cc (cygheap_user::env_userprofile): Use PATH_MAX instead of CYG_MAX_PATH for temporary path name buffer size. * winf.h (LINE_BUF_CHUNK): Define as MAX_PATH * 2. * include/sys/dirent.h: Include sys/limits.h. Define name buffer sizes using NAME_MAX.
Corinna Vinschen
2007-12-05 15:10:20 +0000
7e95d4b86d* config.sub, config.guess: Update from upstream sources.
Ben Elliston
2007-12-05 03:27:21 +0000
86a1bb43f5* fhandler_fifo.cc (fhandler_fifo::open): Use MAX_NAME for pipe name buffer size. (fhandler_fifo::fstatvfs): Use same technique as in fhandler_socket. * fhandler_proc.cc (format_proc_partitions): Use NAME_MAX+1 for device name buffer size. Use MAX_PATH for device path buffer size.
Corinna Vinschen
2007-12-04 13:29:44 +0000
41d46fe86f2007-12-03 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe
2007-12-04 00:35:55 +0000
e25b650e302007-12-03 techrazy <techrazy@users.sourceforge.net>
Chris Sutcliffe
2007-12-04 00:30:40 +0000