acf5111a6fFix MinGW-Bug [2119504].
Keith Marshall
2008-09-19 22:41:01 +0000
be66dbed41Fix MinGW-Bug [2117379].
Keith Marshall
2008-09-19 21:32:42 +0000
29212ab3cd2008-09-19 Eric Blake <ebb9@byu.net>
Jeff Johnston
2008-09-19 16:11:35 +0000
f2c11dadcf* cygtls.h (unionent): Move from net.cc. (unionent::struct_type): Move enum here. (_local_storage::hostent_buf): Define as unionent. (_local_storage::protoent_buf): Ditto. (_local_storage::servent_buf): Ditto. * net.cc (unionent): Move to cygtls.h. (struct_type): Ditto. (dup_ent): Define one function per {host,proto,serv}ent type. (cygwin_getprotobyname): Simplify dup_ent call. Removed now-unneeded return type coercion. (cygwin_getprotobynumber): Ditto. (cygwin_getservbyname): Ditto. (cygwin_getservbyport): Ditto. (cygwin_gethostbyname): Ditto. (cygwin_gethostbyaddr): Ditto. tlsoffsets.h: Regenerate.
Christopher Faylor
2008-09-16 02:04:27 +0000
fb4e8779d02008-09-13 mega-squall <mega-squall@users.sf.net>
Chris Sutcliffe
2008-09-13 12:03:26 +0000
a35d9f1a67* cygcheck.cc (pathlike::check_existence): Remove class name from declaration. (display_internet_error): Use proper format specifier for DWORD. (environ): Remove unneeded declaration. (main): Use brace around nested if to avoid an overly-helpful compiler warning. * dump_setup.cc (parse_filename): Reorganize nested if to avoid an overly-helpful compiler warning. * path.cc (GUID_shortcut): Use braces around part of initializer which needs them. (conv_fstab_spaces): Parenthesize assignment in while loop to avoid a compiler warning. (struct opt): Make static. * ps.cc (main): Reorganize nested if to avoid an overly-helpful compiler warning. * regtool.cc: Make some anonymous structs static to avoid a compiler warning. * ssp.c (lookup_thread_id): Initialize *tix to zero to avoid potential uninitialized use. * strace.cc (add_child): Use proper format specifier for DWORD. (remove_child): Ditto. (proc_child): Ditto.
Christopher Faylor
2008-09-12 22:43:10 +0000
175742d8c8* Makefile.in: Add -c option which is now removed from COMPILE_C*. * cygwin.din (cfmakeraw): Export. * termios.cc (cfmakeraw): Implement. * include/sys/termios.h (cfmakeraw): Declare. * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
Christopher Faylor
2008-09-12 22:32:07 +0000
7df9b8ba8e2008-09-11 Chris Sutcliffe <ir0nh34d@users.sf.net>
Chris Sutcliffe
2008-09-12 01:47:03 +0000
c4ca0e800a* cygwin.din (sys_sigabbrev): Add this here. * dcrt0.cc (__argc,__argv,_check_for_executable): Remove dllexport decoration since it is already handled in cygwin.din. * errno.cc (_sys_errlist): Ditto. * strsig.cc (sys_sigabbrev): Ditto. * include/cygwin/signal.h: Protect use of dllimport when __INSIDE_CYGWIN__. * libc/getopt.c: Revert previous changes. Define __INSIDE_CYGWIN__.
Christopher Faylor
2008-09-11 06:22:31 +0000
cb7e1879ee* localtime.cc (increment_overflow): Mark as non-inline to prevent compiler from complaining about the very thing we're trying to test. * ntea.cc (read_ea): Reorganize to avoid a new compiler warning/error. * sched.cc (sched_rr_get_interval): Ditto. * select.cc (peek_serial): Ditto. * libc/rexec.cc (ruserpass): Ditto. * posix_ipc.cc (ipc_names): Make static to avoid a compiler warning (and it's the right thing to do anyway).
Christopher Faylor
2008-09-11 05:43:11 +0000
81ba2b77de* net.cc (in6addr_any, in6addr_loopback): Add appropriate number of braces around initializer. (dup_ent): Try harder to coerce the first argument to deal with more stringent compiler. (get_2k_ifs): Remove extraneous typedef. (get_2k_ifs): Reorganize expression to avoid a compiler warning. (get_xp_ifs): Ditto. (get_nt_ifs): Ditto.
Christopher Faylor
2008-09-11 04:58:45 +0000
7b9e380f03* cygheap.cc (creturn): Reorganize to avoid a new compiler warning/error. * dtable.cc (handle_to_fn): Ditto. * fhandler_console.cc (fhandler_console::read): Ditto. (fhandler_console::scroll_screen): Ditto. (dev_console::set_color): Ditto. * fhandler_dsp.cc (fhandler_dev_dsp::write): Ditto. (fhandler_dev_dsp::read): Ditto. * fhandler_tape.cc (mtinfo_drive::get_status): Ditto. * hookapi.cc (find_first_notloaded_dll): Ditto. * mmap.cc (msync): Ditto. * pipe.cc (pipesync::pipesync): Ditto. * sec_acl.cc (getace): Ditto. * sec_auth.cc (create_token): Ditto. (lsaauth): Ditto. * select.cc (peek_pipe): Ditto. * spawn.cc (av::fixup): Ditto. * syscalls.cc (popen): Ditto. * tty.cc (tty::init_session): Ditto. * uinfo.cc (pwdgrp::load): Ditto. * fhandler.cc (fhandler_base::setup_overlapped): Ditto. (fhandler_base::wait_overlapped): Rename second use of res variable to wres or errors are not returned correctly. * dcrt0.cc: Remove obsolete variable. * dll_init.cc (release_upto): Fix typo involving incorrect use of '|'. * fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Avoid a compiler warning regarding coercing type-punned variables. (fhandler_base::fstat_by_name): Ditto. fhandler_fifo.cc (fhandler_fifo::open_nonserver): Fix = vs. == typo. (fhandler_fifo::wait): Add all conditions to switch statement to avoid a compiler warning. * fhandler_process.cc: Avoid unneeded initialization of variables to zero. (fhandler_socket::listen): Add braces around initializer. * flock.cc (inode_t::get_all_locks_list): Reorganize to avoid a compiler warning. Fix problem with EWOULDBLOCK error return. * path.cc (GUID_shortcut): Use braces around struct initializer. (cygwin_conv_path): Reorganize to avoid a compiler warning. * random.cc (dummy): Mark variable as volatile to avoid a "used uninitialized" warning. * libc/getopt.c: Mark some variables as dllexport although gcc doesn't seem to do the right thing with them. * libc/minires-os-if.c (get_registry_dns_items): Coerce some function arguments to avoid a compiler warning.
Christopher Faylor
2008-09-11 04:34:24 +0000
0b840b00092008-09-10 Ken Werner <ken.werner@de.ibm.com>
Jeff Johnston
2008-09-11 00:33:58 +0000
9ecc83a3f72008-09-10 Ken Werner <ken.werner@de.ibm.com>
Jeff Johnston
2008-09-11 00:30:32 +0000
e841b018cbmerge from gcc
DJ Delorie
2008-09-09 18:21:42 +0000
fc378cf7ceRemove bogus entry.
Ben Elliston
2008-09-09 04:43:43 +0000
da64e6bb4e008-09-08 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2008-09-08 22:25:14 +0000
49c5a1a6b22008-09-07 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe
2008-09-07 21:35:38 +0000
cef0517a232008-09-07 Chris Sutcliffe <ir0nh34d@users.sf.net>
Chris Sutcliffe
2008-09-07 20:49:43 +0000
3c795f6f1f2008-09-07 Michael Hentschel <mikeh42@users.sourceforge.net>
Chris Sutcliffe
2008-09-07 17:12:46 +0000
daa52c35092008-09-07 alsemm <alsemm@users.sourceforge.net>
Chris Sutcliffe
2008-09-07 17:11:49 +0000
ee1482b2deCommitted as obvious.
Danny Smith
2008-09-07 08:03:11 +0000
07aed2eee82008-09-06 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe
2008-09-07 02:07:29 +0000
2c4143f4012008-09-04 Ken Werner <ken.werner@de.ibm.com>
Jeff Johnston
2008-09-04 20:26:18 +0000
27b975f6fd2008-09-04 Ken Werner <ken.werner@de.ibm.com>
Jeff Johnston
2008-09-04 17:50:56 +0000
06e514022d2008-09-04 Ken Werner <ken.werner@de.ibm.com>
Jeff Johnston
2008-09-04 17:46:14 +0000
db04da92792008-09-04 Ken Werner <ken.werner@de.ibm.com>
Jeff Johnston
2008-09-04 17:27:49 +0000
8453fdbad92008-08-31 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
Aaron W. LaFramboise
2008-09-04 02:18:16 +0000
2c73a5e6822008-09-01 Ken Werner <ken.werner@de.ibm.com>
Jeff Johnston
2008-09-02 16:48:48 +0000
f43d60be62Reimplement getopt.c to add getopt_long_only() function.
Keith Marshall
2008-08-31 22:27:58 +0000
31966e0931Erase all file content, preparatory to rewrite.
Keith Marshall
2008-08-31 22:26:52 +0000
34d29530d92008-08-30 Bo Yang <techrazy@users.sourceforge.net>
Chris Sutcliffe
2008-08-30 23:19:14 +0000
953c58045b2008-08-29 Andy Grover <andy.grover@oracle.com> * include/ddk/scsi.h: Define READ_TOC formats.
Chris Sutcliffe
2008-08-30 23:14:26 +0000
1c931bf1182008-08-29 Andy Grover <andy.grover@oracle.com>
Chris Sutcliffe
2008-08-30 23:08:11 +0000
1138964dd82008-08-29 Andy Grover <andy.grover@oracle.com>
Chris Sutcliffe
2008-08-30 23:03:37 +0000
ce11563e342008-08-29 Andy Grover <andy.grover@oracle.com>
Chris Sutcliffe
2008-08-30 22:58:51 +0000
20167d0a5fImplement conditional replacement for printf() family functions.
Keith Marshall
2008-08-30 17:27:18 +0000
782ac76f362008-08-29 Andy Grover <andy.grover@oracle.com>
Chris Sutcliffe
2008-08-30 02:16:11 +0000
b6ab3057f62008-08-28 Craig Howland <howland@LGSInnovations.com>
Jeff Johnston
2008-08-28 18:18:12 +0000
60ac13a0b02008-08-28 Corinna Vinschen <corinna@vinschen.de>
Jeff Johnston
2008-08-28 17:36:49 +0000
5f05c64ce4* fhandler_tty.cc (close_maybe): Check for both types of invalid handle before attempting CloseHandle. (fhandler_pty_master::setup): Only set inheritance on pty handles, not tty handles.
Christopher Faylor
2008-08-27 21:55:19 +0000
cbeb4588292008-08-27 Sandra Loosemore <sandra@codesourcery.com>
Jeff Johnston
2008-08-27 21:32:02 +0000
05a6cb1bb2Avoid access violations, passing NULL to printf( "...%s..." ).
Keith Marshall
2008-08-27 20:23:42 +0000
25687b0f76* cygcheck.cc (nuke): Use malloc rather than alloca for environment variables. (load_cygwin): Ditto. * dump_setup.cc (parse_filename): Cosmetic changes. (get_packages): Ditto.
Christopher Faylor
2008-08-27 20:11:11 +0000
2d8d8175f12008-08-27 Corinna Vinschen <corinna@vinschen.de>
Jeff Johnston
2008-08-27 18:31:04 +0000
7e73b9cfd7* shared_info.h (shared_info::create_root_entry): Remove extraneous mount_info:: from declaration.
Christopher Faylor
2008-08-26 16:56:30 +0000
a5d4ae5c5b* fhandler.h (class fhandler_pipe): Rename read and write declarations to raw_read and raw_write. * pipe.cc (fhandler_pipe::raw_read): Rename from read. (fhandler_pipe::raw_write): Rename from write.
Corinna Vinschen
2008-08-26 15:39:17 +0000
a47ee4d6242008-08-22 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe
2008-08-26 03:34:10 +0000
30caac0569add comments
Christopher Faylor
2008-08-25 17:27:06 +0000
7e1645ce4dMerge from gcc: 2008-08-16 Nicolas Roche <roche@adacore.com> * Makefile.tpl: Add BOOT_ADAFLAGS. * Makefile.in: Regenerate.
DJ Delorie
2008-08-25 17:26:06 +0000
9a7bb8d77eMerge from gcc.
DJ Delorie
2008-08-25 17:07:33 +0000
328b090f29* mkgroup.c (enum_local_groups): Don't skip printing groups when print_current is set and group SID is not curr_pgrp. (enum_groups): Ditto. (main): Fix condition when SYSTEM group gets printed. * mkpasswd.c (enum_users): Don't skip printing users when print_current is set and user SID is not curr_user. (main): Allow printing standard accounts even when print_current is set.
Corinna Vinschen
2008-08-25 09:38:14 +0000
576677295f* binary-io.h: New file, imported from gnulib, but don't #include <fcntl.h> or <stdio.h>.
Alan Modra
2008-08-25 04:36:03 +0000
41e29fbdcf2008-08-22 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe
2008-08-22 23:54:47 +0000
5f8dcee09f2008-08-22 Bo Yang <techrazy@users.sourceforge.net>
Chris Sutcliffe
2008-08-22 23:02:50 +0000
8b2ed8e20a* fhandler.cc (fhandler_base::wait_overlapped): Reorganize again to accommodate what appears to be an MSDN hint about not resetting the overlapped event prior to calling GetOverlappedResult.
Christopher Faylor
2008-08-22 04:06:01 +0000
4a4f8634592008-08-20 Bob Wilson <bob.wilson@acm.org> bfd/ * elf-bfd.h (elf_object_id): Add XTENSA_ELF_TDATA. * elf32-xtensa.c (elf_howto_table): Add TLS relocations. (elf_xtensa_reloc_type_lookup): Likewise. (TCB_SIZE): Define. (elf_xtensa_link_hash_entry): New. (GOT_UNKNOWN, GOT_NORMAL, GOT_TLS_GD, GOT_TLS_IE, GOT_TLS_ANY): Define. (elf_xtensa_hash_entry): Define. (elf_xtensa_obj_tdata): New. (elf_xtensa_tdata): Define. (elf_xtensa_local_got_tls_type): Define. (elf_xtensa_local_tlsfunc_refcounts): Define. (is_xtensa_elf): Define. (elf_xtensa_mkobject): New. (elf_xtensa_link_hash_table): Add tlsbase field. (elf_xtensa_link_hash_newfunc): New. (elf_xtensa_link_hash_table_create): Use elf_xtensa_link_hash_newfunc. Create an entry for "_TLS_MODULE_BASE_" and save it in tlsbase field. (elf_xtensa_copy_indirect_symbol): New. (elf_xtensa_check_relocs): Rewrite to handle TLS relocations. (elf_xtensa_gc_sweep_hook): Likewise. (elf_xtensa_allocate_dynrelocs): Optimize away GOT entries for TLSDESC_FN relocations when an IE reference is seen. (elf_xtensa_allocate_local_got_size): Likewise. (elf_xtensa_always_size_sections): New. (dtpoff_base, tpoff): New. (elf_xtensa_do_reloc): Handle TLS relocations. (replace_tls_insn): New. (IS_XTENSA_TLS_RELOC): Define. (elf_xtensa_relocate_section): Handle TLS relocations. (get_indirect_call_dest_reg): New. (bfd_elf32_mkobject): Define. (elf_backend_always_size_sections): New. (elf_backend_copy_indirect_symbol): New. * reloc.c (BFD_RELOC_XTENSA_TLSDESC_FN, BFD_RELOC_XTENSA_TLSDESC_ARG) (BFD_RELOC_XTENSA_TLS_DTPOFF, BFD_RELOC_XTENSA_TLS_TPOFF) (BFD_RELOC_XTENSA_TLS_FUNC, BFD_RELOC_XTENSA_TLS_ARG) (BFD_RELOC_XTENSA_TLS_CALL): New. * bfd-in2.h: Regenerate. * libbfd.h: Regenerate. gas/ * config/tc-xtensa.c (O_tlsfunc, O_tlsarg, O_tlscall): Define. (O_tpoff, O_dtpoff): Define. (suffix_relocs): Add entries for TLS suffixes. (xtensa_elf_cons): Check for invalid use of TLS relocations. (map_operator_to_reloc): Add is_literal parameter and use it to control translating TLS instruction relocations to the corresponding literal relocations. (xg_valid_literal_expression): Allow TLS operators. (xg_build_to_insn): Copy TLS operators from pseudo-instruction operands to generated literals. (xg_assemble_literal): Handle TLS operators. Update call to map_operator_to_reloc. (md_assemble): Handle CALLXn.TLS pseudo-instruction. (md_apply_fix): Handle TLS relocations. (emit_single_op): Handle TLS operators. (convert_frag_immed): Update call to map_operator_to_reloc. (vinsn_to_insnbuf): Emit relocations for TLS-related instructions. * config/xtensa-istack.h (tinsn_struct): Add tls_reloc field. * config/xtensa-relax.c (append_literal_op): Add src_op parameter to initialize the op_data field of the BuildOp. (build_transition): Use it here to record the source operand corresponding to a generated literal. * config/xtensa-relax.h (build_op): Comment op_data use for literals. include/elf/ * xtensa.h (R_XTENSA_TLSDESC_FN, R_XTENSA_TLSDESC_ARG) (R_XTENSA_TLS_DTPOFF, R_XTENSA_TLS_TPOFF, R_XTENSA_TLS_FUNC) (R_XTENSA_TLS_ARG, R_XTENSA_TLS_CALL): New. ld/testsuite/ * ld-xtensa/tlsbin.dd, ld-xtensa/tlsbin.rd, ld-xtensa/tlsbin.s, ld-xtensa/tlsbin.sd, ld-xtensa/tlsbin.td, ld-xtensa/tlslib.s, ld-xtensa/tlspic.dd, ld-xtensa/tlspic.rd, ld-xtensa/tlspic.sd, ld-xtensa/tlspic.td, ld-xtensa/tlspic1.s, ld-xtensa/tlspic2.s: New. * ld-xtensa/xtensa.exp: Run them.
Bob Wilson
2008-08-20 23:28:58 +0000
7d0a7940e6* path.cc (symlink_info::check_shortcut): If file can't be opened, treat it as non-symlink rather than generating an EIO error. (symlink_info::check_sysfile): Ditto.
Corinna Vinschen
2008-08-20 10:53:54 +0000
236c21ee9e2008-08-19 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe
2008-08-20 02:30:05 +0000
fbf39a58cb* fhandler.cc (fhandler_base::wait_overlapped): Always assume that bytes will be non-NULL. Distinguish input result from result derived from WFMO and GetOverlappedResult or res can never be -1. Only raise SIGPIPE when writing. * fhandler.h (fhandler_base::wait_overlapped): Pass first argument by value. * fhandler_fifo.cc (fhandler_fifo::wait): Pass in dummy byte count to wait_overlapped. * pipe.cc (DEFAULT_PIPEBUFSIZE): Define to 65536 explicitly.
Christopher Faylor
2008-08-20 02:25:06 +0000
ec8a7e416f* fhandler_disk_file.cc (fhandler_disk_file::mkdir): Drop fattr variable and use FILE_ATTRIBUTE_DIRECTORY directly in call to NtCreateFile. * posix_ipc.cc (ipc_mutex_init): Fix format string when creating IPC object name. (ipc_cond_init): Ditto. * security.cc (alloc_sd): Add parentheses to fix setting initial owner_allow value.
Corinna Vinschen
2008-08-19 09:46:31 +0000
46c6def37f* fhandler.cc (fhandler_base::wait_overlapped): Don't treat ERROR_BROKEN_PIPE as a non-error. Do raise SIGPIPE when it is detected.
Christopher Faylor
2008-08-19 02:56:28 +0000
bba4895394* mkgroup.c (enum_local_groups): Use NetLocalGroupGetInfo to find out if a group exists, rather than just allocating a buffer and going ahead.
Corinna Vinschen
2008-08-18 12:56:59 +0000
2d1bfd524d* mkgroup.c (enum_local_groups): Call print_win_error with GetLastError as argument when LookupAccountXXX failed. (enum_groups): Ditto.
Corinna Vinschen
2008-08-18 12:42:44 +0000
5a62582162* mkgroup.c (enum_local_groups): Return failure if looking for a single group succeeded. Add comment.
Corinna Vinschen
2008-08-18 08:58:21 +0000
95141e7835* mkpasswd.c (main): Avoid printing system accounts when a single user name has been requested.
Christopher Faylor
2008-08-17 17:00:50 +0000
6510edf4bc* Makefile.in (ALL_LDFLAGS): Add --enable-auto-import option to quiet ld warnings. * mkgroup.c: Change all global variables and most functions to static. (enum_local_groups): Add a print_current parameter to control whether entries for everything should be printed or just the current user. (enum_groups): Ditto. (main): Move call fetch_current_pgrp_sid earlier to avoid a NULL deference when no command line arguments are specified. Accommodate argument changes to above functions. Avoid printing SYSTEM account when print_current is specified. Issue error when extra stuff is found on the command line. * mkpasswd.c: Change all global variables and most functions to static. (enum_users): Add a print_current parameter to control whether entries for everything should be printed or just the current user. (main): Move call fetch_current_user_sid earlier to avoid a NULL deference when no command line arguments are specified. Accommodate argument change to above function. Avoid printing standard accounts when print_current is specified. Issue error when extra stuff is found on the command line.
Christopher Faylor
2008-08-17 16:45:44 +0000
f609b6715abfd/ * bfd.c (struct _bfd): Correct outsymbols comment. * bfd-in2.h: Regenerate. * linker.c (bfd_generic_link_read_symbols): Renamed from.. (generic_link_read_symbols): ..this, and made global.
Alan Modra
2008-08-17 03:12:50 +0000
59c5956905* configure.ac (mips*-*-*linux*, mips*-*-gnu*): Use mt-mips-gnu. * configure: Regenerate.
Richard Sandiford
2008-08-16 06:47:17 +0000
9258eca9d4* mkgroup.c (fetch_current_pgrp_sid): New function to fetch primary group SID from user token. (current_group): Move up in file. Move fetching primary group SID to fetch_current_pgrp_sid. (enum_local_groups): Check if current SID is the same as current user's primary group SID. (enum_groups): Ditto. (main): Call fetch_current_pgrp_sid before enumerating groups. Call current_group only if current group hasn't been enumerated already. * mkpasswd.c (fetch_current_user_sid): New function to fetch current user SID from user token. (current_user): Move fetching current user SID to fetch_current_user_sid. (enum_users): Check if current SID is the same as current user's SID. (main): Call fetch_current_user_sid before enumerating users. Call current_user only if current user hasn't been enumerated already.
Corinna Vinschen
2008-08-15 13:08:47 +0000
2bd94f906d* mount.cc (mount_info::get_mounts_here): Don't subtract 2 from Length if it's 0 anyway.
Corinna Vinschen
2008-08-15 12:33:26 +0000
2b41d940ca* path.cc (symlink_info::check): Don't use eabuf when trying to open file a second time. Call NtOpenFile instead of NtCreateFile in this case.
Corinna Vinschen
2008-08-15 10:19:12 +0000
84132c9d9f2008-08-14 Jie Zhang <jie.zhang@analog.com>
Jeff Johnston
2008-08-14 22:00:47 +0000
d434b57f86Add missing dependencies for building libmingwex.a.
Keith Marshall
2008-08-14 15:13:18 +0000
88797e5979* external.cc (cygwin_internal): Call set_security_attribute with additional path_conv argument. * fhandler.cc (fhandler_base::open): Ditto. * fhandler_disk_file.cc (fhandler_disk_file::fchmod): Never set DOS R/O attribute when using ACLs. (fhandler_disk_file::mkdir): Ditto. Set security descriptor on remote dirs after creating the dir, same as in fhandler_base::open. * fhandler_socket.cc (fhandler_socket::bind): Ditto for remote AF_LOCAL socket files. * path.cc (symlink_worker): Ditto. for remote symlinks. * security.cc (alloc_sd): Take additional path_conv argument. Accommodate throughout. Drop setting FILE_WRITE_EA/FILE_READ_EA flags unconditionally (was only necessary for "ntea"). Don't set FILE_READ_ATTRIBUTES and FILE_WRITE_ATTRIBUTES unconditionally on Samba. Add comment to explain. Drop useless setting of STANDARD_RIGHTS_WRITE, it's in FILE_GENERIC_WRITE anyway. Remove FILE_READ_ATTRIBUTES bit from FILE_GENERIC_EXECUTE so as not to enforce read permissions on Samba. (set_security_attribute): Take additional path_conv argument. * security.h (set_security_attribute): Change prototype accordingly.
Corinna Vinschen
2008-08-14 14:05:04 +0000
56d8179570* mount.cc (NT_MAX_PATH): Define. (longopts): Rename mount-commands option to mount-entries. (opts): Remove removed options. (struct opt): Move up in file to allow using it in usage. (usage): Change text for --mount-entries option. Remove -X option. Add valid options output. (main): Remove handling -b option. (convert_spaces): New static function to convert spaces to "\040" string. (mount_entries): Renamed from mount_commands. Rewrite to emit /etc/fstab compatible output. (show_cygdrive_info): Print "nouser" rather than "system". * umount.cc (longopts): Remove remove-all-mounts, remove-cygdrive-prefix, remove-system-mounts, system and user options. (opts): Remove A, c, s, S, u options. (usage): Remove text for all removed options. (main): Remove handling for all removed options. (remove_all_mounts): Remove. (remove_all_system_mounts): Remove. (remove_cygdrive_prefix): Remove. * utils.sgml: Fix mount and umount documentation. Move description of (cyg,not)exec options to mount table section.
Corinna Vinschen
2008-08-13 16:35:04 +0000
04a6c4efd7* pathnames.sgml: Move description for (cyg,not)exec mount options from utils.sgml here. Clarify nouser mount points.
Corinna Vinschen
2008-08-13 16:34:49 +0000
aed2404c0d* mount.cc (fillout_mntent): Print options as taken in fstab and mount.
Corinna Vinschen
2008-08-13 15:11:25 +0000
5a58591f45* cyglsa-config: Copy the DLL instead of moving.
Corinna Vinschen
2008-08-13 11:05:25 +0000
69d704beff* dll_init.cc: Throughout convert to use long pathnames. * dll_init.h (struct dll): Change name to WCHAR, change operator [] to take PWCHAR argument.
Corinna Vinschen
2008-08-13 08:25:44 +0000
e587bc0e7dAdd replacements for remaining members of printf() family.
Keith Marshall
2008-08-11 22:41:55 +0000
0ea2c19934* syscalls.cc (rename): If newpath doesn't exist, check if .exe suffix in oldpath has been omitted before appending .exe to newpath.
Corinna Vinschen
2008-08-11 15:05:25 +0000
36f17b4b40* fhandler_floppy.cc (fhandler_dev_floppy::raw_read): Don't set eom_detected when EOF is detected, thus returning 0 instead of setting errno to ENOSPC.
Corinna Vinschen
2008-08-09 11:09:02 +0000
a15b3bdef7Add AVR architectures avr25, avr31, avr35, and avr51 to match GCC. bfd/ * archures.c (bfd_mach_avr25, bfd_mach_avr31, bfd_mach_avr35, bfd_mach_avr51): New. * bfd-in2.h: Regenerate. * cpu-avr.c (arch_info_struct): Add avr25, avr31, avr35, and avr51 architectures. Change comments to match architecture comments in GCC. (compatible): Add test for new AVR architectures. * elf32-avr.c (bfd_elf_avr_final_write_processing): Recognize bfd_mach_avr25, bfd_mach_avr31, bfd_mach_avr35 and bfd_mach_avr51. (elf32_avr_object_p): Recognize E_AVR_MACH_AVR25, E_AVR_MACH_AVR31, E_AVR_MACH_AVR35 and E_AVR_MACH_AVR51.
Eric Weddington
2008-08-09 05:35:13 +0000
97c16b1b232008-08-08 Richard Sandiford <rdsandiford@googlemail.com> Daniel Jacobowitz <dan@codesourcery.com> Catherine Moore <clm@codesourcery.com> Mark Shinwell <shinwell@codesourcery.com> Maxim Kuvyrkov <maxim@codesourcery.com>
Daniel Jacobowitz
2008-08-08 19:24:49 +0000
b2d3f28fda* fhandler.cc (fhandler_base::open): Use Samba workaround generally for all remote filesystems supporting ACLs. Change comment and explain why. Refer to the discussion which led to this.
Corinna Vinschen
2008-08-07 16:20:03 +0000