Corinna Vinschen
640c3ce5df
* path.cc (is_floppy): New function.
...
(setmntent): Drop floppy drives on A: and B: from logical drive DWORD.
* syscalls.cc (sync): Don't sync floppies on A: and B:.
2005-03-10 17:02:52 +00:00
Christopher Faylor
542afc349c
* autoload.cc (LoadDLLprime): Use nocopy segment or forked processes will not
...
initialize properly.
* autoload.cc (LoadDLLprime): Scrap use of .linkonce and just use an
2005-03-10 16:59:55 +00:00
Christopher Faylor
491e84c601
* autoload.cc (LoadDllprime): Scrap use of .linkonce and just use an ifdef
...
guard to load .foo_init into data segment.
* dcrt0.cc (initial_env): Allow colon or space as CYGWIN_DEBUG separator for
consistency.
2005-03-10 14:41:50 +00:00
Christopher Faylor
35b4534efe
* pinfo.h (pinfo::pinfo): Clear more elements in the constructor.
2005-03-10 01:50:09 +00:00
DJ Delorie
2e5fb2d9fa
merge from gcc
2005-03-10 01:05:51 +00:00
Christopher Faylor
8b59143fcd
* net.cc (dup_ent): Revert older stupid test for null. Don't copy name if it
...
is NULL.
2005-03-09 23:46:51 +00:00
Corinna Vinschen
7d243cd43b
* fhandler_socket.cc (fhandler_socket::eid_pipe_name): Fix format
...
string.
(fhandler_socket::connect): Set sun_path before running eid credential
transaction. Run transaction only if OS connect was successful.
(fhandler_socket::accept): Run transaction only if OS accept was
successful.
2005-03-09 23:00:20 +00:00
Christopher Faylor
8b7de010ab
* net.cc (dup_ent): Revert previous stupid change.
2005-03-09 22:38:09 +00:00
Corinna Vinschen
fa4b5b03c0
* signal.cc (sigprocmask): Rename first parameter to "how".
...
(handle_sigprocmask): Ditto. Check "how" for being a valid "how" value.
Fix call order in case of wrong "how" value.
2005-03-09 21:07:56 +00:00
Christopher Faylor
b364b39867
* net.cc (dup_ent): Avoid dereferencing a null pointer in a debug_printf.
2005-03-09 20:56:44 +00:00
Christopher Faylor
f5394c9560
* path.cc (path_conv::check): Treat ENOSHARE similarly to ENOENT when
...
determining if there was a problem with a symlink.
2005-03-09 20:33:21 +00:00
Christopher Faylor
82518b7c54
Remove \n from debug_printf
2005-03-09 20:08:29 +00:00
Corinna Vinschen
1e2ce19b96
* fhandler_socket.cc (fhandler_socket::listen): Don't limit the number
...
of pipe instances.
2005-03-08 16:33:17 +00:00
Christopher Faylor
8c2fb68a11
revert errnoneous checkin
2005-03-08 14:32:07 +00:00
Christopher Faylor
efdc312d12
* pinfo.cc (pinfo::exit): Right shift exit value by eight when not started in a
...
cygwin environment.
2005-03-08 14:31:21 +00:00
Corinna Vinschen
d2428633a6
* mmap.cc (mmap64): Handle MAP_AUTOGROW flag.
...
(fhandler_disk_file::mmap): Ditto. Clean conditional for readability.
* include/sys/mman.h: Add MAP_AUTOGROW flag.
* include/cygwin/version.h: Bump API minor version.
2005-03-08 09:18:47 +00:00
Christopher Faylor
18edcecfbf
* dcrt0.cc (dll_crt0_0): Eliminate muto::init call.
...
* sync.h (locker): New, currently unused class.
(muto::init): Eliminate.
* sync.cc (muto::init): Ditto.
(muto::init): Eliminate critical section lock and instead use name as a guard
to prevent against multiple attempts to initialize the same muto.
* pinfo.cc (pinfo::init): Set myself procinfo when not execing and pid matches
windows pid or cygwin pid.
2005-03-08 05:05:02 +00:00
Christopher Faylor
4534561877
* kill.cc (getsig): Rectify bug introduced by 2005-02-26 change. Don't pad
...
signal name with spaces.
2005-03-08 04:06:26 +00:00
Corinna Vinschen
a593a4c5e3
* strace.cc (handle_output_debug_string): Fix compiler warning.
2005-03-07 10:24:23 +00:00
Danny Smith
d34d3da637
* include/ws2tcpip.h (getaddrinfo, freeaddrinfo, getnameinfo):
...
Guard with _WIN32_WINNT >= 0x0501. Add FIXME comment.
* gai_strerror[AW]: Put into #if 0 block.
2005-03-07 08:32:24 +00:00
Danny Smith
4f7e895a3a
* include/basetyps.h (__int16): Correct define.
2005-03-07 04:58:30 +00:00
Christopher Faylor
fe7b4e0306
* path.cc (mount_info::read_cygdrive_info_from_registry): Use the user prefix
...
if it exists.
* sync.h (sync::init_lock): Declare new static member.
(sync::init()): Declare new static function.
* sync.cc (sync::init): Define.
(sync::init): Lock attempt to initialize a muto to stop multiple threads from
colliding.
* dcrt0.cc (dll_crt0_0): Initialize muto environment.
2005-03-06 21:28:28 +00:00
Jeff Johnston
df5a5b3592
2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
...
* libc/sys/rtems/include/inttypes.h: New file.
* libc/sys/rtems/include/stdint.h: Ditto.
2005-03-06 20:51:38 +00:00
Jeff Johnston
9d385fb06d
2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
...
* libc/string/memcmp.c: Fix to avoid pointer signedness warning.
2005-03-06 20:40:05 +00:00
Jeff Johnston
2e7d9bf906
2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
...
* libc/include/machine/_types.h: New file.
* libc/include/sys/types.h: Do not check for __rtems__
when including <machine/_types.h>. Remove some redundant
declarations now that <machine/_types.h> is included.
* libc/sys/rtems/machine/_types.h: Removed. Replaced with
shared header file.
2005-03-06 20:32:16 +00:00
Christopher Faylor
3f02a8d0f4
* sync.h (sync::init_lock): Declare new static member.
...
(sync::init()): Declare new static function.
* sync.cc (sync::init): Define.
(sync::init): Lock attempt to initialize a muto to stop multiple threads from
colliding.
* dcrt0.cc (dll_crt0_0): Initialize muto environment.
2005-03-06 20:21:30 +00:00
Christopher Faylor
a50b6b2dcd
* path.cc (special_name): Reorganize to always detect the use of special names
...
first, before detecting special characters.
2005-03-06 20:15:07 +00:00
Christopher Faylor
5f8e4efa67
* cygpath.cc (usage): Pass in one more copy of program_name to printf to avoid
...
a SEGV.
2005-03-06 18:00:03 +00:00
Christopher Faylor
57a64c15da
* pathnames.sgml: Clarify binmode/textmode behavior slightly.
...
* textbinary.sgml: Ditto.
2005-03-06 02:46:54 +00:00
Christopher Faylor
3016669b4b
* fhandler_clipboard.cc: Use int for cygnativeformat rather than UINT as that
...
is what is returned by GetPriorityClipboardFormat.
(fhandler_dev_clipboard::read): Ditto for the format variable.
2005-03-04 18:04:11 +00:00
Corinna Vinschen
0f63e6247d
* fhandler.cc (fhandler_base::open_9x): Satisfy query_open values.
2005-03-04 13:54:59 +00:00
Corinna Vinschen
f317a917bc
* fhandler_socket.cc (fhandler_socket::ioctl): Only cancel
...
WSAAsyncSelect when async mode is on.
2005-03-04 08:36:43 +00:00
Corinna Vinschen
6b76b0c5d4
* cygwin.din (utmpxname): Export.
...
* syscalls.cc (utmpxname): Create export alias to utmpname.
* include/utmpx.h: Define ut_name and ut_xtime if not already defined.
(utmpxname): Add prototype.
* include/sys/utmp.h: Only define ut_name if not already defined.
* include/cygwin/version.h: Bump API minor version.
2005-03-03 22:08:12 +00:00
Christopher Faylor
33aca56322
* cygthread.cc (cygthread::detach): Use a slightly higher priority when waiting
...
for thread signalling.
2005-03-03 16:53:52 +00:00
Joshua Daniel Franklin
7486d0c019
Add Pierre's security text.
2005-03-03 16:36:08 +00:00
Christopher Faylor
7c8d92d7a6
restore comment
2005-03-03 15:12:50 +00:00
Alan Modra
3aeffaadc7
update copyright dates
2005-03-03 11:58:10 +00:00
Christopher Faylor
410b2bc211
fix changelog garbling
2005-03-03 01:06:30 +00:00
Christopher Faylor
608b0ce960
* autoload.cc (std_dll_init): Save and restore fpu control register around
...
LoadAddress to prevent loaded dlls (like msvcrt.dll) from setting unwanted
stuff.
2005-03-03 00:49:53 +00:00
Christopher Faylor
55b670024c
* cygtls.cc (_cygtls::remove): Don't attempt any removal activities if exitsock
...
is zero.
2005-03-03 00:36:49 +00:00
Christopher Faylor
d845acc8d2
* cygtls.cc (_cygtls::init_thread): Move exitsock setting later. It should
...
always be set.
(_cygtls::remove): Detect zero exitsock. Not quite sure why this is needed.
2005-03-03 00:32:57 +00:00
Daniel Jacobowitz
6b55d9fa5e
* mips.h: Define MIPS TLS relocations.
2005-03-02 21:21:50 +00:00
Christopher Faylor
d0f0ea3034
* autoload.cc (LoadDLLprime): Mask error code to low-order 16 bits.
...
(noload): Preserve sign when returning error code.
2005-03-02 16:13:24 +00:00
Christopher Faylor
d83eb0c7d0
* spawn.cc (do_cleanup): Properly restore SIGINT/SIGQUIT even if they had
...
previously been SIG_DFL.
2005-03-02 15:32:34 +00:00
Corinna Vinschen
e04c777cc6
* fhandler_disk_file.cc (fhandler_disk_file::touch_ctime): Replace
...
GetSystemTime/SystemTimeToFileTime with GetSystemTimeAsFileTime.
* times.cc (time_as_timestruc_t): Ditto.
(time): Ditto.
2005-03-02 08:28:54 +00:00
Alexandre Oliva
4aa1f3158f
PR libgcj/20160
...
* ltmain.sh: Avoid creating archives with components that have
duplicate basenames.
2005-03-01 22:33:54 +00:00
Christopher Faylor
b9b8c930c3
* include/cygwin/version.h: Bump DLL minor number to 14.
2005-03-01 20:20:45 +00:00
DJ Delorie
45b5f172a9
merge from gcc
2005-03-01 14:32:34 +00:00
Corinna Vinschen
4717214c20
* fhandler_clipboard.cc (fhandler_dev_clipboard::write): Never set
...
errno to 0.
(fhandler_dev_clipboard::read): Ditto.
* fhandler_windows.cc (fhandler_windows::read): Ditto.
* scandir.cc (scandir): Ditto.
* syscalls.cc (_fstat64_r): Ditto.
(_fstat_r): Ditto.
(_stat64_r): Ditto.
(_stat_r): Ditto.
* mmap.cc (mmap64): Fix /dev/zero mapping.
2005-03-01 11:51:29 +00:00
Paolo Bonzini
93c60b6d6a
2005-02-28 Andrew Pinski <pinskia@physics.uc.edu>
...
PR bootstrap/20250
* Makefile.tpl (HOST target installs): Fix copy and pasto, use install
instead of check.
* Makefile.in: Regenerate.
2005-02-28 15:13:42 +00:00