]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
15 years ago * common.h (ELFOSABI_AROS): Update comment.
Alan Modra [Sun, 3 Aug 2008 23:20:42 +0000 (23:20 +0000)]
* common.h (ELFOSABI_AROS): Update comment.

15 years ago * mt-spu (all-ld): Update for ld Makefile changes.
Alan Modra [Sun, 3 Aug 2008 03:38:07 +0000 (03:38 +0000)]
* mt-spu (all-ld): Update for ld Makefile changes.

15 years ago * tcl.m4 (SC_PATH_TCLCONFIG): Add some simple logic to deal
Keith Seitz [Sat, 2 Aug 2008 21:20:13 +0000 (21:20 +0000)]
    * tcl.m4 (SC_PATH_TCLCONFIG): Add some simple logic to deal
        with cygwin.
        (SC_PATH_TKCONFIG): Likewise.

15 years agogas/
Peter Bergner [Sat, 2 Aug 2008 04:38:51 +0000 (04:38 +0000)]
gas/
* config/tc-ppc.c (parse_cpu): Rename altivec_or_spe to retain_flags.
Handle -mvsx and -mpower7.
(md_show_usage): Document -mpower7 and -mvsx.
* doc/as.texinfo (Target PowerPC): Document -mvsx.
* doc/c-ppc.texi (PowerPC-Opts): Document -mvsx and -mpower7.

gas/testsuite/
* gas/ppc/power7.d: New.
* gas/ppc/power7.s: Likewise.
* gas/ppc/ppc.exp: Run power7 test.

include/opcode/
* ppc.h (PPC_OPCODE_VSX, PPC_OPERAND_VSR): New.

opcodes/
* ppc-dis.c (powerpc_init_dialect): Handle power7 and vsx options.
(print_insn_powerpc): Prepend 'vs' when printing VSX registers.
(print_ppc_disassembler_options): Document -Mpower7 and -Mvsx.
* ppc-opc.c (insert_xt6): New static function.
(extract_xt6): Likewise.
(insert_xa6): Likewise.
(extract_xa6: Likewise.
(insert_xb6): Likewise.
(extract_xb6): Likewise.
(insert_xb6s): Likewise.
(extract_xb6s): Likewise.
(XS6, XT6, XA6, XB6, XB6S, DM, XX3, XX3DM, XX1_MASK, XX3_MASK,
XX3DM_MASK, PPCVSX): New.
(powerpc_opcodes): Add opcodes "lxvd2x", "lxvd2ux", "stxvd2x",
"stxvd2ux", "xxmrghd", "xxmrgld", "xxpermdi", "xvmovdp", "xvcpsgndp".

15 years ago* dcrt0.cc (dll_crt0_1): Add a symbol denoting return from call to main().
Christopher Faylor [Fri, 1 Aug 2008 19:12:49 +0000 (19:12 +0000)]
* dcrt0.cc (dll_crt0_1): Add a symbol denoting return from call to main().
* exceptions.cc (stack_info::walk): Stop walking the stack when we hit
_cygwin_exit_return rather than just blindly stopping when PC becomes zero.

15 years ago * path.cc (symlink_info::check): Handle (and explain) a special case
Corinna Vinschen [Thu, 31 Jul 2008 14:48:28 +0000 (14:48 +0000)]
* path.cc (symlink_info::check): Handle (and explain) a special case
when accessing files matching DOS device names on SMB shares.

15 years ago * spawn.cc (spawn_guts): Check constructed short pathname for being
Corinna Vinschen [Thu, 31 Jul 2008 14:41:19 +0000 (14:41 +0000)]
* spawn.cc (spawn_guts): Check constructed short pathname for being
a DOS device name and fall back to long path name, if so.

15 years ago2008-07-30 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Wed, 30 Jul 2008 15:03:57 +0000 (15:03 +0000)]
2008-07-30 Paolo Bonzini  <bonzini@gnu.org>

Sync with gcc:
2008-07-30 Paolo Bonzini  <bonzini@gnu.org>

        * configure.ac: Add makefile fragments for hpux.
        * Makefile.def (flags_to_pass): Add ADA_CFLAGS.
        * Makefile.tpl (HOST_EXPORTS): Pass ADA_CFLAGS.
        * configure: Regenerate.
        * Makefile.in: Regenerate.

2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>

        * Makefile.tpl ($(srcdir)/configure): Update dependencies.
        * Makefile.in: Regenerate.
        * configure: Regenerate.

config:
2008-07-30  Paolo Bonzini  <bonzini@gnu.org>

* mh-pa: New, from gcc/config/pa/x-ada.
* mh-pa-hpux10: New, from gcc/config/pa/x-ada-hpux10.

2008-06-11  Bernhard Fischer  <aldot@gcc.gnu.org>

        * tls.m4: Fix typos.

15 years ago * fhandler_disk_file.cc (fhandler_base::fstat_by_name): Check for
Corinna Vinschen [Wed, 30 Jul 2008 14:41:59 +0000 (14:41 +0000)]
* fhandler_disk_file.cc (fhandler_base::fstat_by_name): Check for
file systems incapable of handling FileIdBothDirectoryInformation
correctly.
(fhandler_disk_file::opendir): Ditto.
* path.cc (fs_info::update): Always clear at the start.
Rearrange to make certain tests only on non-Samba, non-NFS remote
drives.
Add test for file systems known to be incapable of handling
FileIdBothDirectoryInformation correctly.  Right now that's just
"UNIXFS".
* path.h (struct fs_info): Add has_buggy_fileid_dirinfo flag and
accessor methods.
(class path_conv): Add has_buggy_fileid_dirinfo method.

15 years ago * sec_auth.cc (extract_nt_dom_user): Return domain and user name as
Corinna Vinschen [Wed, 30 Jul 2008 12:10:20 +0000 (12:10 +0000)]
* sec_auth.cc (extract_nt_dom_user): Return domain and user name as
WCHAR.
(cygwin_logon_user): Accommodate above change.  Convert password to
WCHAR and call LogonUserW.
* external.cc (cygwin_internal): Accommodate above change.
* security.h (extract_nt_dom_user): Change prototype accordingly.

15 years agoinclude/opcode/
Alan Modra [Wed, 30 Jul 2008 06:29:21 +0000 (06:29 +0000)]
include/opcode/
* ppc.h (PPC_OPCODE_405): Define.
(PPC_OPERAND_FSL, PPC_OPERAND_FCR, PPC_OPERAND_UDI): Define.
gas/
* config/tc-ppc.c (parse_cpu): Separate handling of -m403/405.
(md_show_usage): Likewise.
opcodes/
* ppc-dis.c (print_insn_powerpc): Disassemble FSL/FCR/UDI fields.
* ppc-opc.c (powerpc_operands): Add Xilinx APU related operands.
(insert_sprg, PPC405): Use PPC_OPCODE_405.
(powerpc_opcodes): Add Xilinx APU related opcodes.

