Christopher Faylor
6616e6cf76
* include/sys/strace.h (_STRACE_ON): Define.
...
(_STRACE_OFF): Ditto.
2002-01-28 18:03:40 +00:00
Christopher Faylor
dfb4c34707
* speclib: Ensure that temporary def file is removed.
2002-01-24 21:39:09 +00:00
Christopher Faylor
3c07fbebf8
* speclib: Use rm -f to remove temp file just to quiet any potential warnings.
2002-01-23 18:46:19 +00:00
Corinna Vinschen
be6d8567eb
Supplement ChangeLog entry.
2002-01-23 18:37:58 +00:00
Corinna Vinschen
f6fc31e1a9
* security.cc (create_token): Use sec_user() to create
...
SECURITY_ATTRIBUTES structure for primary token.
2002-01-23 18:35:03 +00:00
Corinna Vinschen
adbd01afe4
* path.cc (symlink): Fix check for already existing file.
2002-01-23 16:50:17 +00:00
Christopher Faylor
aed69a5b0d
* cygmagic: Suppress error output when figuring out if sum takes an option.
2002-01-22 03:48:16 +00:00
Christopher Faylor
f3647dd7e6
* cygmagic: Attempt to figure out if sum takes an option.
2002-01-22 03:02:00 +00:00
Christopher Faylor
51076b7360
* Makefile.in (libpthread.a): Pass the assembler also.
...
(libm.a): Ditto.
(libc.a): Ditto.
* speclib: Specify the assembler to dlltool.
2002-01-22 01:40:11 +00:00
Christopher Faylor
0ac2abea6c
* include/cygwin/version.h: Bump DLL minor number.
2002-01-21 20:55:59 +00:00
Corinna Vinschen
28982aa871
Fix ChangeLog entry.
2002-01-21 20:52:33 +00:00
Corinna Vinschen
ac11ec8845
* grp.cc (getgrent): Don't return default gid entry when ntsec is on.
...
* syscalls.cc (setegid): Don't set primary group in process token.
2002-01-21 20:51:30 +00:00
Christopher Faylor
1c6577408e
Add newline at EOF.
2002-01-21 17:47:53 +00:00
Christopher Faylor
8ef47135dd
* speclib: Don't use /dev/null as DLL name. Just default to what's already in
...
.def file.
* exceptions.cc (sig_handle): Remove last vestiges of SA_NOCLDSTOP code which
caused SIGCHLD to be ignored.
2002-01-21 17:42:08 +00:00
Christopher Faylor
07cc1f1fd8
* include/cygwin/version.h: Bump DLL minor number.
2002-01-21 03:36:16 +00:00
Christopher Faylor
385437d4c5
* syscalls.cc (regfree): Make dll_export.
2002-01-21 03:15:24 +00:00
Christopher Faylor
d7c16d8da3
* exceptions.cc (ctrl_c_handler): Convert windows pid to cygwin pid when
...
detecting if we should actually handle CTRL-C.
2002-01-20 23:13:03 +00:00
Christopher Faylor
216109a824
* Makefile.in (new-cygwin1.dll): Revert previous change. libsupc++.a is only
...
available in libstdc++-v3.
2002-01-20 03:39:36 +00:00
Christopher Faylor
9e73b3397b
* exceptions.cc (sig_handle_tty_stop): Don't send SIGCHLD if parent doesn't
...
want it.
(sig_handle): Don't check for SA_NOCLDSTOP here. We don't have enough
information.
2002-01-19 23:57:45 +00:00
Christopher Faylor
5946622e72
* include/cygwin/version.h: Bump DLL minor number.
2002-01-19 23:06:28 +00:00
Christopher Faylor
994fe87b6e
* Makefile.in (new-cygwin1.dll): Just use -lsupc++ for link.
...
* sigproc.cc (proc_exists): Change existence criteria.
* sync.h (new_muto): Add volatile to definition to avoid gcc optimization
problems.
2002-01-19 18:15:23 +00:00
Corinna Vinschen
df3af7731e
* include/cygwin/version.h: Bump API minor version to 51.
2002-01-19 16:17:59 +00:00
Corinna Vinschen
7d6be0d616
* cygwin.din: Add recvmsg and sendmsg.
...
* net.cc: Add cygwin_recvmsg and cygwin_sendmsg.
* /usr/include/sys/socket.h: Add recvmsg and sendmsg.
2002-01-19 16:11:00 +00:00
Corinna Vinschen
2d3dab2ea5
* security.cc (create_token): Close processes token handle as soon
...
as it's not used anymore.
2002-01-19 16:06:11 +00:00
Corinna Vinschen
104c3be681
* Makefile.in: Add fnmatch.o to DLL_OFILES.
...
* cygwin.din: Add fnmatch export symbol.
* fnmatch.c: New file.
* include/fnmatch.h: Ditto.
* include/cygwin/version.h: Bump API minor version to 50.
2002-01-17 10:39:37 +00:00
Corinna Vinschen
9a7e156253
* path.cc (fchdir): Call chdir with full windows path.
2002-01-15 20:29:09 +00:00
Corinna Vinschen
7eddac1bc5
* dir.cc: Use INVALID_FILE_ATTRIBUTES instead of "(DWORD) -1"
...
for file attributes throughout.
* fhandler.cc: Ditto.
* fhandler_disk_file.cc: Ditto.
* path.cc: Ditto.
* path.h: Ditto.
* syscalls.cc: Ditto.
* times.cc (utimes): Use path_conv::isdir() instead of explicit
GetFileAttributes() call.
2002-01-14 20:39:59 +00:00
Christopher Faylor
33ad2bf9d1
Add copyright stuff
2002-01-13 20:03:03 +00:00
Christopher Faylor
5daa0835e3
* dcrt0.cc (multiple_cygwin_problem): Clarify logic and make CYGWIN_MISMATCH_OK
...
more powerful.
2002-01-13 16:55:32 +00:00
Christopher Faylor
06486d9e55
* exceptions.cc (sig_handle): Accept a second argument indicating whether the
...
signal came from this process or not.
* sigproc.h: Reflect sig_handle arg change.
* signal.cc (kill_pgrp): Add sigframe info.
(abort): New function. Eliminates newlib function of same name.
* sigproc.cc (wait_sig): Pass "signal from this process" value as arg 2.
2002-01-11 02:24:06 +00:00
Corinna Vinschen
bb5225c236
* syscalls.cc (pathconf): Guard _PC_PATH_MAX branch against invalid
...
file parameter.
2002-01-10 13:24:28 +00:00
Christopher Faylor
c0a8e8d0f9
* exceptions.cc (early_stuff_init): Rename from misnamed set_console_handler.
...
(ctrl_c_handler): Attempt to work around potential signal duplication during
process startup.
(sig_handle): Ignore SIGINT when we're just an "exec stub".
* spawn.cc (spawn_guts): Store pid of spawned process in global for use by
ctrl_c_handler.
* dcrt0.cc (dll_crt0_1): Call renamed initialization function.
* winsup.h: Reflect function name change.
2002-01-10 03:21:27 +00:00
Corinna Vinschen
fe37dd79ec
* net.cc (cygwin_accept): Set sun_path for newly connected socket.
2002-01-09 20:57:55 +00:00
Christopher Faylor
cbf7a9eb4a
* Makefile.in: Add uninstall target.
2002-01-08 04:51:01 +00:00
Christopher Faylor
a2e12d0c37
* sigproc.cc (getsem): Clean up debugging output.
2002-01-07 22:18:36 +00:00
Christopher Faylor
4a08cbfefb
* sigproc.cc (getsem): Set errno when unable to create own semaphore.
...
Reorganize to make clearer that error should only come from initial creation of
process semaphore.
2002-01-07 16:47:12 +00:00
Christopher Faylor
10dedaaa4c
* dtable.cc (dtable::init_std_file_from_handle): Add some defensive code to
...
invalid handle case.
2002-01-06 17:29:41 +00:00
Corinna Vinschen
d6154fb758
* ioctl.cc (ioctl): Make third argument optional.
...
* include/sys/ioctl.h: Ditto in declaration.
* dtable.cc (dtable::init_std_file_from_handle): Revert previous
bogus patch.
* window.cc (WndProc): Raise SIGURG instead of SIGIO in case of FD_OOB
message.
2002-01-06 09:28:13 +00:00
Christopher Faylor
9125cbd7cf
* dir.cc (opendir): Guarantee release of alloced fhandler structure on error.
2002-01-06 03:32:32 +00:00
Corinna Vinschen
fcb76c5dcb
exceptions.cc (sig_handle): Set default action for SIGURG to SIG_IGN.
2002-01-05 22:25:34 +00:00
Corinna Vinschen
2edba2368a
* dtable.cc (dtable::init_std_file_from_handle): Don't treat NULL
...
handle as errorneous.
2002-01-05 18:42:52 +00:00
Christopher Faylor
acf05df744
* cygmagic: Change logic for equality test.
2002-01-04 23:29:58 +00:00
Christopher Faylor
7acba9716b
* dir.cc (opendir): Don't attempt to call sub-opendir if ENOENT.
2002-01-04 19:06:01 +00:00
Corinna Vinschen
dc63cea5ed
* net.cc: Replace usage of AF_UNIX by Posix compliant AF_LOCAL
...
throughout.
(socketpair): Explicitly allow SOCK_STREAM and SOCK_DGRAM socket types
in families AF_UNIX and AF_LOCAL. Explicitly allow PF_UNSPEC, PF_LOCAL
and PF_INET protocols. Return error otherwise. Implement datagram
socketpairs.
2002-01-04 16:56:53 +00:00
Christopher Faylor
3b789217ae
* speclib: Remove temp files automatically.
2002-01-02 00:06:35 +00:00
Christopher Faylor
fdd75ff3d2
restore missing entry
2002-01-01 16:49:52 +00:00
Corinna Vinschen
2fe2790925
* fhandler.h (fhandler_socket::sun_path): New private member.
...
(fhandler_socket::set_sun_path): New method.
(fhandler_socket::get_sun_path): Ditto.
* fhandler_socket.cc (fhandler_socket::fhandler_socket): Initialize
sun_path to NULL.
(fhandler_socket::~fhandler_socket): Free sun_path if needed.
(fhandler_socket::set_sun_path): New method.
* net.cc (cygwin_bind): Set sun_path to path of local socket file.
(cygwin_getsockname): Add code to return correct sockaddr for unix
domain sockets.
2002-01-01 16:25:31 +00:00
Christopher Faylor
f417fcf315
Strip path when installing library.
2001-12-31 06:24:15 +00:00
Christopher Faylor
6d218bb5c6
* include/getopt.h: Fix define.
2001-12-31 04:00:07 +00:00
Christopher Faylor
e56f4d7fc4
* speclib: New file.
...
* Makefile.in: Create library versions of automode.o, textmode.o, and binmode.o
for easier use on command line. Create libpthread.a, libm.a, and libc.a with
subsets of exports found in libcygwin.a.
2001-12-31 03:19:29 +00:00