Commit Graph

3590 Commits

Author SHA1 Message Date
Jeff Johnston 6b6425cb53 2002-07-26 Jeff Johnston <jjohnstn@redhat.com>
* libc/string/strings.tex: Fix typo for memccpy.
2002-07-26 15:26:42 +00:00
Danny Smith b1f495ed3b * include/oleidl.h (MK_ALT): Define. 2002-07-26 04:38:00 +00:00
Danny Smith 15cc7bc14d 2002-07-26 Mattia Barbon <mbarbon@dsi.unive.it>
* include/exdisp.h: New file.
	* include/exdispid.h: New file.
	* include/mshtml.h: New file.
	* lib/test.c: #include exdisp.h and mshtml.h
	* lib/uuid.c (CLSID_WebBrowser, DIID_DWebBrowserEvents,
	DIID_DWebBrowserEvents2, IID_IHTMLDocument, IID_IHTMLDocument2,
	IID_IHTMLElement, IID_IHTMLSelectionObject, IID_IHTMLTxtRange,
	IID_IWebBrowser, IID_IWebBrowser2, IID_IWebBrowserApp):
	New GUIDs.

	* include/docobj.h: New file.
	* include/idispids.h: New file.
	* include/objidl.h (IID_IMoniker): Declare.
	* include/ocidl.h (READYSTATE): New enum.
	(IOleInPlaceSiteEx): New interface.
	* include/olectlid.h (IID_IEnumSTATSTG): New interface
	identifier.
	* include/oleidl.h (IOleItemContainer, IOleInPlaceObject,
	IOleInPlaceSite): New interfaces.
	* lib/test.c: #include docobj.h,idispids.h,
2002-07-26 04:26:26 +00:00
Jeff Johnston dc8ac8e650 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
* libc/sys/linux/io64.c (truncate64, ftruncate64): Added.
        * libc/sys/linux/sys/types.h (off64_t): Definition added.
2002-07-25 21:07:08 +00:00
Jeff Johnston aa0ca6fd29 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
* libc/sys/linux/Makefile.am: Add fclean.c.
        * libc/sys/linux/Makefile.in: Regenerated.
        * libc/sys/linux/fclean.c: New file.
2002-07-25 20:09:20 +00:00
Jeff Johnston 61921945b6 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
* libc/sys/linux/Makefile.am: Add confstr.c.
        * libc/sys/linux/Makefile.in: Regenerated.
        * libc/sys/linux/confstr.c: New file.
        * libc/sys/linux/confstr.h: Ditto.
        * libc/sys/linux/sys/unistd.h: Include <features.h> and
        <bits/environments.h>.
2002-07-25 18:41:15 +00:00
Jeff Johnston 3d966a92d3 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
* libc/sys/linux/config.h (__set_errno): Macro definition removed.
        * libc/sys/linux/fpathconf.c (__set_errno): Ditto.
        * libc/sys/linux/libc-internal.h (__set_errno): Ditto.
        * libc/sys/linux/pathconf.c (__set_errno): Ditto.
        * libc/sys/linux/ttyname_r.c (__set_errno): Ditto.
        * libc/sys/linux/sys/errno.h (__set_errno): Macro definition added.
2002-07-25 17:59:48 +00:00
Christopher Faylor 68fb3cca64 * security.cc (allow_ntsec): Default to on.
(allow_smbntsec): Default to off.
2002-07-25 17:04:13 +00:00
Christopher Faylor be18721ec4 * times.cc (to_time_t): Always round time_t down to nearest second. 2002-07-25 15:59:49 +00:00
Richard Sandiford 1ceb2460db * opcode/mips.h (CPU_R2000): Remove. 2002-07-25 09:44:39 +00:00
Egor Duda b9e8058df3 * Makefile.in: Check if API version is updated when exports are
changed and stop if not so.
2002-07-25 09:09:34 +00:00
Danny Smith 6ebbcd2563 * include/shlobj.h (BFFM_VALIDATEFAILED[AW]): Add defines.
(BFFM_SETSTATUSTEXT, BFFM_SETSELECTION): UNICODE them.
2002-07-24 21:57:01 +00:00
Danny Smith b0054da2c0 2002-07-25 Mattia Barbon <mbarbon@dsi.unive.it>
* include/commctrl.h: Avoid redefinition of CDN_FIRST/LAST.
	* include/commdlg.h: Likewise.
