]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
16 years ago2008-02-02 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Sat, 2 Feb 2008 13:19:23 +0000 (13:19 +0000)]
2008-02-02  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/specstrings.h: new file, move pseudo modifiers from windef.h.
        * include/windef.h (__in, __inout, __in_opt, __in_bcound, __in_ecount,
        __out, __out_ecount_part, __struct_bcount, __field_ecount_opt,
        __out_bcount_opt): Move to specstrings.h.

16 years ago2008-01-31 Marc Gauthier <marc@tensilica.com>
Bob Wilson [Fri, 1 Feb 2008 18:32:06 +0000 (18:32 +0000)]
2008-01-31  Marc Gauthier  <marc@tensilica.com>
* configure.ac (xtensa*-*-*): Recognize processor variants.
* configure: Regenerate.

16 years ago * miscfuncs.cc (cygwin_wcsncasecmp): Never access more than n
Corinna Vinschen [Fri, 1 Feb 2008 13:11:57 +0000 (13:11 +0000)]
* miscfuncs.cc (cygwin_wcsncasecmp): Never access more than n
characters.
(cygwin_strncasecmp): Ditto.  Fix for strings longer than n.

16 years ago * string.h: Re-enable inline strcasematch and strncasematch
Corinna Vinschen [Fri, 1 Feb 2008 12:37:51 +0000 (12:37 +0000)]
* string.h: Re-enable inline strcasematch and strncasematch
implementations and rename to ascii_strcasematch/ascii_strncasematch.
* dcrt0.cc: Replace str[n]casematch with ascii_str[n]casematch where
applicable.
* environ.cc: Ditto.
* fhandler_process.cc: Ditto.
* hookapi.cc: Ditto.
* path.cc: Ditto.
* spawn.cc: Ditto.
* strace.cc: Ditto.
* syscalls.cc: Ditto.
* uinfo.cc: Ditto.
* winf.cc: Ditto.

16 years ago * dcrt0.cc (dll_crt0_1): Use GetCommandLineW and convert to current
Corinna Vinschen [Thu, 31 Jan 2008 20:26:01 +0000 (20:26 +0000)]
* 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.

16 years ago * cygheap.h (struct cwdstuff): Add dir member to store cwd handle.
Corinna Vinschen [Thu, 31 Jan 2008 14:18:49 +0000 (14:18 +0000)]
* 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.

16 years ago2008-01-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Paolo Bonzini [Thu, 31 Jan 2008 10:39:43 +0000 (10:39 +0000)]
2008-01-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>

        PR bootstrap/34922
        * configure.ac (PARSE_ARGS): Push suitable setting of
        ac_subdirs_all, for `./configure --help=recursive'.
        Handle `+' in generic toplevel directory disabling.
        * configure: Regenerate.

16 years agoRemove conflict marker as obvious.
Brian Ford [Wed, 30 Jan 2008 18:49:59 +0000 (18:49 +0000)]
Remove conflict marker as obvious.

16 years ago Add OpenVMS extensions.
Nick Clifton [Wed, 30 Jan 2008 10:37:43 +0000 (10:37 +0000)]
    Add OpenVMS extensions.
        * ia64.h (SHF_IA_64_VMS_GLOBAL, SHF_IA_64_VMS_OVERLAID)
        (SHF_IA_64_VMS_SHARED, SHF_IA_64_VMS_VECTOR)
        (SHF_IA_64_VMS_ALLOC_64BIT, SHF_IA_64_VMS_PROTECTED)
        (SHT_IA_64_VMS_TRACE, SHT_IA_64_VMS_TIE_SIGNATURES)
        (SHT_IA_64_VMS_DEBUG, SHT_IA_64_VMS_DEBUG_STR)
        (SHT_IA_64_VMS_LINKAGES, SHT_IA_64_VMS_SYMBOL_VECTOR)
        (SHT_IA_64_VMS_FIXUP, DT_IA_64_VMS_SUBTYPE)
        (DT_IA_64_VMS_IMGIOCNT, DT_IA_64_VMS_LNKFLAGS)
        (DT_IA_64_VMS_VIR_MEM_BLK_SIZ, DT_IA_64_VMS_IDENT)
        (DT_IA_64_VMS_NEEDED_IDENT, DT_IA_64_VMS_IMG_RELA_CNT)
        (DT_IA_64_VMS_SEG_RELA_CNT, DT_IA_64_VMS_FIXUP_RELA_CNT)
        (DT_IA_64_VMS_FIXUP_NEEDED, DT_IA_64_VMS_SYMVEC_CNT)
        (DT_IA_64_VMS_XLATED, DT_IA_64_VMS_STACKSIZE)
        (DT_IA_64_VMS_UNWINDSZ, DT_IA_64_VMS_UNWIND_CODSEG)
        (DT_IA_64_VMS_UNWIND_INFOSEG, DT_IA_64_VMS_LINKTIME)
        (DT_IA_64_VMS_SEG_NO, DT_IA_64_VMS_SYMVEC_OFFSET)
        (DT_IA_64_VMS_SYMVEC_SEG, DT_IA_64_VMS_UNWIND_OFFSET)
        (DT_IA_64_VMS_UNWIND_SEG, DT_IA_64_VMS_STRTAB_OFFSET)
        (DT_IA_64_VMS_SYSVER_OFFSET, DT_IA_64_VMS_IMG_RELA_OFF)
        (DT_IA_64_VMS_SEG_RELA_OFF, DT_IA_64_VMS_FIXUP_RELA_OFF)
        (DT_IA_64_VMS_PLTGOT_OFFSET, DT_IA_64_VMS_PLTGOT_SEG)
        (DT_IA_64_VMS_FPMODE, SHN_IA_64_VMS_SYMVEC): Define

        * readelf.c (dump_relocations): Decode OpenVMS-specific sections.
        (get_ia64_dynamic_type): Decode OpenVMS-specific tags.
        (get_dynamic_type): Handle IA64-specific tags.
        (get_ia64_section_type_name): Handle OpenVMS-specific sections.
        (get_section_type_name): Handle OS-specific sections (and
        particularly IA64 OpenVMS one).
        (get_elf_section_flags): Makes flags static.  Add entries for IA64 and
        decode them.

