Christopher Faylor
8440f55d74
typo
2003-08-06 03:22:18 +00:00
Christopher Faylor
16f9bc1323
* Makefile.common: Hmm. Older compilers seem to need -nostdinc.
2003-08-06 02:35:33 +00:00
Christopher Faylor
c6f80f3e29
* Makefile.common: Don't send -nostdinc++ with g++.
2003-08-06 02:06:43 +00:00
Christopher Faylor
4b154cc1b3
* Makefile.in: Rework to accommodate new speclib arguments.
...
* speclib: Rework to extract everything from libcygwin.a rather than building
things from existing object files.
2003-08-06 01:40:12 +00:00
Christopher Faylor
4423d92489
* path.cc (cygdrive_getmntent): Do not skip over drives of type
...
DRIVE_REMOVABLE.
* fhandler.cc (fhandler_base::lseek): Be more paranoid when constructing
offsets from 64 bit value.
* syscalls.cc (logout): Avoid temp buffer memcpy since new scheme does not
require it.
(utmp_data): Rework as a macro which returns a pointer into a buffer.
(getutent): Use new buffer allocation mechanism to grab a utmp buffer.
(getutid): Ditto.
(pututline): Ditto.
2003-08-05 04:49:44 +00:00
Christopher Faylor
3fea2e4087
* fhandler_disk_file.cc (fhandler_cygdrive::readdir): Do not change 'errno' if
...
end of directory condition is encountered as per SUSv2.
* fhandler_proc.cc (fhandler_proc::readdir): Ditto.
* fhandler_process (fhandler_process::readdir): Ditto.
* fhandler_registry (fhandler_registry::readdir): Ditto.
2003-08-05 03:04:28 +00:00
Christopher Faylor
2f631ebc94
change default for --change-default-prefix
2003-08-05 01:06:22 +00:00
David Starks-Browning
90b3d5dcb6
New canonical location.
2003-08-04 10:40:28 +00:00
Danny Smith
5060d48ee7
* include/shlobj.h (SHELLFLAGSTATE): Add structure.
...
(SHGetInstanceExplorer): Correct return type.
(SHGetFolderPath[AW]: Likewise.
Thanks to Magnus Olsen <greatlord@sourceforge.users.net>
for report.
2003-08-03 09:09:07 +00:00
Nathanael Nerode
2a33c5f1ed
Merge from gcc:
...
2003-08-01 Matt Kraai <kraai@alumni.cmu.edu>
* Makefile.tpl (check, check-c++): Express dependencies using
dependencies rather than commands.
* Makefile.in: Regenerate.
2003-07-31 Geoffrey Keating <geoffk@apple.com>
* Makefile.tpl (libsubdir): Use gcc instead of gcc-lib.
* Makefile.in: Update.
2003-08-02 02:00:38 +00:00
Andrew Cagney
e48c382f84
2003-08-01 Andrew Cagney <cagney@redhat.com>
...
* configure.in (noconfigdirs): Do not add GDB when m32r-*-*.
* configure: Ditto.
2003-08-01 21:35:02 +00:00
Danny Smith
be21429f2f
2003-08-01 Danny Smith <dannysmith@users.sourceforge.net>
...
* lib/test.c: Include winldap.h, ntldap.h, winber.h.
2003-08-01 Filip Navara <xnavara@volny.cz>
* include/winldap.h: New file.
* include/ntldap.h: New file.
* include/winber.h: New file.
* lib/winldap32.def: New file.
2003-08-01 09:11:39 +00:00
Danny Smith
7d18037f8f
2003-08-01 Danny Smith <dannysmith@users.sourceforge.net>
...
* include/ddk/atm.h: Remove stray '.';
2003-08-01 Gisle Vanem <gvanem@broadpark.no>
* include/ddk/winddk.h; Remove trailing ';' from macro expressions,
throughout. Add () around macro expressions with cast returns,
throughout.
2003-08-01 01:06:26 +00:00
Jeff Johnston
e895fc2077
2003-07-31 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/ctype/iswalpha.c: Fix calls to __jp2uc to pass the
correct type of conversion when dealing with EUCJP or SJIS.
* libc/ctype/iswblank.c: Ditto.
* libc/ctype/iswcntrl.c: Ditto.
* libc/ctype/iswprint.c: Ditto.
* libc/ctype/iswpunct.c: Ditto.
* libc/ctype/iswspace.c: Ditto.
* libc/ctype/towlower.c: Ditto.
* libc/ctype/towupper.c: Ditto.
2003-07-31 22:24:20 +00:00
Joshua Daniel Franklin
4b8283ec80
Screwed up ChangeLog
2003-07-31 21:12:11 +00:00
Joshua Daniel Franklin
0da026c397
* effectively.sgml: New file, "Using Cygwin Effectively with Windows".
2003-07-31 21:06:55 +00:00
Nick Clifton
0302dfe509
Allocate 4 slots on stack before calling main, in case it saves its argument
...
registers.
Remove reference to deleted v850ea port.
Do not use -mv850 when building for v850e target. This prevents the ctbp
system register from being initialised.
2003-07-31 16:21:20 +00:00
Danny Smith
49c12c3f53
2003-7-31 Martin Fuchs <Martin-Fuchs@gmx.net>
...
* include/shlobj.h (SFGAO_COMPRESSED): Add define.
(SFGAOF,SHGDNF): Add typedef's.
(SHCONTF): Extend enum.
2003-07-31 10:25:56 +00:00
Danny Smith
de03e10ca5
* include/shellapi.h: Include all structs within pshpack2.h/
...
poppack.h block.
2003-07-31 05:40:39 +00:00
DJ Delorie
a16d51edf6
* configure.in: Enable libgcj for darwin.
...
* configure: Rebuild.
2003-07-30 20:12:58 +00:00
Christopher Faylor
b9621e8d94
* dcrt0.cc (_dll_crt0): Move strace.microseconds initialization to after
...
pthread initialization.
(dll_crt0_1): i.e., here.
2003-07-30 04:46:07 +00:00
Nathanael Nerode
d193a9fe57
* mkinstalldirs: Import autoconf 2.57 / automake 1.7 version.
2003-07-30 01:35:07 +00:00
Michael Snyder
4f96c36336
2003-07-18 Michael Snyder <msnyder@redhat.com>
...
* include/opcode/h8sx.h (DO_MOVA1, DO_MOVA2): Reformatting.
2003-07-29 21:05:31 +00:00
Jeff Johnston
42de559299
2003-07-29 Honda Hiroki <hhonda@ipflex.com>
...
* libc/stdio/vfprintf.c: Set output size to 1 when
we have %f format with precision 0 and # flag not specified.
2003-07-29 20:45:11 +00:00
Eric Christopher
e4bf124e03
2003-07-28 Eric Christopher <echristo@redhat.com>
...
* elf32-ppc.c (R_PPC_RELAX32): New relocation.
(ppc_elf_install_value): New function.
(ppc_elf_sort_rela): Remove.
(ppc_elf_relax_section): Rewrite. Remove old relaxation
and replace with out of range branch stubs.
(ppc_elf_relocate_section): Handle R_PPC_RELAX32.
2003-07-28 Eric Christopher <echristo@redhat.com>
* ppc.h (R_PPC_RELAX32): New. Fake relocation.
2003-07-29 06:42:51 +00:00
Alexandre Oliva
e5de27b623
* libc/machine/mn10300/setjmp.S: Never emit both .am33 and
...
.am33_2.
2003-07-29 06:11:46 +00:00
Christopher Faylor
8e2315f07d
* include/cygwin/version.h: Bump DLL minor number to 2.
2003-07-28 21:14:25 +00:00
Christopher Faylor
d2466c7aa0
* fhandler_base.cc (fhandler_base::readv): Rework to properly return number of
...
bytes from read.
2003-07-28 21:13:17 +00:00
Nathanael Nerode
df4b5a9c5a
* Makefile.tpl: Use 'mkinstalldirs' rather than 'mkdir' when
...
creating target and build subdirs to build all parent dirs as needed.
* Makefile.in: Rebuild.
* configure.in: Don't build dirs explicitly here.
* configure: Rebuild.
2003-07-28 03:27:46 +00:00
Danny Smith
e816a74f80
* include/winuser.h (ASFW_ANY, LSFW_LOCK, LSFW_UNLOCK,
...
LWA_COLORKEY, LWA_ALPHA): Guard with _WIN32_WINNT,
_WIN32_WINDOWS, not WINVER.
(AllowSetForegroundWindow,LockSetForegroundWindow,
SetLayeredWindowAttributes): Likewise.
(GetLayeredWindowAttributes,UpdateLayeredWindow): Add prototypes.
* lib/user32.def (GetLayeredWindowAttributes,UpdateLayeredWindow):
Add stubs.
2003-07-26 11:58:24 +00:00
Christopher Faylor
035df9eff5
* mount.cc (do_mount): Issue warning when using managed mount option on
...
non-empty directory.
2003-07-26 05:38:51 +00:00
Christopher Faylor
df04ae29b2
* exceptions.cc (ctrl_c_handler): Send SIGHUP when events occur only if there
...
is a tty associated with the process. Send SIGHUP on CTRL_LOGOFF_EVENT.
* fhandler_tty.cc (fhandler_tty_slave::open): Adjust console open handle
counter regardless of whether this is a pty or tty.
(fhandler_tty_slave::open): Ditto.
(fhandler_tty_slave::dup): Ditto.
(fhandler_tty_common::set_close_on_exec): Ditto.
(fhandler_tty_master::init_console): Decrement console open handle counter
after init since it will now be handled by all tty open.
* syscalls.cc (setsid): Rework debugging output slightly.
2003-07-26 04:53:59 +00:00
Christopher Faylor
ddb6762155
* configure.in: Use 'install-sh -c'.
...
* configure: Regenerate.
2003-07-26 01:53:18 +00:00
Christopher Faylor
4b2bb1425e
revert erroneous checkin
2003-07-26 01:52:52 +00:00
Christopher Faylor
c2af0de226
* Makefile.in: Only use localhost when building mingw with distcc or gcc won't
...
be able to find .exp files on other hosts.
2003-07-26 01:51:39 +00:00
Danny Smith
ffe3e7ef4f
2003-07-26 Eric R. Krause <ekrause_98@users.sourceforge.net>
...
* include/onjidl.h (IMalloc): Fix typo.
2003-07-26 01:01:03 +00:00
Christopher Faylor
8c21a4cdfb
preliminary checkin
2003-07-26 00:49:12 +00:00
Christopher Faylor
d9cbe316d5
preliminary checkin
2003-07-26 00:43:57 +00:00
Christopher Faylor
5ed664d4a6
preliminary checkin
2003-07-26 00:28:59 +00:00
Christopher Faylor
9ddd929f68
preliminary checkin
2003-07-26 00:10:48 +00:00
Christopher Faylor
7f4773b3ef
* configure.in: Always use install-sh.
...
* configure: Regenerate.
2003-07-25 23:52:30 +00:00
Christopher Faylor
5d66faab67
* include/cygwin/socket.h: Conditionalize [AP]F_INET6 define.
2003-07-25 17:57:51 +00:00
Christopher Faylor
6f8c86aec5
* Makefile.in (OBSOLETE_FUNCTION): Add fdopen.
2003-07-25 17:42:08 +00:00
Christopher Faylor
3c98a59309
* libc/stdio64/fdopen64.c: Include sys/lock.h.
2003-07-25 16:19:55 +00:00
Christopher Faylor
86ed5c8821
* cygwin.din: Export _fdopen64
...
* Makefile.in (NEW_FUNCTIONS): Add _fdopen64 -> fdopen translation.
* include/cygwin/version.h: Bump api minor number.
* ntdll.h: Remove (now) duplicate FILE_SYNCHRONOUS_IO_NONALERT definition.
2003-07-25 16:13:12 +00:00
Christopher Faylor
e222bf6748
* configure.host: Find cygwin include directory, when appropriate.
2003-07-25 16:08:00 +00:00
Christopher Faylor
035367578f
* libc/stdio64/fdopen64.c: New file.
...
* libc/stdio64/Makefile.am (LIB_OBJS): Add fdopen64.o
* libc/stdio64/Makefile.in: Regenerate.
* libc/include/stdio.h (fdopen64): Define.
* libc/include/stdio.h (_fdopen64_r): Ditto.
2003-07-25 16:06:01 +00:00
H.J. Lu
206ac17473
bfd/
...
2003-07-25 H.J. Lu <hongjiu.lu@intel.com>
* elf-bfd.h (bfd_elf_special_section): New.
(elf_backend_data): Add special_sections, a pointer to
bfd_elf_special_section.
(elf_section_type). New.
(elf_section_flags): New.
(_bfd_elf_get_sec_type_attr): New.
* elf.c (_bfd_elf_make_section_from_shdr): Always use the
real section type/flags.
(special_sections): New.
(get_special_section): New.
(_bfd_elf_get_sec_type_attr): New.
(_bfd_elf_new_section_hook): Check special_section to set
elf_section_type and elf_section_flags.
(elf_fake_sections): Don't use section name to set ELF section
data.
* elf32-m32r.c (m32r_elf_special_sections): New.
(elf_backend_special_sections): Defined.
* elf32-m68hc11.c (elf32_m68hc11_special_sections): New.
(elf_backend_special_sections): Defined.
* elf32-mcore.c (mcore_elf_special_sections): New.
(elf_backend_special_sections): Defined.
* elf32-ppc.c (ppc_elf_special_sections): New.
(elf_backend_special_sections): Defined.
* elf32-sh64.c (sh64_elf_special_sections): New.
(elf_backend_special_sections): Defined.
* elf32-v850.c (v850_elf_special_sections): New.
(elf_backend_special_sections): Defined.
* elf32-xtensa.c (elf_xtensa_special_sections): New.
(elf_backend_special_sections): Defined.
* elf64-alpha.c (elf64_alpha_special_sections): New.
(elf_backend_special_sections): Defined.
* elf64-hppa.c (elf64_hppa_special_sections): New.
(elf_backend_special_sections): Defined.
* elf64-ppc.c (ppc64_elf_special_sections): New.
(elf_backend_special_sections): Defined.
* elf64-sh64.c (sh64_elf64_special_sections): New.
(elf_backend_special_sections): Defined.
* elfxx-ia64.c (elfNN_ia64_special_sections): New.
(elf_backend_special_sections): Defined.
* elfxx-mips.c (_bfd_mips_elf_special_sections): New.
* elfxx-mips.h (_bfd_mips_elf_special_sections): New.
(elf_backend_special_sections): Defined.
* elfxx-target.h (elf_backend_special_sections): New. Default
to NULL.
(elfNN_bed): Initialize special_sections.
* section.c (bfd_abs_section): Remove const.
(bfd_und_section): Likewise.
(bfd_com_section): Likewise.
(bfd_ind_section): Likewise.
gas/
2003-07-25 H.J. Lu <hongjiu.lu@intel.com>
* config/obj-elf.c (special_sections): Removed.
(obj_elf_change_section): Call _bfd_elf_get_sec_type_attr. Set
elf_section_type and elf_section_flags.
(elf_frob_file): Set SHT_GROUP.
* config/obj-elf.h (obj_sec_set_private_data): New.
* config/tc-alpha.h (ELF_TC_SPECIAL_SECTIONS): Removed.
* config/tc-ia64.h: Likewise.
* config/tc-m32r.h: Likewise.
* config/tc-m68hc11.h: Likewise.
* config/tc-mcore.h: Likewise.
* config/tc-mips.h: Likewise.
* config/tc-ppc.h: Likewise.
* config/tc-sh64.h: Likewise.
* config/tc-v850.h: Likewise.
* config/tc-xtensa.h: Likewise.
* config/tc-v850.h (SHF_V850_GPREL): Removed.
(SHF_V850_EPREL): Likewise.
(SHF_V850_R0REL): Likewise.
* subsegs.c (subseg_get): Call obj_sec_set_private_data if it
is defined.
include/elf/
2003-07-25 H.J. Lu <hongjiu.lu@intel.com>
* v850.h (SHF_V850_GPREL): New.
(SHF_V850_EPREL): Likewise.
(SHF_V850_R0REL): Likewise.
2003-07-25 14:35:54 +00:00
Danny Smith
468f9fa2fe
* include/dkk/ntifs.h: Fix typo in guard for
...
#pragma GCC system_header.
2003-07-24 20:55:48 +00:00
Christopher Faylor
1fbeb8274f
* environ.cc (check_case_init): Use strncasematch.
...
* cygwin.din: Export __mempcpy.
* cygwin/version.h: Bump api minor number.
2003-07-24 19:33:14 +00:00