2002-07-24 21:50:49 +00:00
Jeff Johnston 53b5bff780 2002-07-24 Jeff Johnston <jjohnstn@redhat.com>
* libc/sys/linux/Makefile.am: Add new files.
        * libc/sys/linux/Makefile.in: Regenerated.
        * libc/sys/linux/fstab.c: New file.
        * libc/sys/linux/fstatvfs.c: Ditto.
        * libc/sys/linux/fstatvfs64.c: Ditto.
        * libc/sys/linux/internal_statvfs.c: Ditto.
        * libc/sys/linux/mntent.c: Ditto.
        * libc/sys/linux/mntent_r.c: Ditto.
        * libc/sys/linux/statvfs.c: Ditto.
        * libc/sys/linux/statvfs64.c: Ditto.
        * libc/sys/linux/include/paths.h: Ditto.
        * libc/sys/linux/inode.c (statfs, fstatfs): New syscalls
        with double-underscore weak-aliases.
        * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
2002-07-24 20:38:32 +00:00
Jeff Johnston 9cef8ef52b 2002-07-24 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/signal.h (SIG_IGN, SIG_DFL, SIG_ERR): Change
        to use _sig_func_ptr type casted constants.
        (_sig_func_ptr): Typedef moved to sys/signal.h.
        * libc/include/sys/signal.h (_sig_func_ptr): Typedef added.
        For __rtems, use POSIX definition, otherwise default to ANSI.
        * libc/sys/linux/sys/signal.h (_sig_func_ptr): Typedef added.
2002-07-24 18:18:07 +00:00
Jeff Johnston a703e0f2ee 2002-07-24 Stephane Carrez <stcarrez@nerim.fr>
* configure.host: Recognize m6811-elf and m6812-elf targets.
        * libc/include/machine/setjmp.h (_JBLEN): Define for 68hc11/68hc12.
        * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Define for 68HC11.
        (_DOUBLE_IS_32BITS): Define when compiling with -fshort-double.
        * libc/include/sys/config.h (INT_MAX, UINT_MAX): Define
        according to __INT_MAX__.
        (_POINTER_INT): Define to short.
        * libc/machine/m68hc11/Makefile.am: New file.
        * libc/machine/m68hc11/Makefile.in: New file.
        * libc/machine/m68hc11/configure.in: New file.
        * libc/machine/m68hc11/configure: New file.
        * libc/machine/m68hc11/aclocal.m4: New file.
        * libc/machine/m68hc11/setjmp.S: New file.
2002-07-24 15:44:24 +00:00
Corinna Vinschen bf47141f36 * include/cygwin/version.h: Bump minor API version. 2002-07-24 11:06:46 +00:00
Corinna Vinschen 0a73fce00c * fhandler_serial.cc: Change 'must_init_serial_line capability'
to 'supports_reading_modem_output_lines' throughout (negated meaning).
	* wincap.cc: Ditto.
	* wincap.h: Ditto.
2002-07-24 11:01:37 +00:00
Corinna Vinschen 564c62b811 * calls.texinfo: Add fcloseall and fcloseall_r. 2002-07-24 07:38:18 +00:00
Corinna Vinschen f72a851fc7 * cygwin.din (fcloseall): Add symbol for export.
(fcloseall_r): Ditto.
2002-07-24 07:38:03 +00:00
Christopher Faylor 99138976d9 * path.cc (path_conv::check): Always set fileattr when component == 0.
(readlink): Use path_conv method rather than field.
* fhandler_disk_file.cc (fhandler_disk_file::fstat_helper): Ditto, throughout.
* path.h (path_conv): Make fileattr private.
* exceptions.cc (try_to_debug): Default to idle priority when looping.
2002-07-24 05:37:47 +00:00
Jeff Johnston 63a93e9dd6 2002-07-23 Stephane Carrez <stcarrez@nerim.fr>
* README: Mention 68HC11/68HC12 support.
        * configure.in: Recognize m6811-elf and m6812-elf.
        * configure: Regenerated.
        * m68hc11/Makefile.in: New file.
        * m68hc11/configure.in: New file.
        * m68hc11/configure: New file.
        * m68hc11/crt0.S: New file.
        * m68hc11/sci-inout.S: New file for 68hc11/68hc12 sio.
        * m68hc11/sim-valid-m68hc11.ld: New file.
        * m68hc11/sim-valid-m68hc12.ld: New file.
        * m68hc11/syscalls.c: New file.