16 years ago2008-01-30 Brandon Sneed <nivenh@sourceware.org>
Brandon Sneed [Wed, 30 Jan 2008 09:39:16 +0000 (09:39 +0000)]
2008-01-30  Brandon Sneed  <nivenh@sourceware.org>

* lib/bthprops.def: new file, bluetooth imports.

16 years ago2008-01-30 Brandon Sneed <nivenh@sourceware.org>
Brandon Sneed [Wed, 30 Jan 2008 09:18:22 +0000 (09:18 +0000)]
2008-01-30  Brandon Sneed  <nivenh@sourceware.org>

* include/windef.h (__in, __inout, __in_opt, __in_bcound, __in_ecount,
__out, __out_ecount_part, __struct_bcount, __field_ecount_opt,
__out_bcount_opt): Defined additional pseudo-modifiers.

16 years ago2008-01-29 Brandon Sneed <nivenh@sourceware.org>
Brandon Sneed [Wed, 30 Jan 2008 00:47:35 +0000 (00:47 +0000)]
2008-01-29  Brandon Sneed  <nivenh@sourceware.org>
* include/ras.h (RAS_MaxDnsSuffix): corrected typo, was RAX_MaxDnsSuffix.
(RASENTRYA, RASENTRYW): Added members (dwfOptions2, dwfOptions3, szDnsSuffix,
dwTcpWindowSize, szPrerequisitePbk, szPrerequisiteEntry, dwRedialCount,
dwRedialPause.

16 years ago2008-01-29 Brandon Sneed <nivenh@sourceware.org>
Brandon Sneed [Tue, 29 Jan 2008 21:18:49 +0000 (21:18 +0000)]
2008-01-29  Brandon Sneed  <nivenh@sourceware.org>

* include/winnt.h (SYSTEM_POWER_CONDITION): typedef.
* include/winuser.h (PBT_POWERSETTINGCHANGE, DEVICE_NOTIFY_WINDOW_HANDLE,
DEVICE_NOTIFY_SERVICE_HANDLE): define.
* include/winuser.h (LPCGUID, HPOWERNOTIFY, POWERBROADCAST_SETTING): typedefs.
* include/winuser.h (GUID_POWERSCHEME_PERSONALITY, GUID_MIN_POWER_SAVINGS,
GUID_MAX_POWER_SAVINGS, GUID_TYPICAL_POWER_SAVINGS, GUID_ACDC_POWER_SOURCE,
GUID_BATTERY_PERCENTAGE_REMAINING, GUID_IDLE_BACKGROUND_TASK,
GUID_SYSTEM_AWAYMODE, GUID_MONITOR_POWER_ON): added externs for GUIDs.
* include/winuser.h (RegisterPowerSettingNotification,
UnregisterPowerSettingNotification): Add prototypes.
* lib/user32.def: Added imports for the above prototypes.
* lib/Makefile.in: Added build support for power-uuid.c.
* lib/power-uuid.c: New file containing power GUID definitions.

16 years ago* include/ras.h (RAS_MaxDnsSuffix): define.
Brandon Sneed [Tue, 29 Jan 2008 20:40:32 +0000 (20:40 +0000)]
* include/ras.h (RAS_MaxDnsSuffix): define.

16 years agoAdded new PSAPI defines and exports
Brandon Sneed [Tue, 29 Jan 2008 20:34:43 +0000 (20:34 +0000)]
Added new PSAPI defines and exports

16 years ago * path.cc: Fix Samba version in comment.
Corinna Vinschen [Mon, 28 Jan 2008 12:19:30 +0000 (12:19 +0000)]
* path.cc: Fix Samba version in comment.

16 years agoinclude/
David Daney [Sun, 27 Jan 2008 06:25:45 +0000 (06:25 +0000)]
include/
2008-01-26  David Daney  <ddaney@avtrex.com>

* demangle.h (demangle_component_type):  Add
DEMANGLE_COMPONENT_JAVA_RESOURCE,
DEMANGLE_COMPONENT_COMPOUND_NAME, and
DEMANGLE_COMPONENT_CHARACTER as new enum values.
(demangle_component): Add struct s_character to union u.

libiberty/
2008-01-26  David Daney  <ddaney@avtrex.com>

* cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_JAVA_RESOURCE,
DEMANGLE_COMPONENT_COMPOUND_NAME, and
DEMANGLE_COMPONENT_CHARACTER cases.
(d_make_comp): Handle DEMANGLE_COMPONENT_COMPOUND_NAME and
DEMANGLE_COMPONENT_JAVA_RESOURCE cases.
(d_make_character): New function.
(d_java_resource): Same.
(d_special_name): Handle "Gr" case.
(d_print_comp): Handle DEMANGLE_COMPONENT_JAVA_RESOURCE,
DEMANGLE_COMPONENT_COMPOUND_NAME, and
DEMANGLE_COMPONENT_CHARACTER cases.
* testsuite/demangle-expected: Add test for java resource name
mangling.

16 years ago * libc/sys/mmixware/isatty.c (_isatty): Renamed from isatty.
Hans-Peter Nilsson [Fri, 25 Jan 2008 04:31:11 +0000 (04:31 +0000)]
* libc/sys/mmixware/isatty.c (_isatty): Renamed from isatty.
Make ISO C.

16 years ago * path.cc (fs_info::update): Fix old-style Samba test to support
Corinna Vinschen [Thu, 24 Jan 2008 17:29:29 +0000 (17:29 +0000)]
* path.cc (fs_info::update): Fix old-style Samba test to support
recent as well as upcoming Samba releases.

16 years ago/gas:
Eric Weddington [Wed, 23 Jan 2008 17:36:23 +0000 (17:36 +0000)]
/gas:
2008-01-23  Eric B. Weddington  <eric.weddington@atmel.com>

* config/tc-avr.c (mcu_types): Change opcode set for at86rf401.

/include:
2008-01-23  Eric B. Weddington  <eric.weddington@atmel.com>

* opcode/avr.h (AVR_ISA_RF401): Add new opcode set for at86rf401.

16 years ago * config.sub, config.guess: Update from upstream sources.
Ben Elliston [Wed, 23 Jan 2008 02:43:51 +0000 (02:43 +0000)]
* config.sub, config.guess: Update from upstream sources.

16 years ago * ntdll.h (struct _FILE_FS_OBJECTID_INFORMATION): Define.
Corinna Vinschen [Tue, 22 Jan 2008 17:43:22 +0000 (17:43 +0000)]
* 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.

16 years ago* libc/sys/sh/syscalls.c (_isatty): New.
DJ Delorie [Tue, 22 Jan 2008 00:24:45 +0000 (00:24 +0000)]
* libc/sys/sh/syscalls.c (_isatty): New.

16 years ago2008-01-21 Neal H. Walfield <neal@gnu.org>
Jeff Johnston [Mon, 21 Jan 2008 18:29:17 +0000 (18:29 +0000)]
2008-01-21  Neal H. Walfield  <neal@gnu.org>

        * Makefile.am (crt1.o): Use correct source.
        * Makefile.in: Regenerated.

16 years ago * fhandler_disk_file.cc (fhandler_disk_file::link): Open file with
Corinna Vinschen [Mon, 21 Jan 2008 14:51:55 +0000 (14:51 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::link): Open file with
READ_CONTROL for Vista/Longhorn's sake.

16 years ago* common.h (AT_SUN_AUXFLAGS): Define.
Mark Kettenis [Wed, 16 Jan 2008 22:01:42 +0000 (22:01 +0000)]
* common.h (AT_SUN_AUXFLAGS): Define.

16 years ago/gas:
Eric Weddington [Wed, 16 Jan 2008 17:59:07 +0000 (17:59 +0000)]
/gas:
2008-01-03  Eric B. Weddington  <eric.weddington@atmel.com>

* config/tc-avr.c (mcu_types): Change opcode set for avr3,
at90usb82, at90usb162.
* doc/c-avr.texi: Change architecture grouping for at90usb82,
at90usb162.
These changes support the new avr35 architecture group in gcc.

/include:
2008-01-03  Eric B. Weddington  <eric.weddington@atmel.com>

* opcode/avr.h (AVR_ISA_USB162): Add new opcode set.
(AVR_ISA_AVR3): Likewise.

16 years ago * Makefile.in (install-libs): Overwrite newlib's libg.a with symlink
Corinna Vinschen [Tue, 15 Jan 2008 17:42:10 +0000 (17:42 +0000)]
* Makefile.in (install-libs): Overwrite newlib's libg.a with symlink
to libcygwin.a.

16 years ago * Makefile.in (DLL_OFILES): Remove memmem.o.
Corinna Vinschen [Tue, 15 Jan 2008 13:45:42 +0000 (13:45 +0000)]
* Makefile.in (DLL_OFILES): Remove memmem.o.
* memmem.cc: Remove in favor of newlib implementation.

16 years ago* libc/string/Makefile.am (ELIX_2_SOURCES): Fix definition.
Eric Blake [Tue, 15 Jan 2008 13:35:33 +0000 (13:35 +0000)]
* libc/string/Makefile.am (ELIX_2_SOURCES): Fix definition.
* libc/string/Makefile: Regenerate.

16 years ago * libc/include/machine/setjmp.h (__SIGMASK_FUNC): Define as
Corinna Vinschen [Tue, 15 Jan 2008 09:41:06 +0000 (09:41 +0000)]
* 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.

16 years ago * cygcheck.cc (dump_sysinfo): Always try to get a OSVERSIONINFOEX
Corinna Vinschen [Sun, 13 Jan 2008 13:41:45 +0000 (13:41 +0000)]
* 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.

16 years agoMake strstr and strcasestr O(n), not O(n^2); add memmem.
Eric Blake [Sat, 12 Jan 2008 04:25:55 +0000 (04:25 +0000)]
Make 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.

16 years ago* m32c/exit.S (__exit): preserve both argument registers.
DJ Delorie [Fri, 11 Jan 2008 02:21:44 +0000 (02:21 +0000)]
* m32c/exit.S (__exit): preserve both argument registers.

16 years ago2008-01-08 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Tue, 8 Jan 2008 21:48:06 +0000 (21:48 +0000)]
2008-01-08  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/machine/m68k/memcpy.S: Remove % from register references
        as this is already handled by m68kasm.h.
        * libc/machine/m68k/memset.S: Ditto.

16 years ago * futex.m4: New file.
Jakub Jelinek [Tue, 8 Jan 2008 17:29:24 +0000 (17:29 +0000)]
* futex.m4: New file.

16 years ago * config.sub, config.guess: Update from upstream sources.
Ben Elliston [Mon, 7 Jan 2008 23:25:47 +0000 (23:25 +0000)]
* config.sub, config.guess: Update from upstream sources.

16 years ago2008-01-07 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 7 Jan 2008 18:59:45 +0000 (18:59 +0000)]
2008-01-07  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/machine/m68k/m68kasm.h: New file.
        * libc/machine/m68k/setjmp.S: Remove common definitions and
        place in m68kasm.h.  Include "m68kasm.h".
        * libc/machine/m68k/memcpy.S: Include "m68kasm.h" and use
        SYM() macro when referencing function name.
        * libc/machine/m68k/memset.S: Ditto.

