summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * sec_acl.cc (setacl): Don't handle DELETE flag specially.Corinna Vinschen2003-03-103-10/+9
| | | | * security.cc (alloc_sd): Ditto.
* Fix typo.Corinna Vinschen2003-03-091-1/+1
|
* * winver.rc: Change Copyright hint to inlcude 2003.Corinna Vinschen2003-03-092-1/+5
|
* * libc/reent/lseekr.c (lseek_r): Use _off_t instead of off_t.Corinna Vinschen2003-03-092-2/+6
|
* * libc/include/sys/config.h: Define __CYGWIN_USE_BIG_TYPES__ forCorinna Vinschen2003-03-092-0/+6
| | | | Cygwin.
* Switch to 32/64 datatypes:Corinna Vinschen2003-03-0912-45/+192
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.in (OBSOLETE_FUNCTIONS): Add open acl aclcheck aclfrommode aclfrompbits aclfromtext aclsort acltomode acltopbits acltotext chown facl fchown fgetpos fopen freopen fseeko fsetpos fstat ftello ftruncate getegid geteuid getgid getgrent getgrgid getgrnam getgroups getpwuid getpwuid_r getuid initgroups lchown lseek lstat mknod mmap seekdir setegid seteuid setgid setgroups setregid setreuid setuid stat telldir truncate. (NEW_FUNCTIONS): Add _open64 acl32 aclcheck32 aclfrommode32 aclfrompbits32 aclfromtext32 aclsort32 acltomode32 acltopbits32 acltotext32 chown32 facl32 fchown32 fgetpos64 fopen64 freopen64 fseeko64 fsetpos64 fstat64 ftello64 ftruncate64 getegid32 geteuid32 getgid32 getgrent32 getgrgid32 getgrnam32 getgroups32 getpwuid32 getpwuid_r32 getuid32 initgroups32 lchown32 lseek64 lstat64 mknod32 mmap64 seekdir64 setegid32 seteuid32 setgid32 setgroups32 setregid32 setreuid32 setuid32 stat64 telldir64 truncate64 to substitute the above. * cygserver_shm.h (class client_request_shm): Change uid_t and gid_t members to __uid32_t and __gid32_t. * cygwin.din: Add symbols acl32 aclcheck32 aclfrommode32 aclfrompbits32 aclfromtext32 aclsort32 acltomode32 acltopbits32 acltotext32 facl32 fgetpos64 fopen64 freopen64 fseeko64 fsetpos64 _fstat64 ftello64 _lseek64 mknod32 _open64. * glob.c: Include perprocess.h. (globtilde): Call getpwuid32 and getuid32 instead of getpwuid and getuid. (g_lstat): Check for applications API version to call the appropriate typed gl_lstat function. (g_stat): Ditto for gl_stat. * shm.cc (client_request_shm::client_request_shm): Call geteuid32 and getegid32 instead of geteuid and getegid throughout. * syscalls.cc (_open64): New alias for open. (_lseek64): New alias for lseek64. (_fstat64): New alias for fseek64. (mknod32): New function. (mknod): Calls mknod32 now. * winsup.h: Make function declarations for getuid32, geteuid32, and getpwuid32 accessible for plain C sources. Add declarations for getegid32 and getpwnam. * include/cygwin/version.h: Bum API minor number to 78. * include/sys/cygwin.h: Guard C++ specific members of struct per_process against inclusion in plain C sources. * include/sys/mman.h (mman): Add guard to avoid type clash when compiling Cygwin.
* * libc/include/pwd.h: Add guards to avoid type clashes when compilingCorinna Vinschen2003-03-095-2/+32
| | | | | | | Cygwin. * libc/include/sys/stat.h: Ditto. * libc/include/sys/unistd.h: Ditto. * libc/sys/cygwin/sys/dirent.h: Ditto.
* fix typoChristopher Faylor2003-03-091-1/+1
|
* * include/cygwin/version.h: Bump DLL minor number to 21.Christopher Faylor2003-03-092-1/+5
|
* whitespace cleanupChristopher Faylor2003-03-0915-56/+55
|
* Do some minor reformatting of 'extern "C"' use throughout.Christopher Faylor2003-03-0913-111/+511
| | | | | | | | | | | | | * autoload.cc (GetSystemTimes): Define new autoload function. * fhandler_proc.cc (proc_listing): Add cpuinfo and partitions entries. (fhandler_proc::fill_filebuf): Add PROC_CPUINFO and PROC_PARTITIONS cases. (format_proc_uptime): Use GetSystemTimes if available. (read_value): New macro. (print): New macro. (cpuid): New function. (can_set_flag): New function. (format_proc_cpuinfo): New function. (format_proc_partitions): New function.
* * winsup.api/winsup.exp: Use -nostdinc when compiling.Christopher Faylor2003-03-092-0/+10
| | | | | * Makefile.in: Specifically search compiler include directory since it is now stripped via -nostdinc.
* .Christopher Faylor2003-03-091-1/+1
|
* * Makefile.common: Avoid double slashes in GCC_INCLUDE.Christopher Faylor2003-03-092-1/+5
|
* * getfacl.c (username): Fix ambiguous printf calls.Corinna Vinschen2003-03-092-6/+12
| | | | | (groupname): Ditto. (main): Ditto.
* * configure.in (gxx_include_dir): Fix typo.DJ Delorie2003-03-093-11/+35
| | | | * configure: Regenerated.
* * syscalls.cc (unlink): Attempt to be more clever about setting attributes ofChristopher Faylor2003-03-092-12/+30
| | | | | file. Only open file in query mode to avoid having to mess with security stuff for reading.
* * winsup.api/ltp/fork10.c (main): Remove non-portable declarationCorinna Vinschen2003-03-092-1/+5
| | | | of lseek.
* * rmsym: Fix regular expression.Corinna Vinschen2003-03-092-2/+6
|
* * Makefile.in: Use "cygwin0" rather than "new-cygwin" to denote in-build-treeChristopher Faylor2003-03-095-7/+14
| | | | | | version of library or dll. * config/default.exp: Ditto. * winsup.api/winsup.exp: Ditto.
* * Makefile.in: Change from using new-* to cygwin0 for temporary targets.Christopher Faylor2003-03-092-10/+16
|
* * include/cygwin/socket.h: Set SOMAXCONN to Winsock2 value.Corinna Vinschen2003-03-092-1/+5
|
* * syscalls.cc (unlink): Always attempt to use FILE_FLAG_CLOSE_ON_DELETE toChristopher Faylor2003-03-092-57/+29
| | | | | | delete files since this allows us to preserve the protection of hard linked files. (link): Generate full path for potentially recalculated .lnk target.
* missed in last checkinChristopher Faylor2003-03-081-1/+1
|
* Revert below changes regarding _pinfo::cmdline.Christopher Faylor2003-03-085-19/+17
|
* * 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.