2002-07-23 21:56:27 +00:00
Jeff Johnston d254189b38 2002-07-23 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/string.h: Add mempcpy, strndup, and _strndup_r
        prototypes.
        * libc/stdlib/Makefile.am: Remove strdup.c and strdup_r.c.
        * libc/stdlib/Makefile.in: Regenerated.
        * libc/stdlib/strdup.c: Removed.
        * libc/stdlib/strdup_r.c: Removed.
        * libc/string/Makefile.am: Add strdup.c, strdup_r.c, memccpy.c,
        mempcpy.c, strndup.c, and strndup_r.c.
        * libc/string/Makefile.in: Regenerated.
        * libc/string/memccpy.c: New file.
        * libc/string/mempcpy.c: Ditto.
        * libc/string/strndup.c: Ditto.
        * libc/string/strndup_r.c: Ditto.
        * libc/string/strdup.c: New file moved from stdlib.
        * libc/string/strdup_r.c: Ditto.
        * libc/string/strings.tex: Add memccpy and mempcpy documentation.
2002-07-23 21:38:00 +00:00
Danny Smith 5e50e4e45c * include/oleauto.h (V_UNION): Correct definition for case of
NONAMELESSUNION:
	(V_VT): Likewise.
2002-07-23 21:27:09 +00:00
Jeff Johnston bc10065533 2002-07-23 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/stdio.h: Move fcloseall prototype within
        #ifndef _REENT_ONLY section.
        * libc/sys/linux/Makefile.am: Add new files.
        * libc/sys/linux/Makefile.in: Regenerated.
        * libc/sys/linux/sys/stdio.h: Add ctermid prototype.
        * libc/sys/linux/sys/unistd.h: Add ttyname_r prototype.
        * libc/sys/linux/sys/types.h: Add ino64_t type.
        * libc/sys/linux/ctermid.c: New file.
        * libc/sys/linux/ttyname_r.c: Ditto.
        * libc/sys/linux/readdir64.c: Ditto.
2002-07-23 19:40:45 +00:00
Corinna Vinschen 010bb8a4a1 * fhandler_serial.cc: Use must_init_serial_line capability throughout.
* wincap.cc: Set flag must_init_serial_line appropriately.
	* wincap.h: Add flag must_init_serial_line.
2002-07-23 14:47:17 +00:00
Corinna Vinschen fdb93cd2e1 * security.cc (get_group_sidlist): Create group list from /etc files
even if DC is available but access fails.
2002-07-23 14:34:27 +00:00
Andrey Volkov 15d0d6bd1e sim-h8300.h new file 2002-07-23 10:30:14 +00:00
Danny Smith 80ac7b1f9a * include/oleauto.h (V_BOOL): Define in terms of boolVal,
not bool, for C as well as C++.
2002-07-23 02:09:27 +00:00
Jeff Johnston f5f27f0778 2002-07-22 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/stdio.h (fcloseall, _fcloseall_r): Added prototypes.
        * libc/stdio/Makefile.am: Added fcloseall.c support.
        * libc/stdio/Makefile.in: Regenerated.
        * libc/stdio/fcloseall.c: New file.
        * libc/stdio64/Makefile.am: Remove missing .def references.
        * libc/stdio64/Makefile.in: Regenerated.