16 years ago * fhandler.h: Update copyright.
Corinna Vinschen [Mon, 7 Jan 2008 16:51:54 +0000 (16:51 +0000)]
* fhandler.h: Update copyright.
* include/limits.h: Ditto.

16 years ago* fhandler.h (fhandler_base::is_tty): Make bool.
Christopher Faylor [Sun, 6 Jan 2008 18:37:20 +0000 (18:37 +0000)]
* fhandler.h (fhandler_base::is_tty): Make bool.
(fhandler_serial::is_tty): Ditto.
(fhandler_termios::is_tty): Ditto.
(fhandler_base::is_slow): Return bool value.
(fhandler_socket::is_slow): Ditto.
(fhandler_serial::is_slow): Ditto.
(fhandler_console::is_slow): Ditto.
(fhandler_tty_common::is_slow): Ditto.
(fhandler_tty_master::is_slow): Ditto.
(fhandler_dev_null::is_slow): Ditto.

16 years ago* include/limits.h (TTY_NAME_MAX): Increase size to same as linux to allow for
Christopher Faylor [Sun, 6 Jan 2008 18:31:35 +0000 (18:31 +0000)]
* include/limits.h (TTY_NAME_MAX): Increase size to same as linux to allow for
(at least) null terminating byte for "/dev/console".

