aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-01-09gas/Peter Bergner2-3/+10
* config/tc-ppc.c (ppc_setup_opcodes): Remove PPC_OPCODE_NOPOWER4 test. Test the new "deprecated" opcode field. include/opcode/ * ppc.h (struct powerpc_opcode): New field "deprecated". (PPC_OPCODE_NOPOWER4): Delete. opcodes/ * ppc-opc.c (PPCNONE): Define. (NOPOWER4): Delete. (powerpc_opcodes): Initialize the new "deprecated" field.
2009-01-09 * mount.cc (mount_info::from_fstab_line): Always convert driveCorinna Vinschen3-24/+34
letter in native path to uppercase. * path.cc (normalize_win32_path): Ditto. (path_prefix_p): Revert previous patch. * path.cc (symlink_info::check): Check for STATUS_INVALID_PARAMETER return code to circumvent weird behaviour of Samba 3.2.x shares.
2009-01-09* include/sys/cygwin.h (CW_SETERRNO): Define.Christopher Faylor7-7/+39
* external.cc (CW_SETERRNO): Implement. * include/cygwin/version.h: Bump CYGWIN_VERSION_API_MINOR to 192 to reflect the above change. * path.cc (path_prefix_p): Treat X: as equivalent to x:. * mkglobals_h: Remove unneeded #define. * spawn.cc (spawn_guts): Avoid overly wordy initialization to zero.
2009-01-09* ldd.cc: New file. First stab at implementing ldd-like functionality forChristopher Faylor3-1/+275
Cygwin. * Makefile.in (CYGWIN_BINS): Add ldd. (ldd.exe): Use -lpsapi.
2009-01-08 * libc/fts.c (fts_build): Use DT_DIR case on Cygwin.Corinna Vinschen2-3/+10
(fts_ufslinks): Fix using wrong structure member in Cygwin-specific code.
2009-01-08Typo fixes.Ben Elliston1-3/+3
2009-01-08 * libc/include/sys/stdio.h (_flockfile, _funlockfile): Fix typos.Kazu Hirata2-2/+6
2009-01-072009-01-07 Ben Elliston <bje@au.ibm.com>Jeff Johnston3-1/+8
* Makefile.in (all): Add `+' to the command line so that the command is always treated as $(MAKE). * doc/Makefile.in (datarootdir): Define.
2009-01-07 * ntdll.h: Reorder NT status flags. Fix a case difference. AddCorinna Vinschen3-15/+57
STATUS_CANNOT_DELETE flag. * syscalls.cc (unlink_nt): Change initial NtOpenFile to request FILE_SHARE_DELETE sharing mode. Change comment accordingly. If setting delete disposition failed with STATUS_CANNOT_DELETE, try to delete using delete-on-close. Explain why. Rearrange setting R/O DOS attribute after trying to delete. Simplify comment.
2009-01-07 * fhandler_disk_file.cc (fhandler_disk_file::link): Only add .exe ifCorinna Vinschen3-1/+11
original file has .exe as well. * path.cc (path_conv::is_binary): Only recognize Windows 32 and 64 bit apps as binaries.
2009-01-07 * include/winbase.h (SCS_64BIT_BINARY): Define.Corinna Vinschen2-0/+5
2009-01-06 * callback.h (struct host_callback_struct): Mark member error asHans-Peter Nilsson2-1/+10
pointing to a noreturn function.
2009-01-06 * cygcheck.cc (dump_sysinfo_services): Quote the path for popen.Pierre Humblet2-1/+5
2009-01-052009-01-05 Craig Howland <howland@LGSInnovations.com>Jeff Johnston2-1/+5
* libc/stdio/fwide.c: Correct typo in TRAD_SYNOPSIS for _fwide_r.
2009-01-04Fix MinGW-Bug [2445962]; (reported by Keishi Suenaga).Keith Marshall3-2/+51
2009-01-03* Makefile.in (CFLAGS): Look in cygwin's build directory for header files.Christopher Faylor2-2/+7
2009-01-03correctChristopher Faylor1-2/+2
2009-01-03Remove unneeded header files from source files throughout. Update copyrightsChristopher Faylor59-308/+410
where appropriate. * globals.cc: New file for generic global variables. * mkglobals_h: New file to generate globals.h. * mkstatic: New Script used to build a (currently non-working) static libcygwin_s.a. * Makefile.in: Add unused rule to build a non-working libcygwin_s.a. (DLL_OFILES): Add globals.o. Make all objects rely on globals.h. (globals.h): New target. Generate globals.h. * cygtls.h: Honor new CYGTLS_HANDLE define to control when the HANDLE operator is allowed in _cygtls. * dcrt0.cc: Move most globals to globals.cc. * init.cc: Ditto. * environ.cc (strip_title_path): Remove now-unneeded extern. * fhandler_serial.cc (fhandler_serial::open): Ditto. * pinfo.cc: Ditto. (commune_process): Ditto. * shared.cc: Ditto. * glob.cc: Ditto. * strace.cc: Ditto. * exceptions.cc: Define CYGTLS_HANDLE before including winsup.h. * path.cc (stat_suffixes): Move here. * security.h: Add forward class path_conv declaration. * smallprint.cc (__small_vsprintf): Make a true c++ function. (__small_sprintf): Ditto. (small_printf): Ditto. (console_printf): Ditto. (__small_vswprintf): Ditto. (__small_swprintf): Ditto. * spawn.cc (spawn_guts): Remove _stdcall decoration in favor of regparm. (hExeced): Move to globals.cc * strfuncs.cc (current_codepage): Ditto. (active_codepage): Ditto. * sync.cc (lock_process::locker): Move here from dcrt0.cc. * syscalls.cc (stat_suffixes): Move to path.cc. * tty.cc (tty::create_master): Uncapitalize fatal warning for consistency. * winsup.h: Include globals.h to declare most of the grab bag list of globals which were previously defined here. * mount.h: Move USER_* defines back to shared_info.h. * speclib: Force temporary directory cleanup.
2009-01-03Year-end rollover.Christopher Faylor2-3342/+3341
2009-01-02* speclib: Rewrite completely in perl. Avoid multiple nm calls.Christopher Faylor2-51/+94
2008-12-31* include/cygwin/version.h: Bump CYGWIN_VERSION_API_MINOR to 191.Christopher Faylor2-1/+6
2008-12-31* glob_pattern_p.cc: New file.Christopher Faylor6-16/+53
* Makefile.in (DLL_OFILES): Add glob_pattern_p.o. * glob.h: Add declaration for glob_pattern_p. * pinfo.cc (pinfo::thisproc): Remove __stdcall attribute.
2008-12-31Correct mishandling of invalid characters in printf() format specs.Keith Marshall2-4/+22
2008-12-31* include/bits/wordsize.h: New linux-compatibility header.Christopher Faylor2-0/+10
2008-12-31 * cygcheck.cc (pretty_id): Quote the path for popen.Pierre Humblet2-5/+11
(dump_sysinfo_services): Ditto.
2008-12-30* exceptions.cc (try_to_debug): Avoid creating a huge buffer on the stack.Christopher Faylor2-3/+7
2008-12-25* mount.cc: Change comment.Christopher Faylor6-334/+365
(smb_extended_info): Move here from path.cc. (fs_info::update): Ditto. (mount_info::create_root_entry): Delay conversion to slashes and use passed in buffer to figure out fs type. * path.cc (smb_extended_info): Move. (fs_info::update): Ditto. * mount.h: New file. Move mount information here. * path.h: (fs_info::update): Move. * shared_info.h (mount_item): Ditto.
2008-12-24* path.cc (symlink_info::check_shortcut): Ensure that symlink handle is closedChristopher Faylor2-2/+6
on successful return.
2008-12-23Add LM32 port.Nick Clifton4-0/+65
2008-12-23* fhandler.h (fhandler_base_setup_overlapped): Add new argument.Christopher Faylor4-143/+55
(fhandler_base::get_overlapped_buffer): Declare new function. (fhandler_base::set_overlapped): Ditto. (fhandler_pipe::overlapped): New variable. (fhandler_pipe::get_overlapped): Rework to return contents of overlapped variable. (fhandler_pipe::set_overlapped): Set overlapped variable based on argument. (fhandler_fifo::get_overlapped_buffer): Return pointer to io_status. * fhandler.cc (handler_base::setup_overlapped): Set to overlapped pointer to NULL if new doit parameter is false. Otherwise set up overlapped event as usual. (fhandler_base::wait_overlapped): Return inres if this isn't an overlapped operation. (fhandler_base::read_overlapped): Remove inappropriate asserts. * pipe.cc (fhandler_pipe::fhandler_pipe): Zero overlapped element. (struct pipesync): Delete. (getov_result): Ditto. (pipe_handler): Ditto. (pipesync::pipesync): Ditto. (fhandler_pipe::init): Don't set up pipesync thread. Just pass opened_properly flag along to overlapped setup.
2008-12-23 * coffcode.h (coff_write_object_contents): Always initialiseNick Clifton2-0/+13
section.s_page. * ti.h (COFF_ADJUST_SCNHDR_OUT_PRE): Define.
2008-12-23Remove STT_IFUNC support.Nick Clifton2-1/+4
2008-12-222008-12-19 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston86-799/+833
* NEWS: Update with 1.17.0 info. * README: Ditto. * acinclude.m4: Change version number to 1.17.0. * aclocal.m4: Regenerated. * configure: Ditto. * doc/aclocal.m4: Ditto. * doc/configure: Ditto. * libc/*/aclocal.m4: Ditto. * libc/*/configure: Ditto. * libc/libc.texinfo: Ditto. * libm/*/aclocal.m4: Ditto. * libm/*/configure: Ditto. * libm/libm.texinfo: Ditto. * libc/sys/linux/shared.ld: Add VERS_1.17
2008-12-22* pipe.cc (getov_result): Minor cleanup.Christopher Faylor2-3/+6
2008-12-21Add missing ChangeLog entries for my last commit.Ralf Wildenhues1-0/+10
2008-12-21* pipe.cc (getov_result): Add parameters to facilitate better EOF checking.Christopher Faylor2-5/+15
(pipe_handler): Pass extra arguments to getov_result.
2008-12-20* fhandler.cc (fhandler_base::wait_overlapped): Reorganize to eliminate gotosChristopher Faylor2-37/+43
and to hopefully eliminate one race when a signal is detected or there is a WFMO error.
2008-12-20* pinfo.h (pinfo::thisproc): Declare. Rename from set_myself.Christopher Faylor4-16/+25
* pinfo.cc (pinfo::thisproc): Define. Rename from set_myself. Set procinfo to NULL to avoid confusing subsequent init. (pinfo_init): Accommodate set_myself -> pinfo::thisproc rename. * dcrt0.cc (child_info_fork::handle_fork): Ditto. (child_info_spawn::handle_spawn): Ditto.
2008-12-20 * pwdgrp.h (pwdgrp::refresh): Fix indentation.Corinna Vinschen3-6/+11
* uinfo.cc (pwdgrp::load): Open file synchronized to avoid truncated read. Drop local variable off.
2008-12-202008-12-16 Danny Smith <dannysmith@users.sourceforge.net>Chris Sutcliffe2-25/+44
* msvcrt.def.in (___lc_codepage_func, ___lc_collate_cp_func, ___lc_handle_func, ___mb_cur_max_func, ___setlc_active_func, ___unguarded_readlc_active_add_func, __crtCompareStringW, __crtGetStringTypeW, __crtLCMapStringW, __pctype_func, __pwctype_func, __iob_func, __uncaught_exception, __wcserror, __CxxDetectRethrow, __CxxExceptionFilter, __CxxQueryExceptionSize, __CxxRegisterExceptionObject, __CxxUnregisterExceptionObject, __CxxCallUnwindDtor, __DestructExceptionObject, _aligned_free, _aligned_malloc, _aligned_offset_malloc, _aligned_offset_realloc, _aligned_realloc, _cgetws, _cputws, _cwprintf, _cwscanf, _getwch, _getwche, _putwch, _resetstkoflw, _scprintf, _scwprintf, _set_SSE2_enable, _snscanf, _snwscanf, _strtoi64, _strtoui64, _ungetwch, _vscprintf, _vscwprintf, _wcserror, _wcstoi64, _wcstoui64, _wctype, _wtof, _get_heap_handle): Always export.
2008-12-20 * cris.h (R_CRIS_32_IE): New relocation.Hans-Peter Nilsson2-0/+9
2008-12-19* pinfo.cc (pinfo_basic): New class.Christopher Faylor4-13/+41
(pinfo_basic::pinfo_basic): Define constructor for new class. (myself): Initialize from myself_initial. (set_myself): Set pid and progname from already myself_initial. * strace.cc (strace::strace): Split apart strace::hello. Send notification to strace as early as possible. (strace::hello): Just send clause which describes the current process. This can now be preceded by early initialization strace output. * include/sys/strace.h (strace::strace): Declare new constructor.
2008-12-19 * fhandler_registry.cc (perf_data_files): New table.Corinna Vinschen2-13/+77
(PERF_DATA_FILE_COUNT): New constant. (fhandler_registry::exists): Add check for HKEY_PERFORMANCE_DATA value names. (fhandler_registry::fstat): For HKEY_PERFORMANCE_DATA, return default values only. (fhandler_registry::readdir): For HKEY_PERFORMANCE_DATA, list names from perf_data_files only. (fhandler_registry::fill_filebuf): Use larger buffer to speed up access to HKEY_PERFORMANCE_DATA values. Remove check for possible subkey. Add RegCloseKey (). (open_key): Replace goto by break, remove label. Do not try to open subkey of HKEY_PERFORMANCE_DATA. Add missing RegCloseKey () after open subkey error.
2008-12-19 * path.cc (path_conv::check): Handle incoming DOS paths non-POSIXy,Corinna Vinschen2-1/+14
always case-insensitive, always ignoring ACLs.
2008-12-18 Backport link test fix from upstream Libtool:Ralf Wildenhues1-39/+46
* libltdl.m4 (_LT_SYS_DYNAMIC_LINKER, _LT_LINKER_SHLIBS): Add cache variables to tests that require the linker to work. For shlibpath_overrides_runpath, this also changes the semantics to let the result from the C compiler take precedence. compiler take precedence. binutils/ * configure: Regenerate. opcodes/ * configure: Regenerate. bfd/ * configure: Regenerate. gas/ * configure: Regenerate. gprof/ * configure: Regenerate. ld/ * configure: Regenerate.
2008-12-18 * fhandler_disk_file.cc: Set 4th parameter of NtQueryDirectoryFile toCorinna Vinschen2-9/+22
NULL throughout. (fhandler_disk_file::facl): Fix a condition so that fstat_by_handle is actually used. (fhandler_disk_file::readdir): Don't print debug message on a simple STATUS_NO_MORE_FILES status code.
2008-12-18 * path.cc (symlin_info::check): Set 4th parameter ofCorinna Vinschen2-23/+35
NtQueryDirectoryFile to NULL instead of 0 since it's a pointer. Simplify label and break from loop handling in symlink evaluation conditional expression. Drop a now useless break statement. Fix behaviour when searching for `foo' and then finding a `foo.lnk' which is no shortcut.
2008-12-18 * config.sub, config.guess: Update from upstream sources.Ben Elliston3-6/+12
2008-12-172008-12-17 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston3-0/+158
* COPYING.NEWLIB: Updated. * COPYING.LIBGLOSS: Ditto.
2008-12-172008-12-17 Jon Beniston <jon@beniston.com>Jeff Johnston2-0/+7
* configure.host: Set syscall_dir for lm32 target.