2002-07-22 23:53:50 +00:00
Jeff Johnston d541ba3ec0 2002-07-22 Jeff Johnston <jjohnstn@redhat.com>
* libc/machine/powerpc/time.c: Removed..renamed to times.c.
        * libc/machine/powerpc/times.c: New file.
        * libc/machine/powerpc/Makefile.am: Change time.c to times.c.
        * libc/machine/powerpc/Makefile.in: Regenerated.
2002-07-22 20:26:51 +00:00
Jeff Johnston e1f9c8e824 2002-07-22 Aldy Hernandez <aldyh@redhat.com>
* rs6000/simulator.S (gettimeofday): New.
        (getrusage): New.
2002-07-22 19:26:25 +00:00
Jeff Johnston e964bca8a8 2002-07-19 Aldy Hernandez <aldyh@redhat.com>
* libc/machine/powerpc/time.c: New file.
        * libc/machine/powerpc/Makefile.am (lib_a_SOURCES): Add
        time.c.
        * libc/machine/powerpc/Makefile.in: Regenerated.
2002-07-22 19:24:53 +00:00
Thomas Fitzsimmons 5e7d0a5510 * libc/libc.texinfo: Change copyright notices to Red Hat from
Cygnus.
	* libm/libm.texinfo: Likewise.
	* README: Change docs URL to
	http://sources.redhat.com/newlib/docs.html.
2002-07-22 16:40:48 +00:00
Christopher Faylor 08e2551c20 * fhandler_serial.cc: Fix formatting problems introduced by below changes. 2002-07-22 14:30:30 +00:00
Corinna Vinschen 780c42b43a * fhandler.h (class fhandler_serial): Add new members of
the class - rts,dtr and method ioctl(). Variables rts and dtr
	important for Win 9x only.
	* fhandler_serial.cc (fhandler_serial::open): Add initial setting
	of dtr and rts. Important for Win 9x only.
	(fhandler_serial::ioctl): New function. Implements commands TIOCMGET,
	TIOCMSET and TIOCINQ.
	(fhandler_serial::tcflush): Fixed found error.
	(fhandler_serial::tcsetattr): Add settings of rts and dtr. Important
	for Win 9x only.
	* termios.h: Add new defines as a support for ioctl() function
	on serial device.
2002-07-22 09:11:45 +00:00
Danny Smith 6b2ba9ad49 2002-07-22 Danny Smith <dannysmith@users.sourceforge.net>
* include/shlwapi.h: New file.
	Thanks to: Mattia Barbon  <mbarbon@dsi.unive.it> and
	Victor Porton  <porton@narod.ru> for contributions.
	* lib/shlwapi.def: New file.
	* lib/test.c: #include shlwapi.h.
2002-07-22 03:10:43 +00:00
Danny Smith 9e35380b5a 2002-07-21 Bart Oldeman <bart.oldeman@btinternet.com>
* include/shlobj.h (FCIDM_MENU_FAVORITES): Remove bogus
	character.
	* include/winsock2.h (struct sockaddr): Use __int64 instead of
	long long.
	* include/kernel32.c (GetCurrentFiber, GetFiberData): Watcom
	does not need external library functions.
2002-07-21 00:17:41 +00:00
Christopher Faylor 5ec1dcc5bf * autoload.cc (LoadDLLprime): Add jmp call to allow streamlining of later jmp
rewrite.
(doit): Avoid use of cx register.  Just change one word to avoid races.
2002-07-20 04:59:15 +00:00
Jeff Johnston 504628e782 2002-07-19 Jeff Johnston <jjohnstn@redhat.com>
* libc/sys/linux/Makefile.am: Add pathconf.c and fpathconf.c.
        * libc/sys/linux/Makefile.in: Regenerated.
        * libc/sys/linux/inode.c: Add chmod, fchmod, and chown syscalls.
        * libc/sys/linux/io.c: Add ftruncate syscall.
        * libc/sys/linux/fpathconf.c: New file.
        * libc/sys/linux/pathconf.c: Ditto.
        * libc/sys/linux/linux_fsinfo.h: Ditto.
        * libc/sys/linux/sys/unistd.h: Ditto.
