Christopher Faylor
762520f3bc
* path.h (PATH_LNK): New enum val.
...
(path_conv::is_lnk_symlink): New function. True if path represents .lnk style
symlink.
* path.cc (check_shortcut): Set PATH_LNK in pflags when appropriate.
(symlink_info::check): Ditto. Remove PATH_LNK from pflags initially.
* syscalls.cc (unlink): Always remove readonly attribute from a symlink
regardless of type.
(link): (from Corinna Vinschen) Allow links to symlinks. Reset attributes on a
symlink after successful link creation.
(chmod): Use is_lnk_symlink where appropriate.
(rename): Ditto.
* tty.cc (create_tty_master): Call GetComputerName instead of
cygwin_gethostname. Set ut_id.
* syscalls.cc (login): Call endutent.
(setutent): Do not seek after a fresh open.
2003-03-08 03:36:39 +00:00
Corinna Vinschen
6f8102cb71
* syscalls.cc (seteuid32): Fix formatting.
2003-03-07 16:35:56 +00:00
Corinna Vinschen
e463d1ac53
* winsup.api/known_bugs.tcl: Remove fsync01, setregid01 and setreuid01
...
from list of known bugs.
2003-03-07 15:59:58 +00:00
Danny Smith
3332e57f26
2003-03-06 Christopher January <chris@atomice.net>
...
* include/winbase.h (FindFirstVolume): Add declaration.
(FindNextVolume): Add declaration.
(FindVolumeClose): Add declaration.
(GetSystemTimes): Add declaration.
* include/winnt.h: Add define for PF_XMMI64_INSTRUCTIONS_AVAILABLE.
2003-03-06 Danny Smith <dannysmith@users.sourceforge.net>
*lib/kernel32.def (GetSystemTimes): Add stub.
2003-03-07 00:51:19 +00:00
Thomas Pfaff
8824332846
* thread.cc (MTinterface::fixup_after_fork): Initialize mainthread
...
prior to pthread objects.
2003-03-04 20:16:49 +00:00
Corinna Vinschen
12390bc40d
* fhandler_socket.cc (fhandler_socket::dup): Initialize type.
2003-03-04 16:35:00 +00:00
Christopher Faylor
a354f29e07
revert erroneous entry
2003-03-04 05:30:51 +00:00
Christopher Faylor
229f2bb465
* Makefile.in (strace.exe): Include mingw_getopt.o in link line.
...
* cygcheck.cc (print_version): Update copyright.
* strace.cc (print_version): Ditto.
(main): Allow cygwin paths for -o option.
(create_child): Allow cygwin path as argv[0].
* path.cc (path.cc): Allow UNC paths.
2003-03-04 05:30:50 +00:00
Christopher Faylor
c418817ed8
* fhandler.h (fhandler_tty_slave::close): Declare new function.
...
(fhandler_tty_slave::dup): Declare new function.
(fhandler_tty_slave::fixup_after_function): Declare new function.
* fhandler_tty.cc (fhandler_tty_slave_open): Only increment
fhandler_console::open_fhs when associated with a pty.
(fhandler_tty_slave::close): Define new function. Decrement
fhandler_console::open_fhs when associated with a pty.
(fhandler_tty_slave::dup): Define new function. Increment
fhandler_console::open_fhs when associated with a pty.
(fhandler_tty_slave::fixup_after_fork): Define new function. Increment
fhandler_console::open_fhs when associated with a pty.
2003-03-04 04:07:34 +00:00
Danny Smith
b99f1bf031
2003-03-04 Heiko Gerdau <hg@technosis.de>
...
* oleidl.h (IOleObject): Correct GetUserType prototype.
(IViewObject2): Correct GetExtent prototype.
* olectl.h (DISPIP_): Add new defines
* ocidl.h (IOleInPlaceSiteWindowless): Add new interface.
2003-03-04 00:36:06 +00:00
Christopher Faylor
e11fe31b55
* fhandler_tty.cc (fhandler_pty_slave::open): Grudgingly increment
...
fhandler_console::open_fhs here.
(fhandler_pty_slave::close): Ditto for close.
2003-03-03 15:15:49 +00:00
Danny Smith
2b02bd3c3f
2003-03-03 Christopher Faylor <cgf@redhat.com>
...
* mingwex/getopt.c: Refresh from NetBSD sources.
2003-03-03 10:27:57 +00:00
Christopher Faylor
cffdb4b17f
* lib/getopt.c: Refresh from NetBSD sources.
2003-03-03 04:30:09 +00:00
Christopher Faylor
d5d2ffee38
* fhandler_console.cc (fhandler_console::close): Don't decrement in use counter
...
if in vfork fixup stage.
2003-03-03 03:58:10 +00:00
Danny Smith
f5eb407ed1
* mingwex/getopt.c: New file, copied from cygwin srcs.
...
* include/getopt.h: New file, copied from cygwin srcs.
* include/unistd.h: Include getopt.h.
* mingwex/Makefile.in ((DISTFILES): Add getopt.c.
(POSIX_OBJS): Add getopt.o.
2003-03-03 01:19:42 +00:00
Christopher Faylor
c2c6b1701a
* lib/getopt.c: Nuke use of unneeded BSDisms.
2003-03-02 22:52:18 +00:00
Christopher Faylor
8b19b43d00
* dll_init.cc (dll_list::load_after_fork): Don't revert to LoadLibrary if
...
LoadLibraryEx fails.
* dtable.cc (dtable::dec_console_fds): Eliminate.
(dtable::release): Don't treat console specially.
(dtable::build_fhandler): Ditto.
* dtable.h (console_fds): Eliminate.
(dtable::dec_console_fds): Eliminate.
(dtable::inc_console_fds): Eliminate.
* fhandler.h (fhandler_console::open_fhs): New static element.
* fhandler_console.cc (fhandler_console::open): Increment open_fs.
(fhandler_console::close): Call FreeConsole if no more open consoles and ctty
is not associated with the console.
* syscalls.cc (setsid): Simplify check for when to call FreeConsole.
(check_pty_fds): Eliminate definition.
* winsup.h (check_pty_fds): Eliminate declaration.
2003-03-02 18:37:17 +00:00
Christopher Faylor
3efc65f7df
* dll_init.cc (dll_list::load_after_fork): Fix typo where result of LoadLibrary
...
was ignored.
2003-03-02 17:29:47 +00:00
Danny Smith
4aa3feb899
2003-03-02 Danny Smith <dannysmith@users.sourceforge.net>
...
* include/stdio.h (vscanf): Add prototype.
(vfscanf): Ditto.
(vsscanf): Ditto.
(vwscanf): Ditto.
(vfwscanf): Ditto.
(vswscanf): Ditto.
* include/wchar.h (vwscanf): Add prototype.
(vfwscanf): Ditto.
(vswscanf): Ditto.
* mingwex/snprintf.c: Move to mingwex/stdio.
* mingwex/vsnprintf.c: Ditto.
* mingwex/snwprintf.c: Ditto.
* mingwex/vsnwprintf.c: Ditto.
* mingwex/Makefile.in (VPATH): Add $(srcdir)/stdio
(STDIO_DISTFILES): Add.
(DISTFILES): Adjust.
(STDIO_STUB_OBJS): Rename to STDIO_OBJS and add v*scanf objects.
(LIB_OBJS): Adjust.
(dist): Adjust.
2003-03-02 Aaron W LaFramboise <AWLaFramboise@aol.com>
* mingwex/stdio: New directory
* mingwex/stdio/vfscanf.c: New file.
* mingwex/stdio/vfwscanf.c: New file.
* mingwex/stdio/vscanf.c: New file.
* mingwex/stdio/vsscanf.c: New file.
* mingwex/stdio/vswscanf.c: New file.
* mingwex/stdio/vwscanf.c: New file.
2003-03-02 07:00:48 +00:00
Christopher Faylor
408e9b2fd4
fix typo
2003-03-02 06:50:27 +00:00
Joshua Daniel Franklin
34a50bf03f
Document new mkgroup,mkpasswd options
2003-03-01 17:29:51 +00:00
Pierre Humblet
f78765dadd
2003-03-01 Pierre Humblet <pierre.humblet@ieee.org>
...
* mkpasswd.cc (main): On Win95, output both a default line and a
line for the current user (if known) with a pseudorandom uid. If
the -u switch is given, produce a line for the specified user.
* mkgroup.cc (main): On Win95 change the group name from "unknown" to
"all".
2003-03-01 16:38:26 +00:00
Corinna Vinschen
5a082e9eac
* fhandler_socket.cc (fhandler_socket::bind): Open and write socket
...
file using Win32 calls.
2003-03-01 16:17:55 +00:00
Corinna Vinschen
9d913f071f
* fhandler_socket.cc (get_inet_addr): Open and read socket file using
...
Win32 calls.
2003-03-01 15:28:24 +00:00
Danny Smith
82569d7ac6
* include/olectl.h (OleLoadPictureEx) Add prototype.
...
(OleLoadPictureFile): Ditto.
(OleLoadPictureFileEx): Ditto.
(OleLoadPicturePath): Ditto.
(OleSavePictureFile): Ditto.
2003-03-01 09:34:12 +00:00
Danny Smith
c498f2e35a
* include/objbase.h (CoAddRefServerProcess): Add prototype.
...
(CoAddReleaseServerProcess): Ditto.
(CoResumeClassObjects): Ditto.
(CoSuspendClassObjects): Ditto.
* include/oleauto.h (V_I1): Define.
Thanks to: "Timofei" <mmttmm@users.sourceforge.net>
2003-03-01 07:19:36 +00:00
Danny Smith
8c061d6294
2003-03-01 Heiko Gerdau <hg@technosis.de>
...
* include/oleidl.h (USERCLASSTYPE): Add enum.
* include/ocidl.h (IObjectWithSite): Add interface.
2003-03-01 06:51:51 +00:00
Christopher Faylor
dbc49afd52
* Makefile.in (cygcheck.o): Fix so that actual mingw include files are used.
...
* cygcheck.cc (find_on_path): Translate from cygwin path when qualified path
name found.
(pretty_id): New function. Dump output of id command.
(dump_sysinfo): Call pretty_id for CYGWIN=ntsec and CYGWIN=nontsec cases.
2003-03-01 03:38:19 +00:00
Christopher Faylor
005c3065eb
* cygwin.din: Wrap atexit and exit with cygwin, thread-safe functions.
...
* dcrt0.cc (cygwin_atexit): New function.
(cygwin_exit): Ditto.
2003-03-01 02:02:42 +00:00
Pierre Humblet
27b4082ae7
2003-02-28 Pierre Humblet <pierre.humblet@ieee.org>
...
* syscalls.cc (fstat64): Pass get_name () to pc.
(access): Pass fn to stat_worker.
2003-02-28 23:52:48 +00:00
Danny Smith
3d5a4cbe6b
2003-02-28 Roland Schwingel <roland.schwingel@onevision.de>
...
Fixup UNICODE thinko in 2003-02-22 patch.
* include/wingdi.h (AddFontMemResourceEx): Add.
(RemoveFontMemResourceEx): Ditto.
(AddFontMemResourceEx[AW]): Remove.
(RemoveFontMemResourceEx[AW]): Ditto
* lib/gdi32.def: (AddFontResourceEx): Add.
(RemoveFontMemResourceEx): Ditto.
(AddFontMemResourceEx[AW]): Remove.
(RemoveFontResourceEx[AW]): Ditto.
2003-02-28 08:03:13 +00:00
Corinna Vinschen
5777b970bb
2003-03-27 Corinna Vinschen <corinna@vinschen.de>
...
* fhandler_socket.cc (class sock_event): New class managing Winsock
events for interruptible socket calls.
(fhandler_socket::connect): Move support for interruptible call to
class sock_event. Use class object instead.
(fhandler_socket::accept): Ditto. Remove useless casts.
2003-03-27 Thomas Pfaff <tpfaff@gmx.net>
* fhandler_socket.cc (fhandler_socket::connect): Add support for
an interruptable connect.
2003-02-27 21:41:28 +00:00
Corinna Vinschen
7b2ce66370
* uinfo.cc (internal_getlogin): Only update user.groups.pgsid
...
if the call to set the primary group succeeds.
2003-02-27 17:41:15 +00:00
Christopher Faylor
0e7a60fef9
* cygthread::detach: Improve error message.
2003-02-27 15:09:31 +00:00
Corinna Vinschen
61a525994a
* sec_helper.cc (get_sids_info): debug_print owner_sid and group_sid.
2003-02-26 08:34:34 +00:00
Earnie Boyd
5ffa5aaa5c
* Makefile.in (libmsvcrt20.a): Remove target and dependencies.
...
(libmsvcrt40.a): Ditto.
2003-02-25 13:07:46 +00:00
Corinna Vinschen
6b9a9ce6ba
* mmap.cc (mmap64): Fix returned address by taking the granularity
...
into account.
2003-02-25 12:46:39 +00:00
Pierre Humblet
1ffc44aaf7
2003-02-23 Pierre Humblet <pierre.humblet@ieee.org>
...
* syslog.cc (syslog): Do not unlock the file before closing it
and remove debug_printf about stream errors.
2003-02-23 19:12:55 +00:00
Danny Smith
cc379158bb
2003-02-23 Danny Smith <dannysmith@users.sourceforge.net>
...
* include/winbase.h (EVENTLOG_SUCCESS): Add define.
Thanks to: Thomas Weber <thomasweber@sourceforge.net>
2003-02-23 08:31:37 +00:00
Christopher Faylor
b59e1aaceb
whitespace
2003-02-22 23:03:26 +00:00
Christopher Faylor
a066f3645b
* cygmalloc.h: Remove MORECORE_CANNOT_TRIM. It's not true. # cygwin.din:
...
Export mallinfo. # malloc_wrapper.cc (mallinfo): New function.
2003-02-22 23:02:15 +00:00
Christopher Faylor
878e60c561
* syslog.cc (syslog): Do not print the Windows pid. Print the Cygwin pid as an
...
unsigned decimal. On Win95 print a timestamp and attempt to lock the file up
to four times in 3 ms.
2003-02-22 19:35:03 +00:00
Danny Smith
fe96201935
2003-02-22 Roland Schwingel <roland.schwingel@onevision.de>
...
* include/wingdi.h (AddFontMemResourceEx[AW]): Add.
(RemoveFontMemResourceEx[AW]): Ditto
* lib/gdi32.def (AddFontMemResourceEx[AW]): Add.
(RemoveFontMemResourceEx[AW]): Ditto.
2003-02-22 11:32:30 +00:00
Danny Smith
d17d85ec0c
2003-02-22 Bang Jun-Young <junyoung@netbsd.org>
...
* lib/ntdll.def (NT*, RTL*, ZW*): Add missing exports.
(NtCurrentTeb): Remove.
2003-02-22 10:43:46 +00:00
Danny Smith
f06b65e352
* include/wsahelp.h: Remove ';' after closing
...
#ifdef __cplusplus brace.
* include/ws2spi.h: Likewise.
2003-02-22 10:21:39 +00:00
Danny Smith
dffcc5d324
* include/winbase.h (MEMORYSTATUSEX): Add structure.
...
(GlobalMemoryStatusEx): Add prototype.
* lib/kernel32.def (GlobalMemoryStatusEx): Add stub.
2003-02-22 10:16:22 +00:00
Earnie Boyd
ab664f2d53
Thanks to David Frasier <davidf@sjsoft.com> who inspired portions of
...
this patch.
* Makefile.in (libmsvcrtd.a): Add target library.
(libmoldnamed.a): Ditto.
(msvcrt.def, msvcrtd.def, msvcrt20.def, msvcrt40.def): Use msvcrt.def.in
template to create.
($(srcdir)): Remove explicit reference for depencies of object targets.
* moldname.def, moldname-msvcrt.def, moldname-crtdll.def, msvcrt.def,
msvcrt20.def, msvcrt40.def: Remove.
* msvcrt.def.in: New file (Copy of previous msvcrt.def).
2003-02-21 21:12:29 +00:00
David Starks-Browning
a0c8d53b5a
various updates to setup entries. Stronger emphasis to use setup, and only setup.
...
(no more "work in progres ... ")
2003-02-21 20:37:47 +00:00
David Starks-Browning
45fb46b48d
new link to "How To Ask Questions The Smart Way" by Eric S. Raymond, added to Posting Guidelines entry
2003-02-21 20:13:55 +00:00
David Starks-Browning
b0484ae4d9
remove tired subtitle "(Not completely updated for the latest net release, but still useful!)"
2003-02-21 20:00:54 +00:00