Christopher Faylor
a2b75539a2
* Makefile.in: Quote arguments to shell scripts.
...
(clean): Remove new *_magic.h autogenerated files.
2001-12-26 05:02:07 +00:00
Christopher Faylor
77f4a25028
* Makefile.in: Autogenerate some header files which provide magic numbers.
...
Force dependencies for files which depend on autogenerated headers to ensure
that they are always built.
* child_info.h (child_info): Add new fields to accommodate new magic number
header stuff.
* dcrt0.cc: Rely on "child_info_magic.h" to ensure that correct child_info
magic numbers are used.
(dll_crt0_1): Temporarily remove _cygwin_testing_magic test.
(_dll_crt0): Do more testing on magic numbers from fork_info structure. Call
"multiple_cygwin_problem" where appropriate.
(multiple_cygwin_problem): Rename from multiple_cygwin_die. Issue a warning or
die, as appropriate based on cygwin version/magic number mismatch.
* pinfo.cc (pinfo::exit): Don't attempt to dereference `this' if it doesn't
exist. This can happen when a fatal error occurs early in process
initialization.
* shared.cc: Rely on "shared_info_magic.h" to accommodate that new magic number
header stuff.
(shared_info::initialize): Use new magic number stuff, for shared region.
(memory_init): Ditto, for mount table.
* shared_info.h: Accomodate new magic number stuff for shared region and mount
table.
* sigproc.cc: Rely on "child_info_magic.h" to accommodate new magic number
header stuff.
(init_child_info): Initialize new fields in child_info) to accomodate magic
numbers.
* winsup.h: Rename multiple_cygwin_die to multiple_cygwin_problem.
* include/cygwin/version.h: Define macros for manipulating version magic.
* cygmagic: New shell script for generating magic numbers.
2001-12-26 04:53:34 +00:00
Robert Collins
a3e320f3c9
2001-12-21 Robert Collins <rbtcollins@hotmail.com>
...
* include/wingdi.h: Add GetRandomRgn and SYSRGN.
2001-12-21 06:53:56 +00:00
Christopher Faylor
7b5ea138a2
* lib/Makefile.in: Revert inst_installdir definitions to working versions.
2001-12-21 04:42:05 +00:00
Christopher Faylor
4f235c9559
* include/cygwin/version.h: Bump API minor version for below changes.
2001-12-20 18:54:30 +00:00
Christopher Faylor
93034cfc7c
Remove obsolete include.
2001-12-20 03:03:59 +00:00
Christopher Faylor
48beacf6e4
* Makefile.in (VPATH): Add regex directory.
...
(NM): new variable.
(OBSOLETE_FUNCTIONS): Ditto.
(NEW_FUNCTIONS): Ditto.
(install-headers): Install regex.h.
(install-man): New target.
(install): Use new target.
(DLL_OFILES): Add v8_reg* stuff.
(new-cygwin1.dll): Eliminate stamp-cygwin-lib creation.
(libcygwin.a): Remove obsolete functions from import lib. Add new functions.
* configure.in: Detect 'nm' tool.
* configure: Regenerate.
* cygwin.din: Export posix_reg* functions. Eliminate export of v8 reg*
functions. This is now handled in object files themselves.
* regex/*: New files.
* regexp/v8_*.c: New files, renamed from non v8_ equivalents.
2001-12-20 02:55:11 +00:00
Christopher Faylor
4b31ae795b
Fix up comments.
2001-12-19 20:10:03 +00:00
Christopher Faylor
aa053fd461
* Makefile.in: Don't attempt to use zlib directory as a dependency if it
...
doesn't exist.
2001-12-19 03:35:36 +00:00
Corinna Vinschen
6d114a5dea
* include/getopt.h: Don't define getopt_long() and friends when
...
included through unistd.h.
2001-12-17 21:34:59 +00:00
Christopher Faylor
513a848fe6
* dtable.cc (dtable::init_std_file_from_handle): Avoid initializing using an
...
invalid handle.
2001-12-17 19:55:58 +00:00
Christopher Faylor
a318eb217d
* include/limits.h: Define LLONG_MIN, LLONG_MAX, ULLONG_MAX.
2001-12-17 01:41:07 +00:00
Robert Collins
4706b72837
2001-12-17 Guido Serassio <serassio@libero.it>
...
* include/winsvc.h: Add ChangeServiceConfig2() &
QueryServiceConfig2() definition
2001-12-16 21:57:36 +00:00
Robert Collins
990d6d89b6
2001-12-17 Robret Collins <rbtcollins@hotmail.com>
...
* include/commctrl.h: New typedefs for HDLAYOUT and LPHDLAYOUT based
on MSDN documentation for XP.
2001-12-16 21:55:40 +00:00
Corinna Vinschen
8606f0058e
* mkpasswd.c (enum_users): Change to unconditionally use
...
the --path-to-home option, if supplied by the user. Use default
--path-to-home option value, if appropriate.
(usage): Change usage statement to reflect new semantics.
(main): Remove defaulting of the --path-to-home option.
2001-12-14 20:01:53 +00:00
Christopher Faylor
b6ddef77a4
Add missing ChangeLog.
...
* configure.in: Detect zlib subdirectory.
* configure: Regenerate
2001-12-14 18:26:43 +00:00
Christopher Faylor
94597cd05f
* Makefile.in: Exit immediately if a sub-make fails.
2001-12-14 18:23:19 +00:00
Christopher Faylor
bdc7392ce3
* mkpasswd.c (opts): Add indication that '-p' option requires an argument.
2001-12-14 17:15:37 +00:00
Christopher Faylor
e05f3227be
* Makefile.in: Add define to CXXFLAGS.
2001-12-11 22:51:01 +00:00
Christopher Faylor
9b02812029
* include/getopt.h: Add HAVE_DECL_GETOPT to save pain elsewhere.
2001-12-11 22:22:43 +00:00
Christopher Faylor
c4d15ff443
* what.texinfo: Clarify XP.
2001-12-11 17:16:02 +00:00
Christopher Faylor
40139114ea
* fhandler.h (fhandler_serial::ev): New class member.
...
* fhandler_serial.cc (fhandler_serial::raw_read): Use class member for event
status.
* select.cc (peek_serial): Ditto.
2001-12-11 00:24:46 +00:00
Christopher Faylor
cf77faefc8
whitespace cleanup
2001-12-10 03:35:54 +00:00
Christopher Faylor
397f94082d
* path.cc (path_conv::check): Use full path name for determining attributes
...
when /cygdrive/x/foo.
2001-12-08 01:27:10 +00:00
Earnie Boyd
15a1d3f2fc
* Makefile.in: Increment VERSION.
...
* include/_mingw.h: Ditto.
2001-12-07 21:38:03 +00:00
Earnie Boyd
ddd50f72b5
* Makefile.in: Increment VERSION.
...
* include/w32api.h: Ditto.
2001-12-07 21:29:30 +00:00
Earnie Boyd
17e6a0014b
merge changes from MinGW
2001-12-07 14:15:24 +00:00
Christopher Faylor
a12a3466b1
* path.cc (path_conv::check): Reset FH_CYGDRIVE if iterating through path.
2001-12-07 05:03:32 +00:00
Christopher Faylor
a0c1938145
* path.cc (path_conv::check): Don't complain if /dev/x/foo when x doesn't
...
exist.
(mount_info::conv_to_win32_path): Keep translating when a /cygdrive is found.
Don't attempt to translate to a device name when devn == FH_CYGDRIVE.
(cygwin_conv_to_win32_path): Set buffer to empty on error.
(cygwin_conv_to_full_win32_path): Ditto.
* window.cc: Include unistd.h to verify definitions.
2001-12-06 22:36:08 +00:00
Christopher Faylor
5a88f2554a
* dir.cc (opendir): Detect error return from build_fhandler_from_name.
2001-12-05 23:05:15 +00:00
Earnie Boyd
98a05abd05
Merge MinGW CVS differences
2001-12-05 15:01:06 +00:00
Earnie Boyd
ff1924262a
* include/strings.h: New file.
2001-12-05 13:55:19 +00:00
Christopher Faylor
d653df0d95
Add missing ChangeLog entries.
2001-12-05 04:48:15 +00:00
Christopher Faylor
958348a4cf
* net.cc (cygwin_getsockopt): Dereference optlen pointer when passing to
...
__check_null_invalid_struct_errno.
2001-12-04 22:01:03 +00:00
Earnie Boyd
937b5e4d04
2001-12-04 Earnie Boyd <earnie@users.sf.net>
...
* include/winuser.h (IDC_STATIC): Don't define.
2001-12-04 14:36:40 +00:00
Earnie Boyd
9d2dfde225
2001-12-04 Danny Smith <dannysmith@users.sourceforge.net>
...
Cleanup merge between SourceForge and winsup CVS.
* include/winbase.h (OSVERSIONINFO[AW], OSVERSIONINFOEX[AW]: Remove
definitions.
* include/winnt.h (VER_NT*): Remove duplicate defines.
(VER_SUITE*): Group with VER_PLATFORM*, VER_NT* defines.
2001-12-04 13:35:34 +00:00
Christopher Faylor
63928f6088
Cleanup copyrights and Cygnus'isms throughout.
...
* setup.sgml: Nuke ancient instructions.
2001-12-04 04:20:31 +00:00
Christopher Faylor
8adfbe93d9
remove extra mask info
2001-12-04 04:15:15 +00:00
Christopher Faylor
de057251e2
remove extra mask info
2001-12-04 04:14:37 +00:00
Christopher Faylor
48f939e29f
* cygcheck.cc (usage): Add -c description.
...
* cygpath.cc (usage): Alphabetize options.
* strace.cc (usage): Ditto.
2001-12-04 04:12:39 +00:00
Christopher Faylor
7543995b74
* net.cc (cygwin_getsockopt): Allow NULL optval.
...
* path.cc (mount_info::read_cygdrive_info_from_registry): Don't write cygdrive
to registry if it doesn't exist.
2001-12-03 20:09:33 +00:00
Earnie Boyd
6dfcb5a3a9
2001-12-03 Earnie Boyd <earnie@users.sf.net>
...
* include/accctrl.h: Change \r\n to \n.
2001-11-30 Danny Smith <dannysmith@users.sourceforge.net>
* include/ipexport.h (IP_UNIDIRECTIONAL_ADAPTER_ADDRESS):
Add structure definition.
* include/iptypes.h (IP_PER_ADAPTER_INFO): Ditto.
* include/iphlpapi.h (AddIPAddress,CreateProxyArpEntry,
DeleteIPAddress,DeleteProxyArpEntry,EnableRouter,
FlushIpNetTable,GetAdapterIndex,GetPerAdapterInfo,
GetUniDirectionalAdapterInfo,SendARP,SetAdapterIpAddress,
UnenableRouter) Declare functions.
* lib/iphlpapi.def: Add function names to import lib.
2001-11-24 Danny Smith <dannysmith@users.sourceforge.net>
* include/winnt.h (PACCESS_MASK): Add typedef.
* include/aclapi.h: New file.
* include/acctrl.h: New file.
* lib/advapi32.def: Add missing symbols.
* lib/test.c: Add #include <aclapi.h>.
2001-11-23 Danny Smith <dannysmith@users.sourceforge.net>
* include/winbase.h (OSVERSIONINFO[AW],VER_PLATFORM_WIN32s,
VER_PLATFORM_WIN32_WINDOWS,VER_PLATFORM_WIN32_NT): Move from
here ...
* include/winnt.h: ... to here.
* include/winbase.h (VerifyVersionInfo[AW]): Add declaration.
* include/winnt.h (OSVERSIONINFOEX[AW]): Add structure definitions
and typedefs.
(VER_NT_WORKSTATION,VER_NT_DOMAIN_CONTROLLER,VER_NT_SERVER):
Add defines.
2001-11-19 Pierre Muller <muller@ics.u-strasbg.fr>
* w32api/include/winnt.h: prepare SSE register support.
(CONTEXT_EXTENDED_REGISTERS): Add new define.
(MAXIMUM_SUPPORTED_EXTENSION): New define.
(struct CONTEXT): ExtendedRegisters field added.
2001-11-16 Danny Smith <dannysmith@users.sourceforge.net>
* include/winuser.h (tagALTTABINFO, tagCOMBOBOXINFO,
tagCURSORINFO, tagMENUBARINFO, tagMENUINFO, tagMONITORINFO
tagSCROLLBARINFO, tagTITLEBARINFO. tagWINDOWINFO,
tagLASTINPUTINFO ): Define new structures.
(EndMenu, GetAltTabInfo[AW],GetComboBoxInfo,GetCursorInfo,
GetLastInputInfo, GetListBoxInfo, GetMenuBarInfo,
GetMonitorInfo[AW], GetScrollBarInfo, GetTitleBarInfo,
GetWindowInfo, GetWindowModuleFileName[AW],GetMenuInfo
SetMenuInfo): Add new prototypes.
* lib/user32.def: Add import stubs for above functions.
* include/winuser.h (IDC_STATIC): Protect against prior
definition.
2001-11-12 Corinna Vinschen <corinna@vinschen.de>
* include/winbase.h (OSVERSIONINFOEX): Add definition.
* include/winnt.h: Add VER_NT_* and VER_SUITE_* defines.
2001-11-10 Robert Collins <rbtcollins@hotmail.com>
* include/winnt.h: Add Danny Smith's text comment about gcc compiler
warnings with _AUTHORITY #defines.
2001-11-09 Robert Collins <rbtcollins@hotmail.com>
* include/winnt.h (GetCurrentFiber): Create a prototype before the
implementation;
(GetFiberData): Ditto.
2001-11-09 Robert Collins <rbtcollins@hotmail.com>
* include/winnt.h: Backout last change.
2001-12-03 19:59:34 +00:00
Christopher Faylor
2a50e3df6f
* path.cc (mount_info::conv_to_win32_path): Avoid returning error if cygdrive
...
== '/'.
(mount_info::cygdrive_win32_path): Return 0 if invalid cygdrive path.
2001-12-03 16:47:18 +00:00
Christopher Faylor
7b80d68f4c
minor reformatting.
2001-12-02 05:23:26 +00:00
Christopher Faylor
1cf0d8510a
* debug.cc (makethread): Eliminate unneeded function call.
...
* miscfuncs.cc (tls_ix): Predefine.
* perthread.h (set_reent): Eliminate.
(get_reent): Ditto.
* winbase.h (my_tlsalloc): Use global stack base pointer. Set newly allocated
location to NULL.
(my_tlssetvalue): Use global stack base pointer.
(my_tlsgetvalue): Ditto.
2001-11-30 06:19:58 +00:00
Christopher Faylor
558f1fb418
* winsup.h: Reorganize to avoid use of experimental stuff.
...
* shortcut.cc: Move winsup.h first in include order.
2001-11-28 02:36:32 +00:00
Christopher Faylor
0caa03b00a
Add attribution.
2001-11-28 01:54:05 +00:00
Christopher Faylor
4d029f3940
* cygwin.din (ualarm): New export.
...
* dcrt0.cc (_dll_crt0): Add experimental tls storage declaration.
(dll_crt0): Ditto.
* debug.cc (thread_stub): Ditto.
* thread.cc: Minor cleanup.
(__pthread_create): Add experimental tls storage declaration.
* miscfuncs.cc: Define tls index.
* winsup.h: Declare experimental tls storage.
* window.cc (alarm): Use old timer return from setitimer.
(ualarm): New function.
2001-11-28 00:06:35 +00:00
Christopher Faylor
505f9ba17a
Revert erroneous checkin.
2001-11-26 20:21:27 +00:00
Christopher Faylor
94c0e197f0
* Makefile.in (libcygwin.a): Use ar commands to build libcygwin.a since adding
...
an archive doesn't work the way we want it to.
2001-11-26 20:20:42 +00:00