16 years ago2008-01-03 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 3 Jan 2008 22:38:31 +0000 (22:38 +0000)]
2008-01-03  Jeff Johnston  <jjohnstn@redhat.com>

        * arm/redboot-syscalls.c: Consistently supply _isatty if syscalls
        dir is used in newlib.
        * bfin/syscalls.c: Ditto.
        * cris/gensyscalls: Ditto.
        * fr30/syscalls.c: Ditto.
        * frv/isatty.c: Ditto.
        * iq2000/isatty.c: Ditto.
        * libnosys/isatty.c: Ditto.
        * m32r/isatty.c: Ditto.
        * mn10200/isatty.c: Ditto.
        * mn10300/isatty.c: Ditto.
        * xstormy16/isatty.c: New file with _isatty function.

16 years ago2008-01-03 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 3 Jan 2008 22:33:37 +0000 (22:33 +0000)]
2008-01-03  Jeff Johnston  <jjohnstn@redhat.com>

        Make isatty syscall handling consistent with other newlib syscalls.

        * libc/include/_syslist.h: Add _isatty.
        * libc/include/reent.h: Add _isatty_r.
        * libc/include/sys/unistd.h: Add _isatty.
        * libc/posix/Makefile.am: Add new _isatty.c file.
        * libc/posix/Makefile.in: Regenerated.
        * libc/posix/_isatty.c: New file.
        * libc/posix/isatty.c: Changed to call _isatty().
        * libc/reent/Makefile.am: Add new isattyr.c file.
        * libc/reent/Makefile.in: Regenerated.
        * libc/reent/isattyr.c: New file.
        * libc/stdio/freopen.c: Changed to call _isatty_r().
        * libc/stdio/makebuf.c: Ditto.
        * libc/sys/a29khif/_isatty.S: Change isatty to _isatty.
        * libc/sys/arc/isatty.c: Ditto.
        * libc/sys/arm/syscalls.c: Ditto.
        * libc/sys/d10v/syscalls.c: Ditto.
        * libc/sys/h8300hms/syscalls.c: Ditto.
        * libc/sys/h8500hms/syscalls.c: Ditto.
        * libc/sys/linux/Makefile.am: Add new isatty.c file.
        * libc/sys/linux/Makefile.in: Regenerated.
        * libc/sys/linux/isatty.c: New file.
        * libc/syscalls/Makefile.am: Add new sysisatty.c file.
        * libc/syscalls/Makefile.in: Regenerated.
        * libc/syscalls/sysisatty.c: New file.