15 years ago* Makefile.in: Link cygcheck with -lntdll even without mingw-zlib.
Christopher Faylor [Wed, 30 Jul 2008 06:07:42 +0000 (06:07 +0000)]
* Makefile.in: Link cygcheck with -lntdll even without mingw-zlib.

15 years ago* cygwin.din (_getutline): Remove.
Christopher Faylor [Wed, 30 Jul 2008 04:58:24 +0000 (04:58 +0000)]
* cygwin.din (_getutline): Remove.
* lib/bsdlib.cc (login): Make argument const as per linux.
(logout): Ditto.
* syscalls.cc (getutid): Ditto.
(getutline): Ditto.
(pututline): Ditto.
(getutxent): Add comment mentioning non-thread-safety.
(getutxid): Ditto.
(getutxline): Ditto.
(pututxline): Ditto.
* sys/utmp.h: Declare arguments to various functions as const as per linux.
Remove bogus _getutline definition.

15 years ago(missing changelog entry)
Christopher Faylor [Wed, 30 Jul 2008 01:37:55 +0000 (01:37 +0000)]
(missing changelog entry)
* include/cygwin/version.h: Add comment indicating that current API number bump
also has another consequence.

15 years ago* include/cygwin/version.h: Add comment indicating that current API number bump
Christopher Faylor [Tue, 29 Jul 2008 14:07:21 +0000 (14:07 +0000)]
* include/cygwin/version.h: Add comment indicating that current API number bump
also has another consequence.

