summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * utils/cygpath.cc (get_long_path_name_w32impl): Close handles returned byChristopher Faylor2007-03-312-4/+15
| | | | FindFirstFile.
* * cygwin/external.cc (cygwin_internal): Implement CW_SET_DOS_FILE_WARNING.Christopher Faylor2007-03-305-1/+21
| | | | | | * cygwin/include/sys/cygwin.h: Define CW_SET_DOS_FILE_WARNING. * utils/mount.cc (main): Turn dos file warnings off since we know what we're doing.
* 2007-03-30 Dave Korn <dave.korn@artimi.com>Dave Korn2007-03-302-2/+41
| | | | | | | | * libc/include/stdio.h (_ELIDABLE_INLINE): New macro to conceal conflicting inline semantics between C99 and GNU89. (__sgetc_r): Replace static inline with _ELIDABLE_INLINE to be compatible with -fkeep-inline-functions usage. (__sputc_r): Likewise for consistency even though disabled.
* merge from gccDJ Delorie2007-03-292-3/+9
|
* * cygheap.cc (cygheap_init): Fix formatting. Remove comment. SetCorinna Vinschen2007-03-2911-58/+111
| | | | | | | | | | | | | | | | | | | | | | | | | | shared_prefix depending only on terminal service capability. * dcrt0.cc (dll_crt0_1): Don't call set_cygwin_privileges here. * fhandler_fifo.cc (fhandler_fifo::open): Create the mutex as global object. * posix_ipc.cc (ipc_mutex_init): Use cygheap->shared_prefix. (ipc_cond_init): Ditto. * sec_helper.cc (privilege_name): Make static. Use LookupPrivilegeName directly to be independent of the state of cygheap. (set_privilege): Take a LUID as parameter instead of an index value. Only print debug output in case of failure. (set_cygwin_privileges): Add comment. Use LookupPrivilegeValue to get privilege LUIDs. (init_global_security): Call set_cygwin_privileges here. * security.h (privilege_name): Drop declaration. (set_privilege): Declare according to above change. (set_process_privilege): Call privilege_luid to get LUID. (_push_thread_privilege): Ditto. * shared.cc (open_shared): Add comment. On systems supporting the SeCreateGlobalPrivilege, try to create/open global shared memory first. Fall back to local shared memory if that fails. * thread.cc (semaphore::semaphore): Use cygheap->shared_prefix. * wincap.h (wincapc::has_create_global_privilege): New element. * wincap.cc: Implement above element throughout.
* Reflect changes made to generic vfprintf.c:Nick Clifton2007-03-292-8/+32
| | | | | | * libc/machine/powerpc/vfprintf.c (__sprint): Rename to __sprint_r and add a "struct reent *" argument. (__sbprintf): Rename to __sbprintf_r, add a "struct reent *" argument and call _VFPRINTF_R instead of VFPRINTF. (_VFPRINTF_R): Add data pointer to call to cantwrite(). Fix uses of __sprint() and __sbprintf.
* * spawn.cc (spawn_guts): Start pure-windows processes in a suspended state toChristopher Faylor2007-03-282-6/+9
| | | | avoid potential DuplicateHandle problems.
* Fix year.H.J. Lu2007-03-272-2/+2
|
* Add "make pdf" and "make install-pdf", from Brooks MosesDaniel Jacobowitz2007-03-272-0/+45
| | | | <brooks.moses@codesourcery.com>.
* 2007-03-26 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2007-03-262-6/+18
| | | | | * acx.m4 (ACX_BUGURL): Set BUGURL first. Quote $BUGURL first when setting REPORT_BUGS_TEXI.
* 2007-03-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2007-03-262-2/+6
| | | | * Include/_mingw.h: Increment version to 3.12.
* 2007-03-25 Chris Sutcliffe <ir0nh34d@users.sf.net>Chris Sutcliffe2007-03-263-3/+8
| | | | | * include/w32api.h: Increment version to 3.9. * Makefile.in: Ditto.
* 2007-03-23 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2007-03-232-1/+6
| | | | | * acx.m4 (ACX_BUGURL): Replace "@" with "@@" for REPORT_BUGS_TEXI.
* * include/psapi.h (GetMappedFileName): Fix messed up checkin.Corinna Vinschen2007-03-232-2/+6
|
* * include/psapi.h (GetMappedFileName): Rename from GetMappedFilenameEx.Corinna Vinschen2007-03-232-2/+6
|
* bfd:Joseph Myers2007-03-232-0/+42
| | | | | | | | * configure.in: Use ACX_PKGVERSION and ACX_BUGURL. * configure: Regenerate. config: * acx.m4 (ACX_PKGVERSION, ACX_BUGURL): Define.
* Move gdb ChangeLog entry to gdb/ChangeLog.H.J. Lu2007-03-221-5/+0
|
* * remote-mips.c (mips_xfer_memory): Update prototype.Maciej W. Rozycki2007-03-221-0/+5
|
* 2007-03-22 Brian Ripley <ripleybd@users.sourceforge.net>Danny Smith2007-03-222-2/+6
| | | | * include/_mingw.h (__CRT_INLINE): Make conditional on __GNUC_STDC_INLINE__
* gas/H.J. Lu2007-03-212-4/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-03-21 H.J. Lu <hongjiu.lu@intel.com> * config/tc-i386.c: Replace REX_MODE64, REX_EXTX, REX_EXTY and REX_EXTZ with REX_W, REX_R, REX_X and REX_B respectively. include/opcode/ 2003-03-21 H.J. Lu <hongjiu.lu@intel.com> * i386.h (REX_MODE64): Renamed to ... (REX_W): This. (REX_EXTX): Renamed to ... (REX_R): This. (REX_EXTY): Renamed to ... (REX_X): This. (REX_EXTZ): Renamed to ... (REX_B): This. opcodes/ 2003-03-21 H.J. Lu <hongjiu.lu@intel.com> * i386-dis.c (REX_MODE64): Remove definition. (REX_EXTX): Likewise. (REX_EXTY): Likewise. (REX_EXTZ): Likewise. (USED_REX): Use REX_OPCODE instead of 0x40. Replace REX_MODE64, REX_EXTX, REX_EXTY and REX_EXTZ with REX_W, REX_R, REX_X and REX_B respectively.
* * configure.ac (TOPLEVEL_CONFIGURE_ARGUMENTS): Fix m4 quotingRichard Sandiford2007-03-213-2/+8
| | | | | of glob. Quote arguments with single quotes too. * configure: Regenerate.
* 2003-03-20 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2007-03-212-2/+6
| | | | * Makefile.in: Tweak srcdist to fix build issue.
* Add --enable-mingw-manpage-transform configure option.Keith Marshall2007-03-205-3/+63
|
* *** empty log message ***H.J. Lu2007-03-192-0/+29
|
* * include/_mingw.h (__CRT_INLINE): Ue __gnu_inline__ for gcc 4.2.x too.Danny Smith2007-03-182-1/+5
|
* 2007-03-16 Charles Wilson <cygwin@...>Jeff Johnston2007-03-162-2/+12
| | | | | | | * libc/argz/argz_insert.c: "before" pointer is invalid after *argz realloc. Compute offset between "before" and *argz, and use it after reallocation instead.
* 2007-03-16 Eric Blake <ebb9@byu.net>Jeff Johnston2007-03-163-7/+12
| | | | | * libc/stdio64/fseek064.c (_fseeko64_r): Fix reentrancy. * libc/stdio64/freopen64.c (_freopen64_r): Ditto.
* 2007-03-15 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2007-03-158-5/+87
| | | | | | | | | | | | | | | * configure.in: Add new --enable-newlib-reent-small option. * configure: Regenerated. * acconfig.h: Add _WANT_REENT_SMALL. * newlib.hin: Regenerated minus PACKAGE macros to add _WANT_REENT_SMALL macro. * libc/include/sys/config.h[_WANT_REENT_SMALL]: Set _REENT_SMALL if not already set. * libc/stdio/fflush.c[_REENT_SMALL]: Return immediately if there is no buffer. * libc/stdio/local.h[_REENT_SMALL]: Fix CHECK_INIT macro to use reentrant pointer passed in when resetting the file pointer to one of the std streams.
* 2007-03-15 Eric Blake <ebb9@byu.net>Jeff Johnston2007-03-1517-55/+151
| | | | | | | | | | | | | | | | | | | | | | | | | | | * libc/stdio/local.h (cantwrite, FREEUB, FREELB): Make reentrant. (__smakebuf): Rename... (__smakebuf_r): to this. * libc/stdio/fvwrite.h (__swsetup_r): Rename, from __swsetup. * libc/stdio/makebuf.c (__smakebuf): Detect failed asprint allocation, then rename... (__smakebuf_r): ...to this and fix reentrancy. * libc/stdio/wsetup.c (__swsetup): Detect failed asprintf allocation, then rename... (__swsetup_r): ...to this and fix reentrancy. * libc/stdio/fseek.c (_fseek_r): Fix reentrancy. * libc/stdio/refill.c (__srefill_r): Likewise. * libc/stdio/fclose.c (_fclose_r): Likewise. * libc/stdio/fread.c (_fread_r): Likewise. * libc/stdio/freopen.c (_freopen_r): Likewise. * libc/stdio/wbuf.c (__swbuf_r): Likewise. * libc/stdio64/fseeko64.c (_fseeko64_r): Likewise. * libc/stdio/fvwrite.c (__sfvwrite_r): Set errno properly on failed asprintf allocation, and fix reentrancy. * libc/stdio/snprintf.c (snprintf, _snprintf_r): Report overflow, as required by POSIX. * libc/stdio/sniprintf.c (sniprintf, _sniprintf_r): Likewise. * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Likewise. * libc/stdio/vsniprintf.c (vsniprintf, _vsniprintf_r): Likewise.
* gas/H.J. Lu2007-03-152-1648/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-03-15 H.J. Lu <hongjiu.lu@intel.com> * Makefile.am: Run "make dep-am". * Makefile.in: Regenerated. * config/tc-i386.c: Include "opcodes/i386-opc.h" instead of "opcode/i386.h". (md_begin): Check reg_name != NULL for the last entry in i386_regtab. * config/tc-i386.h: Move many entries to opcode/i386.h and opcodes/i386-opc.h. * configure.in (need_opcodes): Set true for i386. * configure: Regenerated. include/opcode/ 2007-03-15 H.J. Lu <hongjiu.lu@intel.com> * i386.h: Add entries from config/tc-i386.h and move tables to opcodes/i386-opc.h. opcodes/ 2007-03-15 H.J. Lu <hongjiu.lu@intel.com> * Makefile.am (CFILES): Add i386-opc.c. (ALL_MACHINES): Add i386-opc.lo. Run "make dep-am". * Makefile.in: Regenerated. * configure.in: Add i386-opc.lo for bfd_i386_arch. * configure: Regenerated. * i386-dis.c: Include "opcode/i386.h". (MAXLEN): Renamed to MAX_MNEM_SIZE. Remove definition. (FWAIT_OPCODE): Remove definition. (UNIXWARE_COMPAT): Renamed to SYSV386_COMPAT. Remove definition. (MAX_OPERANDS): Remove definition. * i386-opc.c: New file. * i386-opc.h: Likewise.
* 2007-03-13 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2007-03-142-14/+19
| | | | | * i386.h (FloatDR): Removed. (i386_optab): Use FloatD and FloatD|FloatR instead of FloatDR.
* Fix typo.Corinna Vinschen2007-03-131-1/+1
|
* * include/cygwin/stat.h (S_TYPEISSHM, S_TYPEISSEM, S_TYPEISSHM):Corinna Vinschen2007-03-132-3/+8
| | | | Avoid compiler warnings.
* 2007-03-12 Eric Blake <ebb9@byu.net>Jeff Johnston2007-03-126-33/+63
| | | | | | | | | * libc/stdio/fvwrite.c (__sfvwrite_r): Fix reentrancy. * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Pass failed allocation to caller. * libc/stdio/asprintf.c (_asprintf_r, asprintf): Likewise. * libc/stdio/asiprintf.c (_asiprintf_r, asiprintf): Likewise. * libc/stdio/vasiprintf.c (vasiprintf, _vasiprintf_r): Likewise.
* 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>DJ Delorie2007-03-123-19/+116
| | | | | * Makefile.def (fixincludes): Remove unneeded "missing" lines. * Makefile.in: Regenerate
* Add manpages for dirname and basename functions.Keith Marshall2007-03-113-0/+501
|
* Make basename and dirname functions work with path namesKeith Marshall2007-03-083-79/+210
| | | | containing multibyte character strings.
* include/elf/Alan Modra2007-03-082-5/+10
| | | | | | | | | * v850.h (V850_OTHER_TDA_BYTE): Delete. (V850_OTHER_SDA, V850_OTHER_ZDA, V850_OTHER_TDA): Assign bits that don't clash with visibility bits. bfd/ * elf32-v850.c (v850_elf_link_output_symbol_hook): Clean out V850_OTHER_* bits.
* 2007-03-06 Brandon Sneed <brandon@oqo.com>Chris Sutcliffe2007-03-076-0/+117
| | | | | | | | | | | | | | | | | | | | | | | | | | * include/setupapi.h: Added SetupConfigureWmiFromInfSectionA Added SetupConfigureWmiFromInfSectionW Added SetupConfigureWmiFromInfSection define to unicode and non-unicode sections * lib/setupapi.def: Added exports for SetupConfigureWmiFromInfSectionA and W * include/winuser.h: Added PBT_APMQUERYSUSPEND Added PBT_APMQUERYSTANDBY Added PBT_APMQUERYSUSPENDFAILED Added PBT_APMQUERYSTANDBYFAILED Added PBT_APMSUSPEND Added PBT_APMSTANDBY Added PBT_APMRESUMECRITICAL Added PBT_APMRESUMESUSPEND Added PBT_APMRESUMESTANDBY Added PBT_APMBATTERYLOW Added PBT_APMPOWERSTATUSCHANGE Added PBT_APMOEMEVENT Added PBT_APMRESUMEAUTOMATIC * include/wtsapi32.h: New file * include/wingdi.h: Added DM_DISPLAYORIENTATION define for use with DMDO_* defines
* * signal.cc (handle_sigprocmask): Remove extraneous sig_dispatch_pending.Christopher Faylor2007-03-072-1/+5
|
* * fhandler_proc.cc: Fix formatting. Drop setting errno when creatingCorinna Vinschen2007-03-072-104/+217
| | | | | | | proc file content. (format_proc_uptime): Simplify. (format_proc_cpuinfo): Align more closely to output of Linux 2.6 kernel. Evaluate more data, especially for AMD CPUs.
* * configure: Regenerate.Andreas Schwab2007-03-074-66/+110
| | | | | | config/: * acx.m4 (GCC_TARGET_TOOL): Expand backquotes outside AC_MSG_RESULT.
* * common.h (ELF_ST_VISIBILITY): Comment typo fix.Alan Modra2007-03-072-2/+6
|
* merge from gccDJ Delorie2007-03-062-0/+20
|
* Fix log entry.Corinna Vinschen2007-03-061-1/+1
|
* Add accidentally missing checkins.Corinna Vinschen2007-03-063-0/+7
| | | | | * fhandler.h (fhandler_base::fstat_helper): Add creation time parameter. * glob.cc (stat32_to_stat64): Set st_birthtim to st_mtim.
* * include/cygwin/stat.h (S_TYPEISMQ): Define.Corinna Vinschen2007-03-062-0/+13
| | | | | (S_TYPEISSEM): Dttio. (S_TYPEISSHM): Ditto.
* * fhandler_mailslot.cc (fhandler_mailslot::fstat): Set new stat memberCorinna Vinschen2007-03-069-12/+43
| | | | | | | | | | | | | | | | | st_birthtim to useful value. * fhandler_process.cc (fhandler_process::fstat): Ditto. * fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Take additional parameter for creation time. Fill st_birthtim with it. Accomodate additional creation time parameter throughout. * fhandler_raw.cc (fhandler_dev_raw::fstat): Set new stat member st_birthtim to useful value. * fhandler.cc (fhandler_base::fstat): Ditto. * fhandler_registry.cc (fhandler_registry::fstat): Ditto. * include/cygwin/version.h: Bump API minor number. * include/cygwin/stat.h (struct __stat64): Replace st_spare4 with timestruc_t st_birthtim. (struct stat): Ditto if __CYGWIN_USE_BIG_TYPES__ is defined. (st_birthtime): Define if __CYGWIN_USE_BIG_TYPES__ is defined.
* 2007-03-06 Andreas Krebbel <krebbel1@de.ibm.com>Martin Schwidefsky2007-03-061-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | * opcodes/s390-opc.c (INSTR_RRE_FR, INSTR_RRF_F0FF2, INSTR_RRF_F0FR, INSTR_RRF_UUFF, INSTR_RRF_0UFF, INSTR_RRF_FFFU, INSTR_RRR_F0FF): New instruction formats added. (MASK_RRE_FR, MASK_RRF_F0FF2, MASK_RRF_F0FR, MASK_RRF_UUFF, MASK_RRF_0UFF, MASK_RRF_FFFU, MASK_RRR_F0FF): New instruction format masks added. * opcodes/s390-opc.txt (lpdfr - tgxt): Decimal floating point instructions added. * opcodes/s390-mkopc.c (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added. (main): z9-ec cpu type option added. * include/opcode/s390.h (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added. 2007-03-06 Andreas Krebbel <krebbel1@de.ibm.com> * config/tc-s390.c (md_parse_option): z9-ec option added. 2007-03-06 Andreas Krebbel <krebbel1@de.ibm.com> * gas/s390/zarch-z9-ec.d: New file. * gas/s390/zarch-z9-ec.s: New file. * gas/s390/s390.exp: Run the z9-ec testcases.
* 2007-03-05 Jan Nijtmans <nijtmans@users.sourceforge.net>Chris Sutcliffe2007-03-062-2/+7
| | | | | * include/ddeml.h (DdeCreateStringHandleA, DdeCreateStringHandleW): Switch argument to constant.