16 years ago2008-01-02 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 3 Jan 2008 00:16:49 +0000 (00:16 +0000)]
2008-01-02  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/syscalls/sysclose.c: Always call reentrant version of the
        underlying syscall since one is guaranteed to exist in libc/reent.
        * libc/syscalls/sysexecve.c: Ditto.
        * libc/syscalls/sysfcntl.c: Ditto.
        * libc/syscalls/sysfork.c: Ditto.
        * libc/syscalls/sysfstat.c: Ditto.
        * libc/syscalls/sysgetpid.c: Ditto.
        * libc/syscalls/sysgettod.c: Ditto.
        * libc/syscalls/syskill.c: Ditto.
        * libc/syscalls/syslink.c: Ditto.
        * libc/syscalls/syslseek.c: Ditto.
        * libc/syscalls/sysopen.c: Ditto.
        * libc/syscalls/sysread.c: Ditto.
        * libc/syscalls/syssbrk.c: Ditto.
        * libc/syscalls/sysstat.c: Ditto.
        * libc/syscalls/systimes.c: Ditto.
        * libc/syscalls/sysunlink.c: Ditto.
        * libc/syscalls/syswait.c: Ditto.
        * libc/syscalls/syswrite.c: Ditto.

16 years ago Updated copyright notices for most files.
Daniel Jacobowitz [Tue, 1 Jan 2008 22:53:22 +0000 (22:53 +0000)]
Updated copyright notices for most files.

16 years ago* tty.cc: Update copyright.
Christopher Faylor [Tue, 1 Jan 2008 19:07:36 +0000 (19:07 +0000)]
* tty.cc: Update copyright.
* pipe.cc: Ditto.

16 years ago* newsym: First stab at understanding data as well as functions.
Christopher Faylor [Tue, 1 Jan 2008 18:51:23 +0000 (18:51 +0000)]
* newsym: First stab at understanding data as well as functions.

* pipe.cc (fhandler_pipe::init): Move more intelligence here.
(fhandler_pipe::create): Simplify based on above change.

* tty.cc (tty_list::allocate): Remove non-NT code.

16 years ago * cygwin.din (_f_llrint, _f_llrintf, _f_llrintl, _f_lrint, _f_lrintf,
Dave Korn [Sun, 30 Dec 2007 21:12:08 +0000 (21:12 +0000)]
* cygwin.din (_f_llrint, _f_llrintf, _f_llrintl, _f_lrint, _f_lrintf,
_f_lrintl, _f_rint, _f_rintf, _f_rintl):  Export fast *rint* functions.
(lrint, lrintf, rint, rintf):  Redirect exports to alias _f_ versions.
(llrint, llrintf, llrintl, lrintl, rintl):  Add exports aliasing _f_*
versions likewise.
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR):  Bump.

16 years ago * bloda.cc (enum bad_app): Add BYTEMOBILE.
Dave Korn [Sat, 29 Dec 2007 19:26:56 +0000 (19:26 +0000)]
* 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.

16 years ago * faq-using.xml (faq.using.bloda): New entry.
Dave Korn [Sat, 29 Dec 2007 18:20:13 +0000 (18:20 +0000)]
* 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.

16 years ago2007-12-27 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Fri, 28 Dec 2007 00:33:04 +0000 (00:33 +0000)]
2007-12-27 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>

        * include/_mingw.h: Increment version to 3.14.

16 years ago2007-12-27 Chris Sutcliffe <ir0nh34d@users.sf.net>
Chris Sutcliffe [Fri, 28 Dec 2007 00:32:27 +0000 (00:32 +0000)]
2007-12-27  Chris Sutcliffe  <ir0nh34d@users.sf.net>

        * include/w32api.h: Increment version to 3.11.
        * Makefile.in: Ditto.

16 years ago * fhandler.h (class fhandler_dev_random): Add dummy_offset member.
Corinna Vinschen [Sat, 22 Dec 2007 13:26:47 +0000 (13:26 +0000)]
* fhandler.h (class fhandler_dev_random): Add dummy_offset member.
* fhandler_random.cc (fhandler_dev_random::lseek): Fake seeking
capability as on Linux.

16 years ago * Makefile.in (cygcheck.exe): Don't link to ntdll.
Brian Dessent [Fri, 21 Dec 2007 03:32:46 +0000 (03:32 +0000)]
* 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.

16 years ago * libc/memmem.cc (memmem): Fix bug when searching for empty string.
Corinna Vinschen [Thu, 20 Dec 2007 10:11:37 +0000 (10:11 +0000)]
* libc/memmem.cc (memmem): Fix bug when searching for empty string.

16 years ago2007-12-19 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 19 Dec 2007 22:36:48 +0000 (22:36 +0000)]
2007-12-19  Jeff Johnston  <jjohnstn@redhat.com>

        * NEWS: Update with 1.16.0 info.
        * README: Ditto.
        * acinclude.m4: Change version number to 1.16.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.16.

