summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * external.cc (cygwin_internal): Change n to __off64_t to match changeCorinna Vinschen2003-03-087-16/+32
| | | | | | | | | | | | | | of _pinfo::cmdline. * fhandler.h (class fhandler_virtual): Change filesize member to __off64_t. * fhandler_proc.cc (format_proc_meminfo): Change to return __off64_t. (format_proc_stat): Ditto. (format_proc_uptime): Ditto. * fhandler_process.cc (format_process_stat): Ditto. (format_process_status): Ditto. (format_process_statm): Ditto. * pinfo.cc (_pinfo::cmdline): Expect __off64_t parameter. * pinfo.h (class _pinfo): Change declaration of cmdline accordingly.
* * libc/include/sys/unistd.h: Guard getopt.h call to force only declaration ofChristopher Faylor2003-03-083-11/+8
| | | | | getopt and avoid getopt_long declaration. * libc/sys/cygwin/include/unistd.h: Remove.
* * path.h (PATH_LNK): New enum val.Christopher Faylor2003-03-085-37/+72
| | | | | | | | | | | | | | | | | (path_conv::is_lnk_symlink): New function. True if path represents .lnk style symlink. * path.cc (check_shortcut): Set PATH_LNK in pflags when appropriate. (symlink_info::check): Ditto. Remove PATH_LNK from pflags initially. * syscalls.cc (unlink): Always remove readonly attribute from a symlink regardless of type. (link): (from Corinna Vinschen) Allow links to symlinks. Reset attributes on a symlink after successful link creation. (chmod): Use is_lnk_symlink where appropriate. (rename): Ditto. * tty.cc (create_tty_master): Call GetComputerName instead of cygwin_gethostname. Set ut_id. * syscalls.cc (login): Call endutent. (setutent): Do not seek after a fresh open.
* * configure.host: Define stdio64_dir for Cygwin.Corinna Vinschen2003-03-076-7/+29
| | | | | | | | | * libc/include/stdio.h: Change definition of fpos_t to fulfill Cygwin 64bit file access requirements. Drop definition of f*64() functions when compiled for Cygwin. * libc/include/sys/config.h: Define __LARGE64_FILES for Cygwin. * libc/reent/lseek64r.c: Use _off64_t instead of off64_t. * libc/stdio64/local64.h: Use _fpos64_t instead of fpos64_t.
* * syscalls.cc (seteuid32): Fix formatting.Corinna Vinschen2003-03-072-3/+8
|
* * winsup.api/known_bugs.tcl: Remove fsync01, setregid01 and setreuid01Corinna Vinschen2003-03-072-2/+7
| | | | from list of known bugs.
* 2003-03-07 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2003-03-072-3/+6
| | | | | * libc/include/sys/reent.h: Remove extraneous _sig_func declaration.
* 2003-03-06 Christopher January <chris@atomice.net>Danny Smith2003-03-074-0/+38
| | | | | | | | | | | | * include/winbase.h (FindFirstVolume): Add declaration. (FindNextVolume): Add declaration. (FindVolumeClose): Add declaration. (GetSystemTimes): Add declaration. * include/winnt.h: Add define for PF_XMMI64_INSTRUCTIONS_AVAILABLE. 2003-03-06 Danny Smith <dannysmith@users.sourceforge.net> *lib/kernel32.def (GetSystemTimes): Add stub.
* 2003-03-06 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-03-062-864/+1215
| | | | * texinfo/texinfo.tex: Import version 2003-02-03.16.
* Remove redundant defintions of BYTES_IN_WORD and add conditional defintion inNick Clifton2003-03-062-128/+135
| | | | aout64.h.
* 2003-03-04 Daniel Jacobowitz <drow@mvista.com>Nathanael Nerode2003-03-055-2017/+2012
| | | | | | | | | | | | | * configure.in: Include $(build_tooldir)/sys-include in FLAGS_FOR_TARGET. * configure: Regenerated. 2003-03-04 Nathanael Nerode <neroden@gcc.gnu.org> * Makefile.tpl: Reindent. * Makefile.in: Regenerate. * configure.in: Reindent. Don't set unused variables. * configure: Regenerate.
* * thread.cc (MTinterface::fixup_after_fork): Initialize mainthreadThomas Pfaff2003-03-042-4/+9
| | | | prior to pthread objects.
* * fhandler_socket.cc (fhandler_socket::dup): Initialize type.Corinna Vinschen2003-03-042-0/+5
|
* Really commit it... dunno what happened last time.Nathanael Nerode2003-03-041-0/+16
|
* * mh-dgux: Delete.Nathanael Nerode2003-03-042-2/+4
|
* * Makefile.tpl: Always pass down RANLIB.Nathanael Nerode2003-03-044-174/+96
| | | | | | | | | | | | | | | * Makefile.in: Regenerate. * Makefile.tpl: Don't set unused enable_shared, enable_threads macros. * Makefile.in: Regenerate. * configure.in: Remove unused logic relating to --enable-shared and --enable-threads. Remove bogus comments. Remove redundant noconfigdirs. * configure: Regenerate. * configure.in: Replace ${libstdcxx_version} by its value. Remove reference to mh-dgux. * configure: Regenerate.
* revert erroneous entryChristopher Faylor2003-03-041-9/+0
|
* * Makefile.in (strace.exe): Include mingw_getopt.o in link line.Christopher Faylor2003-03-047-10/+30
| | | | | | | | * cygcheck.cc (print_version): Update copyright. * strace.cc (print_version): Ditto. (main): Allow cygwin paths for -o option. (create_child): Allow cygwin path as argv[0]. * path.cc (path.cc): Allow UNC paths.
* * fhandler.h (fhandler_tty_slave::close): Declare new function.Christopher Faylor2003-03-043-2/+55
| | | | | | | | | | | | | (fhandler_tty_slave::dup): Declare new function. (fhandler_tty_slave::fixup_after_function): Declare new function. * fhandler_tty.cc (fhandler_tty_slave_open): Only increment fhandler_console::open_fhs when associated with a pty. (fhandler_tty_slave::close): Define new function. Decrement fhandler_console::open_fhs when associated with a pty. (fhandler_tty_slave::dup): Define new function. Increment fhandler_console::open_fhs when associated with a pty. (fhandler_tty_slave::fixup_after_fork): Define new function. Increment fhandler_console::open_fhs when associated with a pty.
* 2003-03-04 Heiko Gerdau <hg@technosis.de>Danny Smith2003-03-044-2/+59
| | | | | | | * oleidl.h (IOleObject): Correct GetUserType prototype. (IViewObject2): Correct GetExtent prototype. * olectl.h (DISPIP_): Add new defines * ocidl.h (IOleInPlaceSiteWindowless): Add new interface.
* Fix sh-elf linker relaxation:Joern Rennecke2003-03-032-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gcc: * config/sh/sh.h (EXTRA_SPECS): Add subtarget_asm_relax_spec and subtarget_asm_isa_spec. (SUBTARGET_ASM_RELAX_SPEC, SUBTARGET_ASM_ISA_SPEC): Define. (ASM_SPEC): Define as SH_ASM_SPEC. (SH_ASM_SPEC): New; take the role of ASM_SPEC, but safe from svr4.h. Use subtarget_asm_relax_spec and subtarget_asm_isa_spec. * config/sh/elf.h (ASM_SPEC): Use SH_ASM_SPEC. (SUBTARGET_ASM_ISA_SPEC): Undef / define. gcc/testsuite: gcc.dg/sh-relax.c: New test. include/elf: * sh.h (EF_SH_MERGE_MACH): Make sure SH2E & SH3/SH3E merge to SH3E, and SH2E & SH4 merge to SH4, not SH2E. gas: * config/tc-sh.c (sh_dsp): Replace with preset_target_arch. (md_begin): Use preset_target_arch. (md_longopts): Make isa option unconditional. (md_parse_option): Make OPTION_DSP and OPTION_ISA sh4 / any set preset_target_arch. (md_apply_fix3): If BFD_ASSEMBLER, adjust SWITCH_TABLE fixups by -S_GET_VALUE (fixP->fx_subsy). (tc_gen_reloc): For SWITCH_TABLE fixups, the symbol is fixp->fx_subsy, and the addend is 0. Adjust addend of R_SH_IND12W relocations by fixp->fx_offset - 4. * config/tc-sh.h (TC_FORCE_RELOCATION_SUB_LOCAL): Define. bfd: elf32-sh.c (sh_elf_howto_tab): Make R_SH_IND12W into an ordinary relocation (no special function), and make it non-partial_inplace. (sh_elf_relax_section): When creating a bsr, use a consistent value no matter if the symbol is extern or not; set addend to -4. Don't swap load / non-load instructions for SH4. (sh_elf_relax_delete_bytes): In R_SH_IND12W case, check the offset rather than if the symbol is external to determine if adjusting the offset makes sense. Adjust the addend too if appropriate. (sh_elf_relocate_section): In R_SH_IND12W, don't fiddle with the relocation.
* * fhandler_tty.cc (fhandler_pty_slave::open): Grudgingly incrementChristopher Faylor2003-03-032-0/+8
| | | | | fhandler_console::open_fhs here. (fhandler_pty_slave::close): Ditto for close.
* 2003-03-03 Christopher Faylor <cgf@redhat.com>Danny Smith2003-03-032-19/+33
| | | | * mingwex/getopt.c: Refresh from NetBSD sources.
* * lib/getopt.c: Refresh from NetBSD sources.Christopher Faylor2003-03-032-18/+32
|
* * fhandler_console.cc (fhandler_console::close): Don't decrement in use counterChristopher Faylor2003-03-032-1/+7
| | | | if in vfork fixup stage.
* * mingwex/getopt.c: New file, copied from cygwin srcs.Danny Smith2003-03-035-7/+597
| | | | | | | * include/getopt.h: New file, copied from cygwin srcs. * include/unistd.h: Include getopt.h. * mingwex/Makefile.in ((DISTFILES): Add getopt.c. (POSIX_OBJS): Add getopt.o.
* * lib/getopt.c: Nuke use of unneeded BSDisms.Christopher Faylor2003-03-022-8/+7
|
* * dll_init.cc (dll_list::load_after_fork): Don't revert to LoadLibrary ifChristopher Faylor2003-03-028-48/+30
| | | | | | | | | | | | | | | | | LoadLibraryEx fails. * dtable.cc (dtable::dec_console_fds): Eliminate. (dtable::release): Don't treat console specially. (dtable::build_fhandler): Ditto. * dtable.h (console_fds): Eliminate. (dtable::dec_console_fds): Eliminate. (dtable::inc_console_fds): Eliminate. * fhandler.h (fhandler_console::open_fhs): New static element. * fhandler_console.cc (fhandler_console::open): Increment open_fs. (fhandler_console::close): Call FreeConsole if no more open consoles and ctty is not associated with the console. * syscalls.cc (setsid): Simplify check for when to call FreeConsole. (check_pty_fds): Eliminate definition. * winsup.h (check_pty_fds): Eliminate declaration.
* * dll_init.cc (dll_list::load_after_fork): Fix typo where result of LoadLibraryChristopher Faylor2003-03-022-1/+6
| | | | was ignored.
* 2003-03-02 Danny Smith <dannysmith@users.sourceforge.net>Danny Smith2003-03-0214-17/+259
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * include/stdio.h (vscanf): Add prototype. (vfscanf): Ditto. (vsscanf): Ditto. (vwscanf): Ditto. (vfwscanf): Ditto. (vswscanf): Ditto. * include/wchar.h (vwscanf): Add prototype. (vfwscanf): Ditto. (vswscanf): Ditto. * mingwex/snprintf.c: Move to mingwex/stdio. * mingwex/vsnprintf.c: Ditto. * mingwex/snwprintf.c: Ditto. * mingwex/vsnwprintf.c: Ditto. * mingwex/Makefile.in (VPATH): Add $(srcdir)/stdio (STDIO_DISTFILES): Add. (DISTFILES): Adjust. (STDIO_STUB_OBJS): Rename to STDIO_OBJS and add v*scanf objects. (LIB_OBJS): Adjust. (dist): Adjust. 2003-03-02 Aaron W LaFramboise <AWLaFramboise@aol.com> * mingwex/stdio: New directory * mingwex/stdio/vfscanf.c: New file. * mingwex/stdio/vfwscanf.c: New file. * mingwex/stdio/vscanf.c: New file. * mingwex/stdio/vsscanf.c: New file. * mingwex/stdio/vswscanf.c: New file. * mingwex/stdio/vwscanf.c: New file.
* fix typoChristopher Faylor2003-03-021-1/+1
|
* Document new mkgroup,mkpasswd optionsJoshua Daniel Franklin2003-03-011-27/+47
|
* 2003-03-01 Pierre Humblet <pierre.humblet@ieee.org>Pierre Humblet2003-03-013-14/+32
| | | | | | | | * mkpasswd.cc (main): On Win95, output both a default line and a line for the current user (if known) with a pseudorandom uid. If the -u switch is given, produce a line for the specified user. * mkgroup.cc (main): On Win95 change the group name from "unknown" to "all".
* * fhandler_socket.cc (fhandler_socket::bind): Open and write socketCorinna Vinschen2003-03-012-20/+37
| | | | file using Win32 calls.
* * fhandler_socket.cc (get_inet_addr): Open and read socket file usingCorinna Vinschen2003-03-012-7/+32
| | | | Win32 calls.
* * include/olectl.h (OleLoadPictureEx) Add prototype.Danny Smith2003-03-012-0/+13
| | | | | | | (OleLoadPictureFile): Ditto. (OleLoadPictureFileEx): Ditto. (OleLoadPicturePath): Ditto. (OleSavePictureFile): Ditto.
* * include/objbase.h (CoAddRefServerProcess): Add prototype.Danny Smith2003-03-013-0/+14
| | | | | | | | (CoAddReleaseServerProcess): Ditto. (CoResumeClassObjects): Ditto. (CoSuspendClassObjects): Ditto. * include/oleauto.h (V_I1): Define. Thanks to: "Timofei" <mmttmm@users.sourceforge.net>
* 2003-03-01 Heiko Gerdau <hg@technosis.de>Danny Smith2003-03-013-1/+23
| | | | | * include/oleidl.h (USERCLASSTYPE): Add enum. * include/ocidl.h (IObjectWithSite): Add interface.
* * Makefile.in (cygcheck.o): Fix so that actual mingw include files are used.Christopher Faylor2003-03-013-5/+94
| | | | | | | * cygcheck.cc (find_on_path): Translate from cygwin path when qualified path name found. (pretty_id): New function. Dump output of id command. (dump_sysinfo): Call pretty_id for CYGWIN=ntsec and CYGWIN=nontsec cases.
* * cygwin.din: Wrap atexit and exit with cygwin, thread-safe functions.Christopher Faylor2003-03-015-12/+53
| | | | | * dcrt0.cc (cygwin_atexit): New function. (cygwin_exit): Ditto.
* 2003-02-28 Pierre Humblet <pierre.humblet@ieee.org>Pierre Humblet2003-02-282-3/+8
| | | | | * syscalls.cc (fstat64): Pass get_name () to pc. (access): Pass fn to stat_worker.
* * Makefile.tpl: Rearrange.Nathanael Nerode2003-02-283-302/+355
| | | | * Makefile.in: Regenerate.
* 2003-02-28 Roland Schwingel <roland.schwingel@onevision.de>Danny Smith2003-02-283-12/+16
| | | | | | | | | | | | Fixup UNICODE thinko in 2003-02-22 patch. * include/wingdi.h (AddFontMemResourceEx): Add. (RemoveFontMemResourceEx): Ditto. (AddFontMemResourceEx[AW]): Remove. (RemoveFontMemResourceEx[AW]): Ditto * lib/gdi32.def: (AddFontResourceEx): Add. (RemoveFontMemResourceEx): Ditto. (AddFontMemResourceEx[AW]): Remove. (RemoveFontResourceEx[AW]): Ditto.
* 2003-02-27 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-02-272-4/+9
| | | | | * remote-sim.h (sim_open, sim_load, sim_create_inferior): Rename _bfd to bfd.
* 2003-03-27 Corinna Vinschen <corinna@vinschen.de>Corinna Vinschen2003-02-272-61/+131
| | | | | | | | | | | | | * fhandler_socket.cc (class sock_event): New class managing Winsock events for interruptible socket calls. (fhandler_socket::connect): Move support for interruptible call to class sock_event. Use class object instead. (fhandler_socket::accept): Ditto. Remove useless casts. 2003-03-27 Thomas Pfaff <tpfaff@gmx.net> * fhandler_socket.cc (fhandler_socket::connect): Add support for an interruptable connect.
* merge from gccDJ Delorie2003-02-272-1/+5
|
* * uinfo.cc (internal_getlogin): Only update user.groups.pgsidCorinna Vinschen2003-02-272-1/+7
| | | | if the call to set the primary group succeeds.
* * cygthread::detach: Improve error message.Christopher Faylor2003-02-272-1/+5
|
* * sec_helper.cc (get_sids_info): debug_print owner_sid and group_sid.Corinna Vinschen2003-02-262-0/+7
|
* 2002-02-25 D.Venkatasubramanian <dvenkat@noida.hcltech.com>Jeff Johnston2003-02-2513-81/+175
| | | | | | | | | | | | | | | | * libc/sys/h8300hms/Makefile.am: Add support for new files. * libc/sys/h8300hms/Makefile.in: Regenerated. * libc/sys/h8300hms/close.S: New file. * libc/sys/h8300hms/fstat.S: Ditto. * libc/sys/h8300hms/lseek.S: Ditto. * libc/sys/h8300hms/open.S: Ditto. * libc/sys/h8300hms/stat.S: Ditto. * libc/sys/h8300hms/read.S: New file to replace read.c. * libc/sys/h8300hms/read.c: Removed. * libc/sys/h8300hms/syscalls.c: Removed functions _open, _lseek, _close, _stat, _fstat. * libc/sys/h8300hms/write.S: New file to replace write.c. * libc/sys/h8300hms/write.c: Removed.