]>
sourceware.org Git - newlib-cygwin.git/log
Alexandre Oliva [Tue, 22 Jul 2003 19:03:26 +0000 (19:03 +0000)]
* Makefile.tpl (all-make): Depend on intl.
* Makefile.in: Rebuilt.
Corinna Vinschen [Mon, 21 Jul 2003 13:06:49 +0000 (13:06 +0000)]
* mmap.cc: Use proper format specifiers for _off64_t and size_t in
format strings passed to syscall_printf () and debug_printf ()
throughout.
Christopher Faylor [Fri, 18 Jul 2003 16:40:59 +0000 (16:40 +0000)]
* Makefile.common (CFLAGS_COMMON): Remove -march=i386.
Danny Smith [Fri, 18 Jul 2003 10:21:01 +0000 (10:21 +0000)]
* include/winnt.h (FILE_*): Sync with ddk/winddk.h.
* include/winioctl.h (FILE_*): Sync with ddk/winddk.h.
Pierre Humblet [Fri, 18 Jul 2003 02:14:42 +0000 (02:14 +0000)]
2003-07-18 Pierre Humblet <pierre.humblet@ieee.org>
* security.cc (verify_token): Fix white space and style.
Use type bool instead of BOOL and char. Use alloca
instead of malloc and free for my_grps.
Nick Clifton [Thu, 17 Jul 2003 14:37:17 +0000 (14:37 +0000)]
(IMAGE_FILE_NET_RUN_FROM_SWAP): Define.
(IMAGE_FILE_MACHINE_WCEMIPSV2): Define.
(IMAGE_FILE_MACHINE_SH3DSP): Define.
(IMAGE_FILE_MACHINE_SH3E): Define.
(IMAGE_FILE_MACHINE_SH5): Define.
(IMAGE_FILE_MACHINE_AM33): Define.
(IMAGE_FILE_MACHINE_POWERPCFP): Define.
(IMAGE_FILE_MACHINE_AXP64): Define.
(IMAGE_FILE_MACHINE_TRICORE): Define.
(IMAGE_FILE_MACHINE_CEF): Define.
(IMAGE_FILE_MACHINE_EBC): Define.
(IMAGE_FILE_MACHINE_AMD64): Define.
(IMAGE_FILE_MACHINE_M32R): Define.
(IMAGE_FILE_MACHINE_CEE): Define.
Danny Smith [Thu, 17 Jul 2003 08:23:06 +0000 (08:23 +0000)]
2003-07-17 Pierre Humblet <pierre.humblet@ieee.org>
* include/mmsystem.h (TIME_KILL_SYNCHRONOUS): Add define.
Corinna Vinschen [Thu, 17 Jul 2003 07:35:16 +0000 (07:35 +0000)]
* sysconf.cc (sysconf): Fix OPEN_MAX patch. Return page size on
_SC_PAGESIZE again.
Christopher Faylor [Thu, 17 Jul 2003 05:27:03 +0000 (05:27 +0000)]
update copyright
Danny Smith [Wed, 16 Jul 2003 21:49:02 +0000 (21:49 +0000)]
Clean up warnings in ddk.
* include/ddk/atm.h (_ATM_AAL_OOB_INFO): Add _ANONYMOUS_UNION,
conditional on __cplusplus.
* include/ddk/scsi.h: Add _ANONYMOUS_UNION and _ANONYMOUS_STRUCT
defines, throughout.
(_CDB): Add _ANONYMOUS_UNION, conditional on __cplusplus.
* include/ddk/cfg.h (_PNP_VETO_TYPE): Remove extra comma.
* include/ddk/cfgmgr32.h: Change C++ comment style to ISO C.
* include/ddk/ddkmapi.h (_DDLOCKOUT): Add _ANONYMOUS_UNION defines.
* include/ddk/hidpi.h: Add _ANONYMOUS_UNION and _ANONYMOUS_STRUCT
defines, throughout.
* include/ddk/ndis.h: Add _ANONYMOUS_UNION and _ANONYMOUS_STRUCT
defines, throughout. Remove trailing semicolon from *_S 'structure'
macro expansion, throughout. Remove trailing semicolon from
DECLARE_UNKNOWN_STRUCT macro expansion.
* include/ddk/ndiswan.h (_NDIS_WAN_COMPRESS_INFO): Add
_ANONYMOUS_UNION.
* include/ddk/ntapi.h (_PROCESS_DEVICEMAP_INFORMATION,
_PROCESS_SESSION_INFORMATION): Add _ANONYMOUS_UNION.
* include/ddk/ntddcdrm.h (CDROM_TOC_CD_TEXT_DATA_BLOCK):
Add _ANONYMOUS_UNION.
* include/ddk/ntdddisk.h: Add _ANONYMOUS_UNION, throughout.
* include/ddk/ntddmou.h: Add _ANONYMOUS_UNION, throughout.
* include/ddk/ntifs.h: Add _ANONYMOUS_UNION, throughout.
(ZwQueryObject): Change 2nd param to OBJECT_INFORMATION_CLASS, to
match proto in ntapi.h.
(ZwSetInformationObject): Likewise.
* include/ddk/srb.h (SCSI_REQUEST_BLOCK): Add _ANONYMOUS_UNION.
(SCSI_ADAPTER_CONTROL_TYPE): Add __extension__.
* include/ddk/tdikrnl.h (TDI20_CLIENT_INTERFACE_INFO): Add
_ANONYMOUS_UNION and _ANONYMOUS_STRUCT.
* include/ddk/usb.h (USB): Add _ANONYMOUS_UNION.
* include/ddk/usbcamdi.h (USBCAMD_CamControlFlags): Remove
last comma.
* include/ddk/video.h (STATUS_BLOCK): Add _ANONYMOUS_UNION.
* include/ddk/winddk.h (DECLARE_INTERNAL_OBJECT): Remove
trailing semicolon when expanding macro.
(GENERAL_LOOKASIDE_S): Likewise.
Add _ANONYMOUS_UNION and _ANONYMOUS_STRUCT, throughout.
Change inline to __inline, throughout.
* include/ddk/winnt4.h: Change inline to __inline, throughout.
Nathanael Nerode [Wed, 16 Jul 2003 06:35:35 +0000 (06:35 +0000)]
* config.if: Remove unused libc_interface determination.
Christopher Faylor [Wed, 16 Jul 2003 02:12:00 +0000 (02:12 +0000)]
* pathnames.sgml: Use correct registry key. Clarify '@' operation.
* ntsec.sgml: Reword references to "ntsec patch".
Richard Sandiford [Tue, 15 Jul 2003 07:50:34 +0000 (07:50 +0000)]
include/opcode/
* mips.h (CPU_RM7000): New macro.
(OPCODE_IS_MEMBER): Match CPU_RM7000 against 4650 insns.
bfd/
* archures.c (bfd_mach_mips7000): New.
* bfd-in2.h: Regenerated.
* cpu-mips.c (arch_info_struct): Add an entry for mips:7000.
* elfxx-mips.c (mips_set_isa_flags): Handle bfd_mach_mips7000.
(mips_mach_extensions): Add an entry for it.
opcodes/
* mips-dis.c (mips_arch_choices): Add rm7000 and rm9000 entries.
gas/
* config/tc-mips.c (hilo_interlocks): True for CPU_RM7000.
(mips_cpu_info_table): Add rm7000 and rm9000 entries.
gas/testsuite/
* gas/mips/rm7000.[sd]: New test.
* gas/mips/mips.exp: Run it.
Jason Eckhardt [Tue, 15 Jul 2003 01:15:08 +0000 (01:15 +0000)]
2003-07-14 Christian Groessler <chris@groessler.org>
* i860.h (AOUTSZ): Define properly for i860 coff.
Nathanael Nerode [Mon, 14 Jul 2003 23:50:30 +0000 (23:50 +0000)]
* Makefile.in: Regenerate, correctly this time.
Zack Weinberg [Mon, 14 Jul 2003 18:38:36 +0000 (18:38 +0000)]
Import from gcc repository:
2003-07-07 Zack Weinberg <zack@codesourcery.com>
* gettext.m4: Delete all former contents.
(ZW_GNU_GETTEXT_SISTER_DIR): New macro.
* progtest.m4: New file.
2003-07-04 Zack Weinberg <zack@codesourcery.com>
* gettext.m4: New file - copy of gettext.m4 from binutils
Corinna Vinschen [Mon, 14 Jul 2003 17:04:21 +0000 (17:04 +0000)]
* cygheap.h (class cygheap_user): Use INVALID_HANDLE_VALUE as invalid
value for tokens.
* syscalls.cc (seteuid32): Ditto. Set new_token to process token if
process token is suitable.
* uinfo.cc (uinfo_init): Initialize tokens in cygheap user info
to INVALID_HANDLE_VALUE.
* cygheap.h (enum impersonation): Delete.
(cygheap_user::impersonation_state): Delete.
(cygheap_user::current_token): New.
(cygheap_user::issetuid): Modify to use current_token.
(cygheap_user::token): Ditto.
(cygheap_user::deimpersonate): Ditto.
(cygheap_user::reimpersonate): Ditto.
(cygheap_user::has_impersonation_tokens): Ditto.
(cygheap_user::close_impersonation_tokens): Ditto.
* security.cc (cygwin_set_impersonation_token): Always set the token.
(verify_token): Change type of gsid to cygpsid.
(get_file_attribute): Use the effective ids.
* syscalls.cc (seteuid32): Modify to use cygheap_user::current_token.
* uinfo.cc (uinfo_init) Do not set cygheap->user.impersonation_state.
Thomas Fitzsimmons [Mon, 14 Jul 2003 15:27:04 +0000 (15:27 +0000)]
2003-07-14 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
* m32r/configure.in: fixed bug to delete ../config-ml.in.
Nathanael Nerode [Sun, 13 Jul 2003 20:49:42 +0000 (20:49 +0000)]
* Makefile.tpl: Set INSTALL and friends using autoconf. Remove
unused INSTALL_PROGRAM_ARGS.
* configure.in: Use AC_PROG_INSTALL.
* Makefile.in: Regenerate.
* configure: Regenerate.
Danny Smith [Sun, 13 Jul 2003 03:41:46 +0000 (03:41 +0000)]
2003-07-13 Casper S. Hornstrup <chorns@users.sourceforge.net>
* include/ddk/ntifs.h (KeInsertQueueApc): Make return type
BOOLEAN. Name parameter 4 PriorityBoost and make it of type
KPRIORITY.
* include/ddk/winddk.h (_KPCR): Put IDT field on next line.
* include/ddk/winddk.h (_IO_STATUS_BLOCK, _IRP, _OWNER_ENTRY,
_ERESOURCE, _IMAGE_INFO, _CREATE_DISK, _DISK_SIGNATURE, _KPCR_TIB):
Apply _ANONYMOUS_UNION to anonymous unions and _ANONYMOUS_STRUCT
to anonymous structs.
Christopher Faylor [Sat, 12 Jul 2003 21:37:07 +0000 (21:37 +0000)]
* pinfo.cc (_pinfo::commune_send): Fix bounds test so that poll of
communicating pid actually stops eventually.
Danny Smith [Sat, 12 Jul 2003 09:26:43 +0000 (09:26 +0000)]
* include/winnt.h (PVOID): Move to before HANDLE typedef.
* include/winuser.h (mouse_event): Correct type of fifth param,
Thanks to: Andrew Jones <guln at users dot sourceforge dot net>
Earnie Boyd [Fri, 11 Jul 2003 11:56:00 +0000 (11:56 +0000)]
* include/winnt.h (HANDLE): Define based on STRICT filter.
(THREAD_BASE_PRIORITY_MIN): Use parens around negative value.
(THREAD_BASE_PRIOIRTY_IDLE): Ditto.
Christopher Faylor [Fri, 11 Jul 2003 00:54:46 +0000 (00:54 +0000)]
* path.cc (get_device_number): Remove special com? consideration.
(special_chars): Make static.
(special_introducers): New.
(special_char): Allow specified valid_chars args.
(fnunmunge): Handle aux-like filenames correctly.
(special_name): Add con, conin$, conout$.
(mount_item::fnmunge): Use __small_sprintf return value to calculate
increments.
Alexandre Oliva [Thu, 10 Jul 2003 19:04:43 +0000 (19:04 +0000)]
2000-04-27 Alexandre Oliva <aoliva@cygnus.com>
* libc/include/machine/setjmp.h (_JBLEN, AM33/2.0): Set to 26.
* libc/machine/mn10300/setjmp.S (setjmp, longjmp): Save and
restore callee-saved FP registers.
Alexandre Oliva [Thu, 10 Jul 2003 19:04:33 +0000 (19:04 +0000)]
2001-10-30 Jeff Johnston <jjohnstn@redhat.com>
* mn10300/asb2305.ld: Added ASB2305 support.
* mn10300/configure: Ditto.
* mn10300/configure.in: Ditto.
2001-09-12 Stan Cox <scox@redhat.com>
* mn10300/asb2303.ld: New file. Linker script for the ASB2303
AM33/2.00 board.
* mn10300/configure.in: Add support for asb2303 board script.
Joern Rennecke [Thu, 10 Jul 2003 15:31:30 +0000 (15:31 +0000)]
* libc/include/sys/unistd.h (ftruncate, truncate): Also declare
for __sh__.
* libc/sys/sh/Makefile.am (lib_a_SOURCES): Add ftruncate.c and
truncate.c.
* libc/sys/sh/Makefile.in: Regenerate.
* libc/sys/sh/sys/syscall.h: (SYS_truncate, SYS_ftruncate): Define.
* libc/sys/sh/ftruncate.c: New file.
* libc/sys/sh/truncate.c: Likewise.
Bob Wilson [Thu, 10 Jul 2003 05:11:16 +0000 (05:11 +0000)]
* xtensa-config.h: Undef all macros before defining them.
Alexandre Oliva [Thu, 10 Jul 2003 05:04:25 +0000 (05:04 +0000)]
* configure: Rebuilt.
2001-09-26 Alexandre Oliva <aoliva@redhat.com>
* configure.in (noconfigdirs) [am33_2.0-*-linux*]: Don't build
newlib nor libgloss.
Wed May 9 10:07:19 2001 Alexandre Oliva <aoliva@redhat.com>
* configure.in (am33_2.0-*-linux*): Added.
Bob Wilson [Thu, 10 Jul 2003 05:00:47 +0000 (05:00 +0000)]
* configure.in: Add ${libgcj} to noconfigdirs for xtensa-*-* targets.
* configure: Regenerate.
Alexandre Oliva [Thu, 10 Jul 2003 03:19:40 +0000 (03:19 +0000)]
2001-05-16 Alexandre Oliva <aoliva@redhat.com>
* mn10300.h: Introduce GOTPC16, GOTOFF24, GOTOFF16 and
PLT16, and rename GOTPC to GOTPC32 and GOTOFF to GOTOFF32.
Renumbered all relocs.
2001-04-12 Alexandre Oliva <aoliva@redhat.com>
* mn10300.h (R_MN10300_GOTPC, R_MN10300_GOTOFF,
R_MN10300_PLT32, R_MN10300_GOT32, R_MN10300_GOT24,
R_MN10300_GOT16, R_MN10300_COPY, R_MN10300_GLOB_DAT,
R_MN10300_JMP_SLOT, R_MN10300_RELATIVE): New relocs.
Alexandre Oliva [Thu, 10 Jul 2003 02:49:07 +0000 (02:49 +0000)]
2000-04-01 Alexandre Oliva <aoliva@cygnus.com>
* mn10300.h (AM33_2): Renamed from AM33.
2000-03-31 Alexandre Oliva <aoliva@cygnus.com>
* mn10300.h (AM332, FMT_D3): Defined.
(MN10300_OPERAND_FSREG, MN10300_OPERAND_FDREG): Likewise.
(MN10300_OPERAND_FPCR): Likewise.
Alexandre Oliva [Thu, 10 Jul 2003 02:49:00 +0000 (02:49 +0000)]
2000-04-01 Alexandre Oliva <aoliva@cygnus.com>
* mn10300.h (E_MN10300_MACH_AM33_2): Renamed from
E_MN10300_MACH_AM332.
2000-03-31 Alexandre Oliva <aoliva@cygnus.com>
* mn10300.h (E_MN10300_MACH_AM332): Defined.
Christopher Faylor [Thu, 10 Jul 2003 02:33:27 +0000 (02:33 +0000)]
* include/cygwin/version.h: Bump DLL minor number to 1.
Christopher Faylor [Thu, 10 Jul 2003 02:09:24 +0000 (02:09 +0000)]
* fhandler_proc.cc (format_proc_stat): Use correctly sized constants for
filling in zeros on 98.
Christopher Faylor [Thu, 10 Jul 2003 01:58:39 +0000 (01:58 +0000)]
* include/cygwin/version.h: Bump DLL minor number to 1.
Christopher Faylor [Thu, 10 Jul 2003 01:09:24 +0000 (01:09 +0000)]
* fhandler_proc.cc (fhandler_proc::fill_filebuf): Allocate more space for stat
buffer.
(format_proc_stat): Reorganize to accumulate and report on all cpus.
Christopher Faylor [Wed, 9 Jul 2003 23:59:47 +0000 (23:59 +0000)]
* sysconf.cc (sysconf): Return processors online rather than bitmask for
_SC_NPROCESSORS_ONLN.
Alexandre Oliva [Wed, 9 Jul 2003 17:52:31 +0000 (17:52 +0000)]
* libc/include/math.h (nan, nanf): Update prototype to C99.
* libm/common/s_nan.c (nan): Likewise.
* libm/common/s_nanf.c (nanf, nan): Likewise.
* libc/sys/linux/cmath/math_private.h (nan, nanf): Likewise.
Christopher Faylor [Wed, 9 Jul 2003 01:33:06 +0000 (01:33 +0000)]
* cygheap.cc (creturn): Set appropriate errno when out of memory.
(ccalloc): Only issue system_printf when debugging.
* dtable.cc (dtable::extend): Only allocate 100 * the incremental growth size
max. Set errno appropriately.
(dtable::build_fhandler): Check for error from set_name.
* fhandler.cc (fhandler_base::set_name): Set errno and return error on OOM.
* fhandler.h (fhandler_base::set_name): Change to bool.
* fhandler_process.cc (format_process_stat): Fix formatting.
* resource.cc (getrlimit): Return greater of OPEN_MAX or fd table size.
* sysconf.cc (sysconf): Ditto.
Jeff Johnston [Tue, 8 Jul 2003 17:46:10 +0000 (17:46 +0000)]
Refer to full name in latest ChangeLog entry.
Jeff Johnston [Tue, 8 Jul 2003 16:06:09 +0000 (16:06 +0000)]
2003-07-08 Jeff Johnston <jjohnstn@redhat.com>
* configure.in: Reapply Inaoko's multilib patch from
04-17-03.
* configure: Regenerated.
Danny Smith [Tue, 8 Jul 2003 11:11:58 +0000 (11:11 +0000)]
* include/commctrl.h (NMTVDISPINFO[AW]): Replace obsolete struct
names _TV_DISPINFO[AW] and typedefs. Add defines for backward
compatability. Thanks to Magnus Olsen <greatlord@users.sf.net>
for report.
Jeff Johnston [Mon, 7 Jul 2003 22:31:08 +0000 (22:31 +0000)]
2003-07-07 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/stdbool.h: Removed as this is defined by gcc.
Christopher Faylor [Mon, 7 Jul 2003 05:32:24 +0000 (05:32 +0000)]
* rmsym: Don't use ranlib.
Christopher Faylor [Mon, 7 Jul 2003 05:30:33 +0000 (05:30 +0000)]
* newsym: Reenable removal of tmp directory. Just use ar to generate archive
index.
* Makefile.in: Don't send ranlib to newsym.
Christopher Faylor [Mon, 7 Jul 2003 05:23:35 +0000 (05:23 +0000)]
* newsym: Create objects that are closer to those created by dlltool so as not
to confuse --export-all-symbols.
* rmsym: Be a little more accepting of object filenames now that dlltool can
create different format files.
Christopher Faylor [Mon, 7 Jul 2003 00:14:58 +0000 (00:14 +0000)]
* newsym: Oops. Revert below change.
Christopher Faylor [Sun, 6 Jul 2003 23:24:13 +0000 (23:24 +0000)]
* newsym: Use correct prefix for generating imports.
* pinfo.cc (_pinfo::commune_send): Don't wait forever for a response from
another process.
Christopher Faylor [Sun, 6 Jul 2003 21:45:21 +0000 (21:45 +0000)]
update copyright
H.J. Lu [Sun, 6 Jul 2003 21:44:55 +0000 (21:44 +0000)]
2003-07-06 H.J. Lu <hongjiu.lu@intel.com>
* demangle.h: Support C++.
Christopher Faylor [Sun, 6 Jul 2003 21:40:38 +0000 (21:40 +0000)]
* winsup.api/known_bugs.tcl: Remove gethostid01 from list of known bugs.
H.J. Lu [Sun, 6 Jul 2003 21:38:00 +0000 (21:38 +0000)]
2003-07-06 H.J. Lu <hongjiu.lu@intel.com>
* config-ml.in: Replace PWD with PWD_COMMAND.
* Makefile.tpl: Likewise.
* Makefile.in: Regenerated.
Christopher Faylor [Sun, 6 Jul 2003 20:13:48 +0000 (20:13 +0000)]
white space
Christopher Faylor [Sun, 6 Jul 2003 20:08:42 +0000 (20:08 +0000)]
* syscalls.cc (gethostid): Set thread affinity so that results are predictable.
Christopher Faylor [Sun, 6 Jul 2003 19:25:40 +0000 (19:25 +0000)]
* Makefile.in: Remove .dat files when cleaning.
Christopher Faylor [Sun, 6 Jul 2003 19:24:31 +0000 (19:24 +0000)]
* Makefile.in: Remove .d files when cleaning.
Corinna Vinschen [Sat, 5 Jul 2003 18:59:35 +0000 (18:59 +0000)]
* mmap.cc (list::match): Add parameters to return valid address and
length back to munmap(). Evaluate intersection between given
area and mapped area and return it, if any.
(mmap64): On regular files, don't allow mappings beginning beyond
EOF. Return with errno set to ENXIO instead.
(munmap): Rewrite SUSv3 conformant. Check if given memory area is
valid. Unmap all maps inside given memory area. Don't return error
if no mapping has been unmapped.
Corinna Vinschen [Sat, 5 Jul 2003 18:20:13 +0000 (18:20 +0000)]
* fhandler.h (fhandler_socket::get_connect_state): New method to
return socket connection state.
* fhandler_socket.cc (dup): Copy socket connect state to new file
handle.
* net.cc (cygwin_rcmd): Mark file handles of sockets returned by
rcmd() as CONNECTED state.
(cygwin_rexec): Similarly for rexec().
(socketpair): Mark both ends of a new socket pair as CONNECTED.
Zack Weinberg [Sat, 5 Jul 2003 16:54:46 +0000 (16:54 +0000)]
Clean up white space
Christopher Faylor [Fri, 4 Jul 2003 17:37:59 +0000 (17:37 +0000)]
fix typo
Corinna Vinschen [Fri, 4 Jul 2003 09:06:54 +0000 (09:06 +0000)]
* mmap.cc (fhandler_disk_file::mmap): Fix address test.
Christopher Faylor [Fri, 4 Jul 2003 03:20:22 +0000 (03:20 +0000)]
* mount.cc (struct opt): Remove posix option.
Christopher Faylor [Fri, 4 Jul 2003 03:11:18 +0000 (03:11 +0000)]
* mount.cc (longopts): Add long "options" keyword.
(opts): Add -o option.
(usage): Display -o option.
(struct opt): New.
(concat3): New function.
(main): Handle -o flag.
Christopher Faylor [Fri, 4 Jul 2003 03:08:26 +0000 (03:08 +0000)]
* path.cc (fillout_mntent): Change "posix" to "managed".
Christopher Faylor [Fri, 4 Jul 2003 03:07:01 +0000 (03:07 +0000)]
* fhandler.h (FH_ENC): New enum.
(fhandler_base::get_encoded): New function.
(fhandler_base::set_encoded): Ditto.
* fhandler_disk_file.cc (fhandler_disk_file::opendir): Set encoded flag in
fhandler, as appropriate.
(fhandler_disk_file::readdir): Unmunge filename as appropriate based on new
encoding flag.
* path.cc (normalize_posix_path): Don't punt on files with colons.
(special_char): New function.
(mount_item::fnmunge): Ditto.
(fnunmunge): Ditto.
(special_name): Ditto.
(mount_item::build_win32): Avoid drive considerations when file is encoded.
(mount_info::conv_to_win32_path): Handle encoded filenames.
(mount_info::conv_to_posix_path): Ditto.
(fillout_mntent): Add posix string when directory is encoded.
* path.h (fnunmunge): Declare.
(path_conv::is_encoded): Declare.
Christopher Faylor [Fri, 4 Jul 2003 01:58:24 +0000 (01:58 +0000)]
ntsec patch
Christopher Faylor [Thu, 3 Jul 2003 21:22:17 +0000 (21:22 +0000)]
* fhandler_tty.cc (fhandler_tty_slave::open): Conditionalize a little more of
the cygserver stuff so that ttys actually work.
Corinna Vinschen [Thu, 3 Jul 2003 20:53:26 +0000 (20:53 +0000)]
* mmap.cc (mmap64): Allow MAP_FIXED with pagesize granularity (4K).
If a non-zero addr is given, align it to the next lower 64K boundary.
(fhandler_disk_file::mmap): If a non-zero address is given, try
mapping using the given address first. If it fails and flags is not
MAP_FIXED, try again with NULL address.
Jeff Johnston [Thu, 3 Jul 2003 17:11:08 +0000 (17:11 +0000)]
2003-07-03 Shaun Jackman <sjackman@pathwayconnect.com>
* libc/include/stdbool.h: New header file defined by C99.
Earnie Boyd [Thu, 3 Jul 2003 15:17:14 +0000 (15:17 +0000)]
* config.guess, config.sub: Update with new versions from ftp.gnu.org.
Earnie Boyd [Thu, 3 Jul 2003 15:15:56 +0000 (15:15 +0000)]
* config.guess, config.sub: Update with versions from ftp.gnu.org.
Danny Smith [Thu, 3 Jul 2003 11:24:18 +0000 (11:24 +0000)]
* mingwex/math/trunc.c (trunc): Provide lvalue for memory input constraint.
* mingwex/math/truncf.c (truncf): Likewise.
* mingwex/math/truncl.c (truncl): Likewise.
* mingwex/math/modff.c (modff): Likewise.
* mingwex/math/modfl.c (modfl): Likewise.
Danny Smith [Thu, 3 Jul 2003 07:50:53 +0000 (07:50 +0000)]
* include/search.h: New file.
* include/stdlib.h: Add comment about qsort, bsearch in
search.h.
* test_headers.c: Include search.h.
* moldname.def.in (lfind, lsearch): Add.
Luke Dunstan [Thu, 3 Jul 2003 02:19:01 +0000 (02:19 +0000)]
* include/commdlg.h (CommDlg_OpenSave_*): Add parentheses around
macro arguments. Thanks to Tom Bishop <tombishop@users.sf.net>.
* include/winuser.h (MONITOR_DEFAULTTONULL, MONITOR_DEFAULTTOPRIMARY,
MONITOR_DEFAULTTONEAREST, MONITORINFOF_PRIMARY): Add defines.
(TPM_RECURSE): Add guard for Win98/Win2K.
Thanks to Magnus Olsen <greatlord@users.sf.net>.
Danny Smith [Wed, 2 Jul 2003 22:09:25 +0000 (22:09 +0000)]
* include/process.h (_execv, _execvp, _spawnv, _spawnvp, _execve,
_execvpe, _spawnve, _spawnvpe, execv, execvp, spawnv, spawnvp,
execve, execvpe, spawnve, spawnvpe): Const-ify all the char params.
Jeff Johnston [Wed, 2 Jul 2003 20:32:07 +0000 (20:32 +0000)]
2003-07-02 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/sys/types.h (int8_t): Make signed.
Jeff Johnston [Wed, 2 Jul 2003 17:34:20 +0000 (17:34 +0000)]
2003-07-02 Jeff Johnston <jjohnstn@redhat.com>
* libc/sys/linux/include/mqueue.h: Add include of <sys/fcntl.h>.
Christopher Faylor [Wed, 2 Jul 2003 03:50:05 +0000 (03:50 +0000)]
* thread.cc: Remove _MT_SAFE conditional.
Christopher Faylor [Wed, 2 Jul 2003 03:33:01 +0000 (03:33 +0000)]
* configure.in: Add --enable-server option.
* configure: Regenerate.
Christopher Faylor [Wed, 2 Jul 2003 03:32:04 +0000 (03:32 +0000)]
fix typo
Christopher Faylor [Wed, 2 Jul 2003 03:29:40 +0000 (03:29 +0000)]
* configure.in: Fix --enable-server option.
Christopher Faylor [Wed, 2 Jul 2003 03:16:00 +0000 (03:16 +0000)]
* Makefile.in: Remove cygserver stuff.
* acconfig.h: Add USE_CYGSERVER define.
* config.h.in: Regenerate.
* configure.in: Add --enable-server setting.
* configure: Regenerate.
* fhandler_tty.cc (fhandler_tty_slave::open): Conditionalize compilation of
cygserver stuff.
* fork.cc (fork_child): Ditto.
* shm.cc: Ditto.
* tty.cc (tty::common_init): Ditto.
* dcrt0.cc: Use bool rather than BOOL for CYGWIN environment variable
definitions.
* environ.cc: Ditto.
* ntea.cc: Ditto.
* security.cc: Ditto.
* security.h: Ditto.
* syscalls.cc (check_posix_perm): Remove externs that were already declared in
a header.
* winsup.h: Ditto. Declare _MT_SAFE here. Delete it someday since cygwin
should always be _MT_SAFE.
Christopher Faylor [Wed, 2 Jul 2003 02:31:32 +0000 (02:31 +0000)]
* Makefile.in (OBJS): Move some more files from cygwin directory.
* woutsup.h: Define _MT_SAFE.
Christopher Faylor [Wed, 2 Jul 2003 02:30:16 +0000 (02:30 +0000)]
* Makefile.common (CFLAGS_COMMON): Remove -Winline since it is too noisy on
newer versions of gcc.
Earnie Boyd [Tue, 1 Jul 2003 23:37:00 +0000 (23:37 +0000)]
* include/basetyps.h (small, hyper): Change to __small and __hyper to
avoid user namespace conflicts.
Earnie Boyd [Tue, 1 Jul 2003 23:34:36 +0000 (23:34 +0000)]
* include/_mingw.h (small, hyper): Change to __small and __hyper to
avoid user space name conflicts.
DJ Delorie [Tue, 1 Jul 2003 21:17:41 +0000 (21:17 +0000)]
merge from gcc
Christopher Faylor [Tue, 1 Jul 2003 21:09:39 +0000 (21:09 +0000)]
first checkin
Christopher Faylor [Tue, 1 Jul 2003 21:09:30 +0000 (21:09 +0000)]
First checkins.
Christopher Faylor [Tue, 1 Jul 2003 20:51:03 +0000 (20:51 +0000)]
* configure.in: Add cygserver subdir.
* Makefile.in: Ditto.
* configure: Regenerate.
* Makefile.common: Remove debugging statements.
Martin Schwidefsky [Tue, 1 Jul 2003 14:46:57 +0000 (14:46 +0000)]
* s390.h (s390_opcode_cpu_val): Add enum for cpu type z990.
Martin Schwidefsky [Tue, 1 Jul 2003 14:46:26 +0000 (14:46 +0000)]
* s390.h (elf_s390_reloc_type): Add long displacement relocations
R_390_20, R_390_GOT20, R_390_GOTPLT20 and R_390_TLS_GOTIE20.
Earnie Boyd [Tue, 1 Jul 2003 13:55:47 +0000 (13:55 +0000)]
* mingwex/math/tgamma.c, tgammaf.c, tgammal.c (small):
Rename to Small (case difference).
Earnie Boyd [Tue, 1 Jul 2003 13:01:41 +0000 (13:01 +0000)]
Change existing guards to use the above macro names as appropriate.
* include/basetyps.h (__int32, __int16, __int8, small, hyper): Define.
Note: Also added to mingw/include/_mingw.h.
Earnie Boyd [Tue, 1 Jul 2003 12:57:53 +0000 (12:57 +0000)]
* include/_mingw.h (__int32, __int16, __int8, small, hyper): Define.
Note: Also added to w32api/include/basetyps.h.
Earnie Boyd [Tue, 1 Jul 2003 12:01:05 +0000 (12:01 +0000)]
* include/w32api.h (_NT4, _W98, _WME, _NT5, _W2000, _WXP, _W2003,
_IE3, _IE4, _IE5, _IE6): Add definitions.
* include/winbase.h (GetLongPathName[AW]): Add guard for OS >= NT5 or
>= Win98.
Change existing guards to use the above macro names as appropriate.
DJ Delorie [Tue, 1 Jul 2003 01:12:46 +0000 (01:12 +0000)]
merge from gcc
Bob Wilson [Mon, 30 Jun 2003 21:56:32 +0000 (21:56 +0000)]
* xtensa-config.h (XCHAL_HAVE_CONST16, XCHAL_HAVE_ABS,
XCHAL_HAVE_ADDX, XCHAL_HAVE_L32R): Define.
Corinna Vinschen [Mon, 30 Jun 2003 13:07:36 +0000 (13:07 +0000)]
* cygheap.h (enum impersonation): New enum.
(cygheap_user::token): Delete.
(cygheap_user::impersonated): Delete.
(cygheap_user::external_token): New member.
(cygheap_user::internal_token): New member.
(cygheap_user::impersonation_state): New member.
(cygheap_user::issetuid): Modify.
(cygheap_user::token): New method.
(cygheap_user::deimpersonate): New method.
(cygheap_user::reimpersonate): New method.
(cygheap_user::has_impersonation_tokens): New method.
(cygheap_user::close_impersonation_tokens): New method.
* dtable.cc (dtable::vfork_child_dup): Use new cygheap_user methods.
* fhandler_socket.cc (fhandler_socket::dup): Ditto.
* fork.cc (fork_child): Ditto.
(fork_parent): Ditto.
* grp.cc (internal_getgroups): Ditto.
* security.cc (verify_token): Ditto.
(check_file_access): Ditto.
(cygwin_set_impersonation_token): Detect conflicts. Set
user.external_token.
* spawn.cc (spawn_guts): Use new cygheap_user methods.
* syscalls.cc (seteuid32): Rearrange to use the two tokens
in cygheap_user.
(setegid32): Use new cygheap_user methods.
* uinfo.cc: (internal_getlogin): Ditto.
This page took 0.06857 seconds and 5 git commands to generate.