16 years ago2007-12-19 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 19 Dec 2007 22:27:00 +0000 (22:27 +0000)]
2007-12-19  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/string/strcasestr.c: Remove id macro.
        * libc/sys/linux/linuxthreads/attr.c: Fix up sched_priority
        field reference to be __sched_priority.
        * libc/sys/linux/linuxthreads/joinrace.c: Ditto.
        * libc/sys/linux/linuxthreads/manager.c: Ditto.
        * libc/sys/linux/stdlib/collate.c: Remove id macro.
        * libc/sys/linux/stdlib/collcmp.c: Ditto.
        * libc/sys/linux/stdlib/engine.c: Ditto.
        * libc/sys/linux/stdlib/fnmatch.c: Ditto.
        * libc/sys/linux/stdlib/glob.c: Ditto.
        * libc/sys/linux/stdlib/reallocf.c: Ditto.
        * libc/sys/linux/stdlib/regcomp.c: Ditto.
        * libc/sys/linux/stdlib/regerror.c: Ditto.
        * libc/sys/linux/stdlib/regexec.c: Ditto.
        * libc/sys/linux/stdlib/regfree.c: Ditto.
        * libc/sys/linux/sys/cdefs.h: Replace with latest version.
        * libc/sys/linux/include/argp.h: Ditto.
        * libc/sys/linux/sys/libc-lock.h: New file.
        * libc/sys/linux/sys/stdint.h: Ditto.
        * libc/sys/linux/include/sched.h: New file.

16 years ago2007-12-19 Dave Korn <dave.korn@artimi.com>
Jeff Johnston [Wed, 19 Dec 2007 22:20:25 +0000 (22:20 +0000)]
2007-12-19  Dave Korn  <dave.korn@artimi.com>
            Jeff Johnston  <jjohnstn@redhhat.com>

        * libc/include/_ansi.h: Add _LONG_LONG definition.
        * libc/include/math.h (llrint, llrintf, rintl, lrintl, llrintl): Add
        prototypes.
        * libc/machine/i386/machine/fastmath.h: Add support for new i386
        fast math versions of rint, lrint, and llrint family functions.
        * libm/machine/i386/Makefile.am: Add new files.
        * libm/machine/i386/Makefile.in: Regenerated.
        * libm/machine/i386/f_llrint.c, libm/machine/i386/f_lrint.c,
        libm/machine/i386/f_rint.c, libm/machine/i386/f_llrintf.c,
        libm/machine/i386/f_lrintf.c, libm/machine/i386/f_rintf.c,
        libm/machine/i386/f_llrintl.c, libm/machine/i386/f_lrintl.c,
        libm/machine/i386/f_rintl.c:  New files with fast math implementations.

16 years ago2007-12-19 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 19 Dec 2007 20:47:45 +0000 (20:47 +0000)]
2007-12-19  Jeff Johnston  <jjohnstn@redhat.com>

        * COPYING.LIBGLOSS: Update default copyright.

16 years ago2007-12-19 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 19 Dec 2007 19:12:23 +0000 (19:12 +0000)]
2007-12-19  Jeff Johnston  <jjohnstn@redhat.com>

        * COPYING.NEWLIB: Update default copyright.

16 years ago2007-12-19 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 19 Dec 2007 18:51:19 +0000 (18:51 +0000)]
2007-12-19  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/sys/features.h: Add checks for C90 compilers using
        -ansi.

16 years ago2007-11-15 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 19 Dec 2007 18:49:17 +0000 (18:49 +0000)]
2007-11-15  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/sys/_default_fcntl.h: New header file that
        is the default version of sys/fcntl.h.
        * libc/include/sys/fcntl.h: Changed to simply include
        sys/_default_fcntl.h.
        * libc/sys/arm/sys/fcntl.h: New file that includes
        sys/_default_fcntl.h and defines O_BINARY.

16 years ago * cygwin.din: Export wcpcpy, wcpncpy.
Corinna Vinschen [Wed, 19 Dec 2007 17:38:18 +0000 (17:38 +0000)]
* cygwin.din: Export wcpcpy, wcpncpy.
* include/cygwin/version.h: Bump API minor number.

16 years ago * libc/include/wchar.h: Add prototypes for wcpcpy and wcpncpy.
Corinna Vinschen [Wed, 19 Dec 2007 17:33:12 +0000 (17:33 +0000)]
* 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.

16 years ago * libc/stdio/vfprintf.c (_VFPRINTF_R): Use correct pointer in call to
Corinna Vinschen [Wed, 19 Dec 2007 17:06:19 +0000 (17:06 +0000)]
* libc/stdio/vfprintf.c (_VFPRINTF_R): Use correct pointer in call to
_wcsrtombs_r.

16 years ago/tmp/foo.diff
Richard Sandiford [Tue, 18 Dec 2007 07:37:34 +0000 (07:37 +0000)]
/tmp/foo.diff

16 years ago/tmp/foo.diff
Richard Sandiford [Tue, 18 Dec 2007 07:34:56 +0000 (07:34 +0000)]
/tmp/foo.diff

16 years ago* dtable.cc (POSIX_NAMED_PIPE): New define.
Christopher Faylor [Sun, 16 Dec 2007 21:21:23 +0000 (21:21 +0000)]
* 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.

16 years ago* pathnames.xml: Fix a typo.
Christopher Faylor [Sun, 16 Dec 2007 21:19:29 +0000 (21:19 +0000)]
* pathnames.xml: Fix a typo.

16 years ago * include/cygwin/socket.h: Include sys/uio.h instead of cygwin/uio.h.
Corinna Vinschen [Fri, 14 Dec 2007 12:12:32 +0000 (12:12 +0000)]
* include/cygwin/socket.h: Include sys/uio.h instead of cygwin/uio.h.
* include/cygwin/uio.h: Remove.