15 years ago * Makefile.in (DLL_OFILES): Remove v8 regexp files.
Corinna Vinschen [Tue, 29 Jul 2008 10:40:37 +0000 (10:40 +0000)]
* Makefile.in (DLL_OFILES): Remove v8 regexp files.
(OBSOLETE_FUNCTIONS): Remove v8 regexp functions.
(NEW_FUNCTIONS): Remove POSIX regex functions.
* cygwin.din: Export POSIX regex functions with their correct symbol
name.  Export with posix_ prefix for backward compatibility.
* syscalls.cc (regfree): Remove ancient fake function.
* regex/regex.h: Remove renaming regex functions within Cygwin.
* regexp/*: Remove.
* include /cygwin/version,.h: Bump API minor number.

15 years agoReplace __mingw_snprintf() with new generic family implementation; likewise, replace...
Keith Marshall [Mon, 28 Jul 2008 23:24:20 +0000 (23:24 +0000)]
Replace __mingw_snprintf() with new generic family implementation; likewise, replace __mingw_vsnprintf().

15 years ago Lay foundations for new printf() function family implementation.
Keith Marshall [Mon, 28 Jul 2008 22:57:43 +0000 (22:57 +0000)]
Lay foundations for new printf() function family implementation.

15 years ago* dcrt0.cc (dll_crt0_0): Remove calling malloc_init and
Christopher Faylor [Sun, 27 Jul 2008 22:31:48 +0000 (22:31 +0000)]
* dcrt0.cc (dll_crt0_0): Remove calling malloc_init and
user_shared_initialize_1 from here.
(dll_crt0_1): Remove dynamically_loaded check.  Just call malloc_init and
user_shared_initialize unconditionally.
* shared.cc (user_shared_create): Rename from user_shared_initialize.
(user_shared_initialize): Rename from user_shared_initialize_1.  Move complete
user_shared content initialization code here from user_shared_create.
* syscalls.cc (seteuid32): Remove call to user_shared_initialize_1.  That is
implied by the "true" argument to user_shared_create().

15 years ago* mount.cc (mount_info::init): Add location where we're looking for fstab to
Christopher Faylor [Sun, 27 Jul 2008 16:59:07 +0000 (16:59 +0000)]
* mount.cc (mount_info::init): Add location where we're looking for fstab to
temporary message.
* lib/cygwin_crt0.c (cygwin_crt0): Simplify by eliminating accommodations for
ancient cygwin DLLs.
* lib/crt0.h: Include <windows.h> directly since it is needed.

15 years ago* cygcheck.cc (load_cygwin): Free the cygwin dll after we're done with it.
Christopher Faylor [Sun, 27 Jul 2008 14:53:42 +0000 (14:53 +0000)]
* cygcheck.cc (load_cygwin): Free the cygwin dll after we're done with it.

15 years ago* shared_info.h (shared_destroy): Declare.
Christopher Faylor [Sun, 27 Jul 2008 14:52:46 +0000 (14:52 +0000)]
* shared_info.h (shared_destroy): Declare.
* shared.cc (shared_destroy): Define new function to destroy shared memory
regions.
* init.cc (dll_entry): Call shared_destroy when dll detaches from the process.

15 years ago * fhandler_socket.cc (fhandler_socket::send_internal): Send never more
Corinna Vinschen [Sun, 27 Jul 2008 10:20:49 +0000 (10:20 +0000)]
* fhandler_socket.cc (fhandler_socket::send_internal): Send never more
then 64K bytes at once.  For blocking sockets, loop until entire data
has been sent or an error occurs.
(fhandler_socket::sendto): Drop code which sends on 64K bytes.
(fhandler_socket::sendmsg): Ditto.

15 years ago* fhandler_tty.cc (fhandler_pty_master::setup): Reorganize so that all
Christopher Faylor [Sat, 26 Jul 2008 19:35:21 +0000 (19:35 +0000)]
* fhandler_tty.cc (fhandler_pty_master::setup): Reorganize so that all
operations for each end of the pipe are grouped together.

15 years agoSupport PowerPC single-precision float.
Alan Modra [Sat, 26 Jul 2008 13:10:47 +0000 (13:10 +0000)]
Support PowerPC single-precision float.

15 years ago * dcrt0.cc (dll_crt0_1): Call malloc_init and user_shared_initialize_1
Corinna Vinschen [Sat, 26 Jul 2008 08:32:28 +0000 (08:32 +0000)]
* dcrt0.cc (dll_crt0_1): Call malloc_init and user_shared_initialize_1
only in non-dynamically loaded case.

15 years ago2008-07-25 Bo Yang <techrazy@users.sourceforge.net>
Chris Sutcliffe [Fri, 25 Jul 2008 22:13:22 +0000 (22:13 +0000)]
2008-07-25 Bo Yang <techrazy@users.sourceforge.net>

        * lib/gdi32.def (SetLayout): Export.

15 years ago2008-07-25 Bo Yang <techrazy@users.sourceforge.net>
Chris Sutcliffe [Fri, 25 Jul 2008 22:09:36 +0000 (22:09 +0000)]
2008-07-25 Bo Yang <techrazy@users.sourceforge.net>

        * include/wincrypt.h  (struct _CRYPT_KEY_PROV_PARAM,
        struct _CRYPT_KEY_PROV_INFO, CertGetCertificateContextProperty,
        CryptEnumKeyIdentifierProperties, CryptAcquireCertificatePrivateKey,
        CertCreateCertificateContext, CryptGetKeyIdentifierProperty,
        CertSetCertificateContextProperty, CertCompareCertificateName,
        CryptSetKeyIdentifierProperty, CertOIDToAlgId, CryptGetDefaultProviderA,
        CryptGetDefaultProviderW and many corresponding macroes): Define.
        * lib/crypt32.def  (Export the above 11 functions): Export.
        * include/winerror.h  (CRYPT_E_NOT_FOUND and other crypt related
        macroes): Define.

15 years ago * acinclude.m4: Remove libide, libgui, and all the other Tcl
Keith Seitz [Fri, 25 Jul 2008 18:00:17 +0000 (18:00 +0000)]
    * acinclude.m4: Remove libide, libgui, and all the other Tcl
        functions.
        * tcl.m4: New file.

16 years ago * dcrt0.cc (dll_crt0_0): Call malloc_init and user_shared_initialize_1
Corinna Vinschen [Fri, 25 Jul 2008 15:23:56 +0000 (15:23 +0000)]
* dcrt0.cc (dll_crt0_0): Call malloc_init and user_shared_initialize_1
here in case we're dynamically loaded.  Explain why.
(dll_crt0_1): Call user_shared_initialize_1 from here.
* mount.cc (is_native_path): New inline function testing for native
and long Win32 path prefix.
(is_unc_share): Remove long WIn32 path prefix test.
(mount_info::create_root_entry): Use PATH_MAX buffer.
(mount_info::init): Ditto.
(mount_info::add_item): Test for is_native_path as well.
* path.cc (normalize_win32_path): Simplify native path prefix code.
* shared.cc (user_shared_initialize_1): New function taking user
shared initialization code relying on malloc and cygtls.
(user_shared_initialize): Move mountinfo initialization to
user_shared_initialize_1.
* shared_info.h (user_shared_initialize_1): Declare.
* syscalls.cc (seteuid32): Call user_shared_initialize_1 after user
changed.

16 years ago* mount.cc: Remove non-unix-like options (-x,-t,b) throughout.
Christopher Faylor [Fri, 25 Jul 2008 15:03:25 +0000 (15:03 +0000)]
* mount.cc: Remove non-unix-like options (-x,-t,b) throughout.
(oopts): Use boolean constants for slightly increased clarity.
* configure.in: Remove apparently unneeded program_transfer_name code.
* configure: Regenerate.

16 years ago * utils.sgml: Remove useless text.
Corinna Vinschen [Fri, 25 Jul 2008 07:08:56 +0000 (07:08 +0000)]
* utils.sgml: Remove useless text.

16 years ago2008-07-24 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Fri, 25 Jul 2008 01:50:35 +0000 (01:50 +0000)]
2008-07-24  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/winuser.h (MENUGETOBJECTINFO, MNGO_NOINTERFACE, MNGO_NOERROR,
        MNGOF_TOPGAP, MNGOF_BOTTOMGAP): Define.

16 years ago2008-07-24 techrazy <techrazy@users.sourceforge.net>
Chris Sutcliffe [Fri, 25 Jul 2008 01:19:11 +0000 (01:19 +0000)]
2008-07-24  techrazy  <techrazy@users.sourceforge.net>

        * include/wingdi.h (OUT_PS_ONLY_PRECIS): Define.

16 years ago * mount.cc (mount_info::from_fstab): Change system_printf to
Corinna Vinschen [Thu, 24 Jul 2008 18:32:41 +0000 (18:32 +0000)]
* mount.cc (mount_info::from_fstab): Change system_printf to
debug_printf on NtOpenFile failure.

16 years ago * shared.cc (user_shared_initialize): Fetch potentially changed Cygwin
Corinna Vinschen [Thu, 24 Jul 2008 18:25:52 +0000 (18:25 +0000)]
* shared.cc (user_shared_initialize): Fetch potentially changed Cygwin
username from /etc/passwd before loading mount table.
(shared_info::init_installation_root): New function fetching Cygwin's
installation root dir and storing as native NT path in global shared
memory.
(shared_info::initialize): Call init_installation_root exactly once at
first startup.
* shared_info.h (SHARED_INFO_CB): Accommodate change to shared_info.
(CURR_SHARED_MAGIC): Ditto.
(class shared_info): Add installation_root member.
(shared_info::init_installation_root): Declare.

* grp.cc (pwdgrp::read_group): Call pwdgrp::load with native WCHAR path.
* passwd.cc (pwdgrp::read_passwd): Ditto.  Avoid recursion.
(etc::init): Take POBJECT_ATTRIBUTES instead of path_conv.
* path.h (etc::init): Change prototype accordingly.
* pwdgrp.h (class pwdgrp): Store path as UNICODE_STRING/PWCHAR instead
of as path_conv.
(pwdgrp::load): Accommodate prototype.
* uinfo.cc (pwdgrp::load): Change argument type from char to wchar_t.
Create native NT path here instead of calling path_conv.

* mount.cc (find_root_from_cygwin_dll): Drop in favor of global
initializaion in shared_info.
(mount_info::init): Fetch native NT root dir from cygwin_shared.
(mount_info::from_fstab): Expect native NT path and use native NT
functions to access file.  Convert username part in user fstab path
according to special char transformation rules.
* path.cc (tfx_chars): Convert slash to backslash.
(transform_chars): Implement for path given as PWCHAR.
(transform_chars): PUNICODE_STRING version calls PWCHAR version.
Remove useless commented code.

16 years ago2008-07-24 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 24 Jul 2008 17:55:26 +0000 (17:55 +0000)]
2008-07-24  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/ctype.h (_ctype_): Restore for C++ backward
        compatability only.

16 years ago * include/lmaccess.h (struct _USER_INFO_4): Define.
Corinna Vinschen [Thu, 24 Jul 2008 09:01:12 +0000 (09:01 +0000)]
* include/lmaccess.h (struct _USER_INFO_4): Define.
(struct _USER_INFO_23): Define.
(struct _GROUP_INFO_3): Define.

16 years ago * mkgroup.c (main): Fix test for duplicate domain/machine request.
Corinna Vinschen [Wed, 23 Jul 2008 20:12:12 +0000 (20:12 +0000)]
* mkgroup.c (main): Fix test for duplicate domain/machine request.
* mkpasswd.c (main): Ditto.

16 years ago * mkgroup.c: Rework to allow per-domain/per-machine id_offset.
Corinna Vinschen [Wed, 23 Jul 2008 18:09:50 +0000 (18:09 +0000)]
* mkgroup.c: Rework to allow per-domain/per-machine id_offset.
Add -b option to skip builtin groups.
(main): Simplify code.
* mkpasswd.c: Rework to allow per-domain/per-machine id_offset.
(main): Simplify code.
* utils.sgml: Explain changed mkgroup/mkpasswd -d/-D/-l/-L options.
Add mkgroup -b option.

16 years ago * mkgroup.c: Consolidate variable names.
Corinna Vinschen [Wed, 23 Jul 2008 11:41:10 +0000 (11:41 +0000)]
* mkgroup.c: Consolidate variable names.
(enum_unix_groups): New function.
(print_special): Use LookupAccountSidW instead of LookupAccountSidA.
(current_group): Ditto.
(usage): Add -U option.
(longopts): Add --unix option.
(opts): Add -U option.
(main): Handle -U option.  Call enum_unix_groups if set.
* mkpasswd.c: Consolidate variable names.
(current_user): Use LookupAccountSidW instead of LookupAccountSidA.
(enum_unix_users): New function.
(usage): Add -U option.
(longopts): Add --unix option.
(opts): Add -U option.
(main): Handle -U option.  Call enum_unix_groups if set.
* utils.sgml: Add -U option text to mkgroup and mkpasswd description.

16 years ago * spawn.cc (spawn_guts): Fix previous patch for UNC paths.
Corinna Vinschen [Wed, 23 Jul 2008 10:17:04 +0000 (10:17 +0000)]
* spawn.cc (spawn_guts): Fix previous patch for UNC paths.

16 years ago * mkgroup.c (enum_groups): Create full qualified groupname using
Corinna Vinschen [Tue, 22 Jul 2008 20:47:14 +0000 (20:47 +0000)]
* mkgroup.c (enum_groups): Create full qualified groupname using
domain or servername, depending on printing domain or machine accounts.
* mkpasswd.c (enum_users): Ditto for users.

16 years ago * mkgroup.c (main): Remove special root group code. Only print
Corinna Vinschen [Tue, 22 Jul 2008 20:12:02 +0000 (20:12 +0000)]
* mkgroup.c (main): Remove special root group code.  Only print
SYSTEM group in case of printing local machine or local domain groups.

16 years agoRemove erroneous ChangeLog entry.
Corinna Vinschen [Tue, 22 Jul 2008 17:31:35 +0000 (17:31 +0000)]
Remove erroneous ChangeLog entry.

16 years ago * spawn.cc (spawn_guts): Remove long path prefix from win32 path
Corinna Vinschen [Tue, 22 Jul 2008 16:59:59 +0000 (16:59 +0000)]
* spawn.cc (spawn_guts): Remove long path prefix from win32 path
before calling CreateProcess if path length is < MAX_PATH.

16 years ago * Makefile.in (cygcheck.exe): Link against ntdll.
Corinna Vinschen [Tue, 22 Jul 2008 14:40:05 +0000 (14:40 +0000)]
* Makefile.in (cygcheck.exe): Link against ntdll.
* bloda.cc: Use statically linked functions throughout.
* cygpath.cc: Drop 9x considerations.
* mkgroup.c: Revamp.  Redefine -l and -d options to take optional
machine and domain parameters.  Redefine -c to work always, using
token information.  Add -L, -D, -C to create unique groupnames in
domain\group syntax.  Add -S option to define domain\group separator
char.  Ignore -u and -s options.
* mkpasswd.c: Revamp.  Redefine -l and -d options to take optional
machine and domain parameters.  Redefine -c to work always, using
token information.  Add -L, -D, -C to create unique usernames in
domain\user syntax.  Add -S option to define domain\user separator
char.  Ignore -g and -s options.  Prefer to take homedir from $HOME
over $HOMEDRIVE/$HOMEPATH.
* path.cc (oopts): Add "acl", "noacl", "posix=0" and "posix=1" options.
(getmntent): Accomodate throughout.
* ps.cc: Fix copyright dates.
* utils.sgml: Fix text for mkgroup and mkpasswd.

16 years ago * include/ctype.h: Declare __ctype_ptr__ to keep newlib build happy.
Corinna Vinschen [Tue, 22 Jul 2008 10:38:18 +0000 (10:38 +0000)]
* include/ctype.h: Declare __ctype_ptr__ to keep newlib build happy.

16 years ago2008-07-21 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 21 Jul 2008 21:28:34 +0000 (21:28 +0000)]
2008-07-21  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/ctype/ctype_.c: Add new pointer __ctype_ptr__ which is one
        less than the old __ctype_ptr.
        * libc/ctype/isalnum.c: Use __ctype_ptr__.
        * libc/ctype/isalpha.c: Ditto.
        * libc/ctype/iscntrl.c: Ditto.
        * libc/ctype/isdigit.c: Ditto.
        * libc/ctype/islower.c: Ditto.
        * libc/ctype/isprint.c: Ditto.
        * libc/ctype/ispunct.c: Ditto.
        * libc/ctype/isspace.c: Ditto.
        * libc/ctype/isupper.c: Ditto.
        * libc/ctype/isxdigit.c: Ditto.
        * libc/include/ctype.h: Change ctype macros to use new __ctype_ptr__
        and add declaration of __ctype_ptr__.  Remove older ctype table pointers
        from here even though they can still work.

16 years ago * Makefile.in (cygcheck.exe): Link against ntdll.
Corinna Vinschen [Mon, 21 Jul 2008 13:44:42 +0000 (13:44 +0000)]
* Makefile.in (cygcheck.exe): Link against ntdll.
* bloda.cc: link against ntdll functions statically.
* cygpath.cc (get_user_folder): Drop 9x code.
(print_version): Fix copyright.
* mkgroup.c: Remove 9x code.
* mkpasswd.c: Ditto.
* path.cc (oopts): Add new mount options.
* ps.cc: Fix copyright.

16 years ago * bfd/elf-bfd.h: Declare elfcore_write_ppc_vsx.
Luis Machado [Mon, 21 Jul 2008 05:33:37 +0000 (05:33 +0000)]
* bfd/elf-bfd.h: Declare elfcore_write_ppc_vsx.
* bfd/elf.c (elfcore_grok_ppc_vsx): New function.
(elfcore_write_ppc_vsx): New function
(elfcore_grok_note): Handle VSX notes.
(elfcore_write_register_note): Handle VSX notes.
* include/elf/common.h: Define NT_PPC_VSX.
* binutils/readelf.c (get_note_type): Handle VSX notes.

16 years ago * autoload.cc (WNetGetProviderNameA): Define.
Corinna Vinschen [Sat, 19 Jul 2008 12:26:09 +0000 (12:26 +0000)]
* autoload.cc (WNetGetProviderNameA): Define.
(WNetGetResourceParentA): Remove.
* fhandler_netdrive.cc (struct net_hdls): New structure to keep
WNet handles.  Stored in dir->__handle throughout.
(thread_netdrive): Rewrite to enumerate all servers in all accessible
domains and workgroups.
(fhandler_netdrive::readdir): Simplify toplevel code.  Lowercase all
server names in toplevel.
(fhandler_netdrive::rewinddir): Close all WNet handles and free
net_hdls structure.

16 years ago2008-07-18 Ken Werner <ken.werner@de.ibm.com>
Jeff Johnston [Fri, 18 Jul 2008 16:36:22 +0000 (16:36 +0000)]
2008-07-18  Ken Werner  <ken.werner@de.ibm.com>

        * libc/machine/spu/strcpy.h: Fix error in previous patch.

16 years ago * fhandler.cc (fhandler_base::open): Rename x to fh. On Samba, always
Corinna Vinschen [Fri, 18 Jul 2008 12:21:22 +0000 (12:21 +0000)]
* fhandler.cc (fhandler_base::open): Rename x to fh.  On Samba, always
create file with NULL security descriptor and set the permissions
afterwards.  Explain why.

16 years ago * cygwinenv.sgml: Move binmode option to list of removed options.
Corinna Vinschen [Fri, 18 Jul 2008 08:17:28 +0000 (08:17 +0000)]
* cygwinenv.sgml: Move binmode option to list of removed options.

16 years ago * environ.cc (known): Remove "binmode" option.
Corinna Vinschen [Fri, 18 Jul 2008 08:16:40 +0000 (08:16 +0000)]
* environ.cc (known): Remove "binmode" option.
* fhandler.cc (binmode): Remove.
(fhandler_base::set_flags): Accommodate binmode removal.
* path.h (path_conv::set_binary): Remove.
* pipe.cc (pipe): Create pipes always as binary pipes.
* winsup.h (binmode): Remove declaration.

16 years ago2008-07-17 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 17 Jul 2008 20:56:51 +0000 (20:56 +0000)]
2008-07-17  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/assert.h (__ASSERT_FUNC): Define to __FUNCTION__ when
        __STDC_VERSION__ < 199901L and __GNUC__ >= 2.

16 years ago2008-07-17 Ken Werner <ken.werner@de.ibm.com>
Jeff Johnston [Thu, 17 Jul 2008 19:04:26 +0000 (19:04 +0000)]
2008-07-17  Ken Werner  <ken.werner@de.ibm.com>

        * spu/syscalls.c: Check and set the errno value.

16 years ago2008-07-17 Ken Werner <ken.werner@de.ibm.com>
Jeff Johnston [Thu, 17 Jul 2008 19:00:44 +0000 (19:00 +0000)]
2008-07-17  Ken Werner  <ken.werner@de.ibm.com>

        * libc/machine/spu/strcpy.h: Pad null bytes if necessary.

16 years ago * mount.cc (do_mount): Remove MOUNT_ENC code.
Corinna Vinschen [Thu, 17 Jul 2008 15:07:48 +0000 (15:07 +0000)]
* mount.cc (do_mount): Remove MOUNT_ENC code.
(oopts): Remove "managed" option.
(mount_commands): Drop "managed" handling.
* path.cc (oopts): Remove "managed" option.
(getmntent): Remove MOUNT_ENC code.

16 years ago * mount.cc (mount_info::from_fstab_line): Default to binary mount.
Corinna Vinschen [Thu, 17 Jul 2008 14:14:34 +0000 (14:14 +0000)]
* mount.cc (mount_info::from_fstab_line): Default to binary mount.

16 years ago * Revamp documentation for Cygwin 1.7, part 1.
Corinna Vinschen [Thu, 17 Jul 2008 11:49:45 +0000 (11:49 +0000)]
* Revamp documentation for Cygwin 1.7, part 1.

16 years ago * utils.sgml: Add id's to all examples.
Corinna Vinschen [Thu, 17 Jul 2008 10:32:03 +0000 (10:32 +0000)]
* utils.sgml: Add id's to all examples.

16 years ago * path.cc (allow_winsymlinks): Revert default to create system bit
Corinna Vinschen [Wed, 16 Jul 2008 21:08:22 +0000 (21:08 +0000)]
* path.cc (allow_winsymlinks): Revert default to create system bit
symlinks for speed.

16 years ago Add case-sensitivity.
Corinna Vinschen [Wed, 16 Jul 2008 20:20:45 +0000 (20:20 +0000)]
Add case-sensitivity.
Unconditionally handle mount points case-sensitive.
Unconditionally handle virtual paths case-sensitive.
Unconditionally handle registry paths case-insensitive.
Otherwise, accommodate case-sensitivity of given path throughout.
* cygheap.cc (cygheap_root::set): Get additional caseinsensitive
parameter and store it.
* cygheap.h (struct cygheap_root_mount_info): Add member
caseinsensitive.
* dlfcn.cc (get_full_path_of_dll): Drop PC_NOFULL parameter from call
to path_conv::check.
* environ.cc (pcheck_case): Remove.
(check_case_init): Remove.
(known): Drop "check_case" option.
* exceptions.cc (open_stackdumpfile): Add comment.
* fhandler.cc (fhandler_base::get_default_fmode): Call pathmatch
instead of strcasematch.
* fhandler_disk_file.cc: Accommodate case-sensitivity of given path
throughout.
(__DIR_mounts::check_mount): Unconditionally check virtual paths
case-sensitive.
(fhandler_disk_file::link): Drop case clash handling.
(fhandler_disk_file::open): Ditto.
(fhandler_disk_file::readdir_helper): Drop managed mount code.
* mount.cc: Remove managed mount code and datastructures.
(struct opt): Remove "managed" option.  Add "posix=0" and "posix=1"
options.
(fillout_mntent): Remove "managed" output.  Add "posix" output.
* path.cc (struct symlink_info): Remove case_clash member and
case_check method.
(pcheck_case): Remove.
(path_prefix_p): Take additional bool parameter "caseinsensitive".
(pathnmatch): Ditto.
(pathmatch): Ditto.
(mkrelpath): Ditto.
(fs_info::update): Set caseinsensitive flag according to file system
name and FILE_CASE_SENSITIVE_SEARCH flag.  Add comment.
(tfx_chars_managed): Remove.
(transform_chars): Drop "managed" parameter.  Always use tfx_chars.
(get_nt_native_path): Drop "managed" parameter.  Make sure drive letters
are always upper case.
(getfileattr): Change second parameter to denote caseinsensitivity.
(path_conv::check): Initialize caseinsensitive to OBJ_CASE_INSENSITIVE.
Set caseinsensitive according to global obcaseinsensitive flag, file
system case sensitivity and MOUNT_NOPOSIX mount flag.
Drop case_clash and all the related code.
(symlink_worker): Drop case clash handling.
(symlink_info::set): Drop setting case_clash.
(symlink_info::case_check): Remove.
(cwdstuff::set): Add comment.
(etc::init): Take path_conv instead of PUNICODE_STRING as parameter to
allow case sensitivity.
* path.h (enum pathconv_arg): Drop PC_SYM_IGNORE.
(enum case_checking): Remove.
(enum path_types): Drop PATH_ENC, add PATH_NOPOSIX flag.
(struct fs_info): Add caseinsensitive flag and accessor methods.
(class path_conv): Add caseinsensitive member and define
objcaseinsensitive method.  Drop case_clash member and isencoded method.
(pathmatch): Change prototype according to above change.
(pathnmatch): Ditto.
(path_prefix_p): Ditto.
(get_nt_native_path): Ditto.
(class etc): Ditto.
(fnunmunge): Remove prototype.
* shared.cc (shared_info::init_obcaseinsensitive): Initialize
obcaseinsensitive flag from obcaseinsensitive registry value.
(shared_info::initialize): Call init_obcaseinsensitive here by the
first process creating the shared memory.
* shared_info.h (mount_item::fnmunge): Remove.
(shared_info::obcaseinsensitive): Rename from obcaseinsensitivity.
(shared_info::init_obcaseinsensitive): Declare.
* syscalls.cc (try_to_bin): Add comment.
* include/sys/mount.h (MOUNT_ENC): Remove flag.
(MOUNT_NOPOSIX): Add flag.

16 years ago * cyglsa-config: Always create a /bin/cyglsa directory and copy the
Corinna Vinschen [Wed, 16 Jul 2008 19:33:54 +0000 (19:33 +0000)]
* cyglsa-config: Always create a /bin/cyglsa directory and copy the
LSA DLL there.  Register this copy in the registry.

16 years ago * fhandler_tape.cc (mtinfo::initialize): Remove synchronization stuff.
Corinna Vinschen [Tue, 15 Jul 2008 11:42:45 +0000 (11:42 +0000)]
* fhandler_tape.cc (mtinfo::initialize): Remove synchronization stuff.
Just initialize drive data.
* mtinfo.h (MTINFO_MAGIC): Remove.
(MTINFO_VERSION): Remove.
(class mtinfo): Remove magic and version members.
* shared.cc (shared_info::initialize): Move call to
get_session_parent_dir so that the dir creation is only called once.
Move call to mt.initialize so that it's called only by the first
process creating the shared memory.
* shared_info.h (SHARED_INFO_CB): Accommodate change to shared_info.
(CURR_SHARED_MAGIC): Ditto.
(class shared_info): Add obcaseinsensitivity member.

16 years ago * cyglsa.c: Include ntddk.h again, but only if __MINGW32__ is defined.
Corinna Vinschen [Tue, 15 Jul 2008 09:43:48 +0000 (09:43 +0000)]
* cyglsa.c: Include ntddk.h again, but only if __MINGW32__ is defined.
* cyglsa64.dll: Regenerate.
* make-64bit-version-with-visual-c.bat: Fix comment.

16 years ago * fhandler.cc (fhandler_base::fpathconf): On _PC_POSIX_PERMISSIONS
Corinna Vinschen [Mon, 14 Jul 2008 20:46:27 +0000 (20:46 +0000)]
* fhandler.cc (fhandler_base::fpathconf): On _PC_POSIX_PERMISSIONS
and _PC_POSIX_SECURITY, return true for NFS, too.

16 years ago Throughout drop allow_ntsec and allow_smbntsec handling.
Corinna Vinschen [Mon, 14 Jul 2008 20:22:03 +0000 (20:22 +0000)]
Throughout drop allow_ntsec and allow_smbntsec handling.
* environ.cc (set_ntsec): Remove.
(set_smbntsec): Remove.
(known): Remove ntsec and smbntsec options.
* external.cc (check_ntsec): Return true if no filename is given.
* mount.cc (oopts): Add "acl" and "noacl" options.  Set MOUNT_NOACL
flag accordingly.
(fillout_mntent): Handle MOUNT_NOACL flag.
* path.h (enum path_types): Add PATH_NOACL.
* security.cc (allow_ntsec): Remove.
(allow_smbntsec): Remove.
* security.h (allow_ntsec): Drop declaration.
(allow_smbntsec): Drop declaration.
* include/sys/mount.h (MOUNT_NOACL): Define.

16 years ago * miscfuncs.cc (cygwin_strncasecmp): Fix bug which results in
Corinna Vinschen [Mon, 14 Jul 2008 19:58:16 +0000 (19:58 +0000)]
* miscfuncs.cc (cygwin_strncasecmp): Fix bug which results in
prematurely truncated strings.  Simplify target length argument to
sys_mbstowcs.

16 years ago * autoload.cc (GetExtendedTcpTable): Define.
Corinna Vinschen [Mon, 14 Jul 2008 15:56:11 +0000 (15:56 +0000)]
* autoload.cc (GetExtendedTcpTable): Define.
* fhandler_socket.cc (address_in_use): Take const struct sockaddr
pointer as argument.  Implement additional AF_INET6 table check.
(fhandler_socket::bind): Drop AF_INET test before calling
address_in_use.
* net.cc (ipv4_getnameinfo): Return EAI_FAMILY instead of 1 if
called with unsupported af_family.

16 years ago * include/iphlpapi.h (GetExtendedTcpTable): Add prototype.
Corinna Vinschen [Mon, 14 Jul 2008 15:55:48 +0000 (15:55 +0000)]
* include/iphlpapi.h (GetExtendedTcpTable): Add prototype.
* include/iprtrmib.h (TCP_TABLE_CLASS, MIB_TCPROW_OWNER_PID,
MIB_TCPTABLE_OWNER_PID, MIB_TCP6ROW_OWNER_PID,
MIB_TCP6TABLE_OWNER_PID): Define.
* lib/iphlpapi.def (GetExtendedTcpTable): Export.

16 years ago * cyglsa.c: Don't include ntddk.h.
Corinna Vinschen [Sun, 13 Jul 2008 13:14:41 +0000 (13:14 +0000)]
* cyglsa.c: Don't include ntddk.h.
(RtlInitEmptyUnicodeString): Use Visual-C compatible "__inline" instead
of "inline".
(uni_alloc): Change second argument to USHORT.
(printf): Move definition of ap to make Visual-C++ happy.
(LsaApLogonUserEx): Compute size of datastructure returned to
LSA on 64 bit systems correctly to avoid heap corruption.
* cyglsa64.dll: Regenerate.
* make-64bit-version-with-visual-c.bat: Accommodate newer Microsoft
toolchains.  Add more comment.
* mslsa.def: Export LsaApLogonUserEx instead of LsaApLogonUser.

16 years agoFix usage of recently fixed Interlocked* functions.
Eric Blake [Sat, 12 Jul 2008 18:09:17 +0000 (18:09 +0000)]
Fix usage of recently fixed Interlocked* functions.

* winbase.h (ilockincr, ilockdecr, ilockexch, ilockcmpexch): Add
volatile qualifier, to match Interlocked* functions.

16 years agoRevert my last change since it has not been approved.
Jie Zhang [Sat, 12 Jul 2008 08:54:12 +0000 (08:54 +0000)]
Revert my last change since it has not been approved.

16 years ago bfd/
Jie Zhang [Fri, 11 Jul 2008 19:24:39 +0000 (19:24 +0000)]
bfd/
* elf.c (_bfd_elf_map_sections_to_segments): Don't put
executable sections into the same segment with other
read only sections if --sep-code.
* elf32-bfin.c (elf32_bfin_code_in_l1): New variable.
(elf32_bfin_data_in_l1): New variable.
(elf32_bfin_final_write_processing): New.
(elf32_bfin_special_sections[]): New.
(elf_backend_final_write_processing): Define.
(elf_backend_special_sections): Define.

binutils/
* readelf.c (get_machine_flags): Deal with Blackfin specific
flags.

include/
* bfdlink.h (struct bfd_link_info): Add sep_code member
variable.
* elf/bfin.h (EF_BFIN_CODE_IN_L1): Define.
(EF_BFIN_DATA_IN_L1): Define.

ld/
* Makefile.am (eelf32bfin.c): Depend on bfin.em.
(eelf32bfinfd.c): Likewise.
* Makefile.in: Regenerate.
* gen-doc.texi: Set Blackfin.
* ld.texinfo: Document --sep-code and Blackfin specific
options.
* ldmain.c (main): Initialize link_info.sep_code.
* lexsup.c (enum option_values): Add OPTION_SEP_CODE.
(ld_options[]): Add --sep-code.
(parse_args): Deal with --sep-code.
* emulparams/bfin.sh (EXTRA_EM_FILE): Define.
* emulparams/elf32bfinfd.sh (OTHER_SECTIONS): Define.
* emultempl/bfin.em: New file.

16 years ago * select.cc (peek_pipe): Temporarily revert patch from 2008-05-30.
Corinna Vinschen [Fri, 11 Jul 2008 16:37:29 +0000 (16:37 +0000)]
* select.cc (peek_pipe): Temporarily revert patch from 2008-05-30.

16 years ago * mh-mingw (LDFLAGS): Append to rather than replacing previous
Joseph Myers [Fri, 11 Jul 2008 11:15:59 +0000 (11:15 +0000)]
* mh-mingw (LDFLAGS): Append to rather than replacing previous
value.

16 years ago * cyglsa.c (LsaApLogonUserEx): Accommodate the fact that authinf->domain
Corinna Vinschen [Fri, 11 Jul 2008 10:00:38 +0000 (10:00 +0000)]
* cyglsa.c (LsaApLogonUserEx): Accommodate the fact that authinf->domain
and authinf->username are now of type WCHAR.  Change sam_username and
sam_u size to be deifned in terms of MAX_DOMAIN_NAME_LEN instead of
INTERNET_MAX_HOST_NAME_LENGTH.

16 years ago Change length for domain buffers from INTERNET_MAX_HOST_NAME_LENGTH to
Corinna Vinschen [Fri, 11 Jul 2008 10:00:36 +0000 (10:00 +0000)]
Change length for domain buffers from INTERNET_MAX_HOST_NAME_LENGTH to
MAX_DOMAIN_NAME_LEN throughout.
* cyglsa.h (CYG_LSA_MAGIC): New value.
(cyglsa_t): Define username and domain as WCHAR arrays.
* errno.cc (errmap): Add mapping for ERROR_NONE_MAPPED.
* sec_auth.cc: Drop 'w' prefix from WCHAR string variable names where
appropriate.
(extract_nt_dom_user): Prefer resolving by SID before resolving by
domain\name pair.
(cygwin_logon_user): Don't print cleartext password in debug output.
Change comment.
(get_user_groups): Revert calls to LookupAccountNameW to use NULL
server instead of explicit server name, according to MSDN.
(get_user_local_groups): Ditto.
(get_server_groups): Fetch domain and user name from usersid per
LookupAccountSidW instead of calling extract_nt_dom_user.
(lsaauth): Fetch domain and user name from usersid per LookupAccountSidW
instead of calling extract_nt_dom_user.
* sec_helper.cc (cygpriv): Convert to wchar_t pointer array.
(privilege_luid): Convert first parameter to  PWCHAR.
(privilege_name): Return wchar_t pointer.
(set_privileges): Accommodate debug output.
* security.h (privilege_luid): Change prototype accordingly.

16 years agoinclude/elf/
Richard Sandiford [Thu, 10 Jul 2008 19:05:28 +0000 (19:05 +0000)]
include/elf/
* mips.h (ELF_ST_IS_MIPS16, ELF_ST_SET_MIPS16): New macros.

bfd/
* elfxx-mips.c (mips_elf_check_mips16_stubs): Use ELF_ST_IS_MIPS16.
(mips_elf_calculate_relocation): Likewise.
(_bfd_mips_elf_add_symbol_hook): Likewise.
(_bfd_mips_elf_finish_dynamic_symbol): Likewise.
(_bfd_mips_vxworks_finish_dynamic_symbol): Likewise.

opcodes/
* mips-dis.c (_print_insn_mips): Use ELF_ST_IS_MIPS16.

gas/
* config/tc-mips.c (mips16_mark_labels): Use ELF_ST_SET_MIPS16.
(mips_fix_adjustable): Likewise.
(mips_frob_file_after_relocs): Likewise.

gas/testsuite/
* gas/mips/mips16-vis-1.d, gas/mips/mips16-vis-1.s: New tests.
* gas/mips/mips.exp: Run them.

16 years ago * cyglsa.c: Revamp debugging output.
Corinna Vinschen [Thu, 10 Jul 2008 18:05:03 +0000 (18:05 +0000)]
* cyglsa.c: Revamp debugging output.
(LsaApInitializePackage): Open debugging output file here.
(LsaApLogonUserEx): Replace LsaApLogonUser.  Add debugging output.
Create machine name for accounting.  Add (disabled) code to fetch
a token from GetAuthDataForUser/ConvertAuthDataToToken.
* cyglsa.din: Relace LsaApLogonUser with LsaApLogonUserEx.

16 years ago * cyglsa.h (SECURITY_STRING): Define.
Corinna Vinschen [Thu, 10 Jul 2008 18:01:25 +0000 (18:01 +0000)]
* cyglsa.h (SECURITY_STRING): Define.
(enum _SECPKG_NAME_TYPE): Define.
(struct _SECPKG_CALL_INFO): Define.
(struct _LSA_SECPKG_FUNCS): Extend to full size.  Define unused
functions lazily.
(cygprf_t): Define.
* sec_auth.cc (lsaauth): Use actual primary group if no admins group.
Add (disabled) code to fetch token from profil data.

16 years ago * sec_auth.cc (verify_token): Allow builtin groups missing in a token
Corinna Vinschen [Wed, 9 Jul 2008 15:45:08 +0000 (15:45 +0000)]
* sec_auth.cc (verify_token): Allow builtin groups missing in a token
and it's still valid.  Explain why.

16 years ago * mkgroup.c: Use statically linked functions throughout, except for
Corinna Vinschen [Wed, 9 Jul 2008 14:32:29 +0000 (14:32 +0000)]
* mkgroup.c: Use statically linked functions throughout, except for
DsGetDcNameW.  Reformat.  Convert to use WCHAR for names throughout.
Use defines instead of constants throughout.
(MAX_SID_LEN): Define.
(load_netapi): Just load DsGetDcNameW pointer.
(psx_dir): Remove.
(uni2ansi): Remove.
(enum_local_users): Take server name and use in Net... call.
(DBGSID): Define datastructure.
(MAX_BUILTIN_SIDS): Define.
(builtin_sid_list): Define global sid list.
(builtin_sid_cnt): Define counter for global sid list.
(enum_local_groups): Take server name and use in Net... and Lookup...
calls.  Take offset argument.  Use MAX_PREFERRED_LENGTH in call to
NetLocalGroupEnum.  Check for duplicate builtin groups.
(enum_users): Take server name and use in Net... call.
(usage): Change text slightly.
(print_version): Fix copyright.
(main): Call enum_local_groups for domains as well.
* mkpasswd.c: Use statically linked functions throughout, except for
DsGetDcNameW.  Reformat.  Convert to use WCHAR for names throughout.
Use defines instead of constants throughout.
(MAX_SID_LEN): Define.
(load_netapi): Just load DsGetDcNameW pointer.
(uni2ansi): Use wcstombs.
(current_user): Replace "unused_by_nt/2000/xp" by
just "unused".
(enum_users): Ditto.
(print_version): Fix copyright.

16 years ago * autoload.cc (DsGetDcNameW): Replace DsGetDcNameA.
Corinna Vinschen [Wed, 9 Jul 2008 11:58:38 +0000 (11:58 +0000)]
* autoload.cc (DsGetDcNameW): Replace DsGetDcNameA.
* dcrt0.cc (child_info_spawn::handle_spawn): Drop artificial
supplementary group list from calling setgroups in parent.
* grp.cc (internal_getgroups): Drop 9x-only code.  Reformat.
* sec_auth.cc (get_logon_server): Do everything in WCHAR only.
(get_user_groups): Ditto.  Use wlogonserver in LookupAccountNameW
calls, too.
(is_group_member): Get logon server as first argument and use in call
to NetLocalGroupGetMembers.
(get_user_local_groups): Get logon server as first argument and use in
calls to NetLocalGroupEnum and LookupAccountNameW.  Revamp to work
more correctly in domain environments.
(get_server_groups): Accommodate aforementioned changed function calls.
* security.h (get_logon_server): Change prototype accordingly.
* uinfo.cc (cygheap_user::env_logsrv): Accommodate changed
get_logon_server call.

16 years ago * grp.cc (internal_getgroups): Also add integrity-enabled groups.
Corinna Vinschen [Wed, 9 Jul 2008 09:14:12 +0000 (09:14 +0000)]
* grp.cc (internal_getgroups): Also add integrity-enabled groups.

16 years ago * sec_auth.cc (verify_token): Disable code which returns false if
Corinna Vinschen [Wed, 9 Jul 2008 08:10:25 +0000 (08:10 +0000)]
* sec_auth.cc (verify_token): Disable code which returns false if
the token contains additional groups not requested by setgroups.
Explain why.

16 years ago2008-07-08 Kenji Tanaka <tanaka.ken2@jp.panasonic.com>
Jeff Johnston [Tue, 8 Jul 2008 20:36:27 +0000 (20:36 +0000)]
2008-07-08  Kenji Tanaka  <tanaka.ken2@jp.panasonic.com>

        * libc/machine/mn10300/memset.S: Fix bug where return value is
        incorrectly set if number of bytes set is a multiple of 4.

16 years ago * fhandler_socket.cc (fhandler_socket::bind): Don't run explicit
Corinna Vinschen [Tue, 8 Jul 2008 20:12:46 +0000 (20:12 +0000)]
* fhandler_socket.cc (fhandler_socket::bind): Don't run explicit
local socket test in SO_REUSEADDR case on systems supporting
enhanced socket security.  Explain why.  Only call address_in_use
for AF_INET sockets.
* net.cc (cygwin_setsockopt): Don't call setsockopt to set SO_REUSEADDR
on systems supporting enhanced socket security.  Add comment.
* wincap.h (wincaps::has_enhanced_socket_security): New element.
* wincap.cc: Implement above element throughout.

16 years ago * net.cc (ipv6_inited): Make NO_COPY.
Corinna Vinschen [Tue, 8 Jul 2008 12:37:44 +0000 (12:37 +0000)]
* net.cc (ipv6_inited): Make NO_COPY.

16 years ago2008-07-07 Stan Shebs <stan@codesourcery.com>
Stan Shebs [Mon, 7 Jul 2008 18:40:13 +0000 (18:40 +0000)]
2008-07-07  Stan Shebs  <stan@codesourcery.com>

    * dis-asm.h (struct disassemble_info): Add endian_code field.

16 years ago * safe-ctype.h: Add #include of ctype.h before redefining
Joel Brobecker [Mon, 7 Jul 2008 17:09:31 +0000 (17:09 +0000)]
    * safe-ctype.h: Add #include of ctype.h before redefining
        the ctype.h macros.

16 years ago2008-07-07 Hans-Peter Nilsson <hp@axis.com>
Jeff Johnston [Mon, 7 Jul 2008 15:51:55 +0000 (15:51 +0000)]
2008-07-07  Hans-Peter Nilsson  <hp@axis.com>

        * libc/machine/mips/strncpy.c: Include stdint.h to get uintptr_t.
        (strncpy): Cast src to uintptr_t before checking alignment with "&".

16 years ago2008-07-06 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
Danny Smith [Mon, 7 Jul 2008 07:58:33 +0000 (07:58 +0000)]
2008-07-06  Gregory McGarry   <gregorymcgarry@users.sourceforge.net>

        * include/ctype.h (_imp____mb_cur_max): Correct spelling.
(_imp____mb_cur_max_dll): Likewise.

16 years ago * safe-ctype.h: Remove #error when detecting that ctype.h has been
Joel Brobecker [Fri, 4 Jul 2008 17:11:29 +0000 (17:11 +0000)]
    * safe-ctype.h: Remove #error when detecting that ctype.h has been
        included. Redefine the various macros provided by ctype.h as
        undefined variables.

16 years ago * include/stdio.h (swprintf, vswprintf): Guard with #ifndef __STRICT_ANSI__
Danny Smith [Fri, 4 Jul 2008 03:55:50 +0000 (03:55 +0000)]
    * include/stdio.h (swprintf, vswprintf): Guard with  #ifndef __STRICT_ANSI__
        * include/wchar.h (swprintf, vswprintf): Likewise.

16 years ago2008-07-02 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 2 Jul 2008 18:38:45 +0000 (18:38 +0000)]
2008-07-02  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/argz/argz_count.c: Include stddef.h to get size_t.
        * libc/argz/argz_extract.c: Ditto.
        * libc/argz/argz_stringify.c: Ditto.
        * libc/search/hash.h: Ditto.
        * libc/sys/linux/include/sched.h: Ditto.
        * libc/sys/linux/sys/types.h: Ditto.

16 years ago2008-07-02 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 2 Jul 2008 18:17:48 +0000 (18:17 +0000)]
2008-07-02  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/machine/mips/strncpy.c (strncpy): Fix logic so unaligned
        source data is taken care of before loop unrolling.

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