2002-07-20 01:03:08 +00:00
Danny Smith f658e220d9 2002-07-20 Casper S. Hornstrup <chorns@users.sourceforge.net>
* include/winbase.h (GetEnvironmentStringsA): Remove duplicate
	definition.
	(Interlocked*): Wrap in #ifndef __INTERLOCKED_DECLARED to
	avoid compile error when already defined.

2002-07-20  Steven Edwards  <Steven_Ed4153@yahoo.com>

	* include/winuser.h (WM_MENURBUTTONUP): Add define.
2002-07-20 00:12:25 +00:00
Christopher Faylor 44480f46ea white space 2002-07-19 23:48:17 +00:00
Jeff Johnston b155ad9f64 2002-07-19 Jeff Johnston <jjohnstn@redhat.com>
* libc/stdio64/Makefile.am: Remove missing files.
        * libc/stdio64/Makefile.in: Regenerated.
2002-07-19 23:27:05 +00:00
Jeff Johnston c119e0ab7a 2002-07-19 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/sys/config.h[__i386__][__linux__]: Define
        _LARGE64FILE_SOURCE to 1.
        * libc/sys/linux/Makefile.am: Add getrlimit64.c and setrlimit64.c.
        * libc/sys/linux/Makefile.in: Regenerated.
        * libc/sys/linux/resource.c: Add __getrlimit and __setrlimit aliases.
        * libc/sys/linux/sys/linux_time.h: Protect struct timeval definition.
        * libc/sys/linux/sys/resource.h: Include <bits/resource.h> instead
        of <linux/resource.h>.
        * libc/sys/linux/getrlimit64.c: New file.
        * libc/sys/linux/setrlimit64.c: Ditto.
2002-07-19 23:21:43 +00:00
Thomas Fitzsimmons 9b022d6db8 * libc/argz/argz_replace.c: Include buf_findstr.h.
* libc/argz/buf_findstr.c: Likewise.
	* libc/argz/envz_entry.c: Include buf_findstr.h.  Cast return
	value to (char *).
	* libc/argz/envz_get.c: Likewise.
	* libc/include/sys/unistd.h: Add getopt and getsubopt declarations.
	* libc/stdlib/Makefile.am (LIB_SOURCES): Add getsubopt.c.
	* libc/stdlib/getsubopt.3: New file.
	* libc/stdlib/getsubopt.c: New file.
	* libc/sys/linux/machine/i386/socketcall.h (__sockcall_base):
	Change esp to ebp.
2002-07-19 20:36:09 +00:00
Chris Demetriou d477c5225d 2002-07-19 Chris Demetriou <cgd@broadcom.com>
* MAINTAINERS: Clarify updates of config.guess and config.sub, and
	add one instance of them which was missed to the list to update.
2002-07-19 18:16:30 +00:00
Corinna Vinschen 095a1272e8 * security.cc (get_unix_group_sidlist): Create.
(get_supplementary_group_sidlist): Evolve into get_unix_group_sidlist.
	(get_user_local_groups): Add check for duplicates.
	(get_user_primary_group): Suppress.
	(get_group_sidlist): Silently ignore PDC unavailability.
	Call get_unix_group_sidlist() before get_user_local_groups().
	Remove call to get_supplementary_group_sidlist(). Never call
	get_user_primary_group() as the passwd group is always included.
	Add well_known_authenticated_users_sid in only one statement.
2002-07-19 15:04:18 +00:00
Christopher Faylor 86620e8f92 * fhandler_serial.cc (fhandler_serial::tcflush): Fix typo. 2002-07-19 14:17:11 +00:00
Nick Clifton bd36eb7f62 Add IP2k GAS and OPCODES support. 2002-07-19 07:52:39 +00:00
Jeff Johnston 3b0f85c0f1 2002-07-18 Chris Demetriou <cgd@broadcom.com>
* read.c (read): Don't assign past end of buffer, fix return value.
2002-07-18 20:04:59 +00:00