16 years ago * dtable.cc (dtable::set_file_pointers_for_exec): Reenable. Fix
Corinna Vinschen [Fri, 14 Dec 2007 11:32:40 +0000 (11:32 +0000)]
* 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.

16 years agoMerge from gcc:
DJ Delorie [Fri, 14 Dec 2007 01:28:55 +0000 (01:28 +0000)]
Merge from gcc:
2007-12-10  Andreas Tobler  <a.tobler@schweiz.org>

* configure.ac: Enable libjava for x86_64-*-darwin9.
* configure: Regenerate.

16 years ago * poll.cc (poll): Return count of fds with events instead of total
Corinna Vinschen [Thu, 13 Dec 2007 10:57:08 +0000 (10:57 +0000)]
* poll.cc (poll): Return count of fds with events instead of total
event count.

16 years ago * string.h: Guard cygwin internal string function definitions with
Corinna Vinschen [Thu, 13 Dec 2007 10:33:55 +0000 (10:33 +0000)]
* string.h: Guard cygwin internal string function definitions with
__INSIDE_CYGWIN__.

16 years ago * dcrt0.cc: Include string.h.
Corinna Vinschen [Wed, 12 Dec 2007 12:12:24 +0000 (12:12 +0000)]
* 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.

16 years ago * fhandler_disk_file.cc (fhandler_base::fstat_helper): Fix R/O bit
Corinna Vinschen [Tue, 11 Dec 2007 18:57:44 +0000 (18:57 +0000)]
* fhandler_disk_file.cc (fhandler_base::fstat_helper): Fix R/O bit
handling on filesystems without ACL support.

16 years ago2007-12-11 Dave Korn <dave.korn@artimi.com>
Dave Korn [Tue, 11 Dec 2007 18:38:25 +0000 (18:38 +0000)]
2007-12-11  Dave Korn  <dave.korn@artimi.com>

* include/wincrypt.h (PCRYPT_DECODE_PARA):  Add missing typedef.
(CERT_POLICY_MAPPINGS_INFO):  Move before CERT_POLICY_MAPPING.

16 years ago * localtime.cc (tzset): Guard by a muto for thread safety.
Corinna Vinschen [Tue, 11 Dec 2007 16:14:24 +0000 (16:14 +0000)]
* localtime.cc (tzset): Guard by a muto for thread safety.

16 years ago * cygheap.cc (_csbrk): Don't request zero bytes from VirtualAlloc,
Dave Korn [Tue, 11 Dec 2007 15:16:19 +0000 (15:16 +0000)]
* cygheap.cc (_csbrk):  Don't request zero bytes from VirtualAlloc,
as windows treats that as an invalid parameter and returns an error.

16 years ago * localtime.cc (tzset): Call tzsetwall only if it hasn't been
Corinna Vinschen [Tue, 11 Dec 2007 15:01:31 +0000 (15:01 +0000)]
* localtime.cc (tzset): Call tzsetwall only if it hasn't been
called before.

16 years ago * dwarf2.h (DW_AT_hi_user): Correct value.
Daniel Jacobowitz [Tue, 11 Dec 2007 12:56:21 +0000 (12:56 +0000)]
* dwarf2.h (DW_AT_hi_user): Correct value.

16 years ago2007-12-07 Bob Wilson <bob.wilson@acm.org>
Bob Wilson [Fri, 7 Dec 2007 22:52:08 +0000 (22:52 +0000)]
2007-12-07  Bob Wilson  <bob.wilson@acm.org>

include/elf/
* xtensa.h (R_XTENSA_32_PCREL): New.

bfd/
* elf32-xtensa.c (elf_howto_table): Add R_XTENSA_32_PCREL.
(elf_xtensa_reloc_type_lookup): Handle BFD_RELOC_32_PCREL.
(elf_xtensa_check_relocs): Use default case for all relocations that
need nothing done here.
(elf_xtensa_do_reloc): Compute self_address for all relocation types.
Handle R_XTENSA_32_PCREL.
(elf_xtensa_relocate_section): Check for R_XTENSA_32_PCREL for dynamic
symbols.
(check_section_ebb_pcrels_fit): Ignore R_XTENSA_32_PCREL relocations.

gas/
* config/tc-xtensa.c (O_pcrel): Define.
(suffix_relocs): Add pcrel suffix.
(md_pseudo_table): Add 4byte and 2byte directives.
(xtensa_elf_cons): Pass correct pcrel argument to fix_new_exp.
(xg_assemble_literal): Likewise.  Check for O_pcrel.
(expression_maybe_register): Reorganize.  Handle BFD_RELOC_32_PCREL.
(xg_valid_literal_expression): Allow O_pcrel.
(md_pcrel_from, md_apply_fix): Handle BFD_RELOC_32_PCREL.
(tc_gen_reloc): Fix punctuation in error message.

gas/testsuite/
* gas/xtensa/all.exp: Run new pcrel test.
* gas/xtensa/err-pcrel.s: New.
* gas/xtensa/pcrel.d: New.
* gas/xtensa/pcrel.s: New.
* gas/xtensa/xtensa-err.exp: New.

16 years ago * regtool.cc (opts): Add missing 'W'.
Corinna Vinschen [Fri, 7 Dec 2007 09:37:46 +0000 (09:37 +0000)]
* regtool.cc (opts): Add missing 'W'.

16 years ago * include/sys/cygwin.h: Include limits.h.
Corinna Vinschen [Fri, 7 Dec 2007 09:37:14 +0000 (09:37 +0000)]
* include/sys/cygwin.h: Include limits.h.

16 years ago * ps.cc: Include limits.h.
Corinna Vinschen [Thu, 6 Dec 2007 18:26:18 +0000 (18:26 +0000)]
* 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.

16 years ago * dcrt0.cc (initial_env): Use PATH_MAX instead of CYG_MAX_PATH for path
Corinna Vinschen [Thu, 6 Dec 2007 18:24:06 +0000 (18:24 +0000)]
* 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.

16 years agoconfig/
Richard Sandiford [Thu, 6 Dec 2007 17:44:07 +0000 (17:44 +0000)]
config/
* mt-sde (CFLAGS_FOR_TARGET, CXXFLAGS_FOR_TARGET): Use +=, not =.
* mt-mips-elfoabi: Likewise.

16 years ago * fhandler_tty.cc (fhandler_tty_slave::open): Use MAX_PATH instead of
Corinna Vinschen [Wed, 5 Dec 2007 16:50:18 +0000 (16:50 +0000)]
* 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.

Fix typo in ChangeLog.

16 years ago * fhandler_registry.cc: Use NAME_MAX + 1 instead of CYG_MAX_PATH
Corinna Vinschen [Wed, 5 Dec 2007 15:10:20 +0000 (15:10 +0000)]
* 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.

16 years ago Add missing ChangeLog entry.
Corinna Vinschen [Wed, 5 Dec 2007 12:32:30 +0000 (12:32 +0000)]
Add missing ChangeLog entry.

16 years ago * config.sub, config.guess: Update from upstream sources.
Ben Elliston [Wed, 5 Dec 2007 03:27:21 +0000 (03:27 +0000)]
* config.sub, config.guess: Update from upstream sources.

16 years ago * fhandler_fifo.cc (fhandler_fifo::open): Use MAX_NAME for pipe name
Corinna Vinschen [Tue, 4 Dec 2007 13:29:44 +0000 (13:29 +0000)]
* 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.

16 years ago2007-12-03 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Tue, 4 Dec 2007 00:35:55 +0000 (00:35 +0000)]
2007-12-03  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/wingdi.h: Change WINVER guard to _WIN32_WINNT.

16 years ago2007-12-03 techrazy <techrazy@users.sourceforge.net>
Chris Sutcliffe [Tue, 4 Dec 2007 00:30:40 +0000 (00:30 +0000)]
2007-12-03  techrazy  <techrazy@users.sourceforge.net>

        * include/wingdi.h (NTM_NONNEGATIVE_AC, NTM_PS_OPENTYPE, NTM_TT_OPENTYPE,
        NTM_MULTIPLEMASTER, NTM_TYPE1, NTM_DSIG): define.

16 years ago * autoload.cc (GetModuleFileNameExW): Replace definition of
Corinna Vinschen [Mon, 3 Dec 2007 14:13:03 +0000 (14:13 +0000)]
* autoload.cc (GetModuleFileNameExW): Replace definition of
GetModuleFileNameExA.
* fhandler_process.cc (format_process_maps): Change modname type to
WCHAR.  Set buffer sizes to PATH_MAX.  Call GetModuleFileNameExW
instead of GetModuleFileNameExA.  Call mount_info::conv_to_posix_path
instead of cygwin_conv_to_full_posix_path.  Set posix_modname to
modname if that call fails.
(format_process_stat): Set cmd buffer size to NAME_MAX + 1.  Simplify
setting cmd to process name.
(format_process_status): Ditto.
* path.cc (mount_info::conv_to_posix_path): Call sys_wcstombs
correctly.

16 years ago * include/cygwin/time.h: Remove redundant #endif.
Corinna Vinschen [Mon, 3 Dec 2007 11:34:59 +0000 (11:34 +0000)]
* include/cygwin/time.h: Remove redundant #endif.

16 years ago * include/cygwin/time.h (daylight): Declare as extern symbol referring
Corinna Vinschen [Sat, 1 Dec 2007 13:49:45 +0000 (13:49 +0000)]
* include/cygwin/time.h (daylight): Declare as extern symbol referring
_daylight variable.
(timezone): Only define if __timezonefunc__ is undefined.

16 years ago * cris/Makefile.in (crt0.o): Add CFLAGS when compiling crt0.S.
Hans-Peter Nilsson [Sat, 1 Dec 2007 13:14:07 +0000 (13:14 +0000)]
* cris/Makefile.in (crt0.o): Add CFLAGS when compiling crt0.S.

16 years ago * Makefile.in (OBSOLETE_FUNCTIONS): Add timezone.
Corinna Vinschen [Sat, 1 Dec 2007 13:04:43 +0000 (13:04 +0000)]
* Makefile.in (OBSOLETE_FUNCTIONS): Add timezone.
* include/cygwin/time.h: Drop conditional timezone definitions.
(timezone): Declare as extern symbol referring _timezone variable.

16 years ago2007-11-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Paolo Bonzini [Thu, 29 Nov 2007 15:36:39 +0000 (15:36 +0000)]
2007-11-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>

        * config-ml.in: Robustify against white space in absolute file
        names.

This page took 0.06957 seconds and 5 git commands to generate.