Age | Commit message (Collapse) | Author |
|
* 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.
|
|
* 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.
|
|
* rs6000/simulator.S (gettimeofday): New.
(getrusage): New.
|
|
* libc/machine/powerpc/time.c: New file.
* libc/machine/powerpc/Makefile.am (lib_a_SOURCES): Add
time.c.
* libc/machine/powerpc/Makefile.in: Regenerated.
|
|
Cygnus.
* libm/libm.texinfo: Likewise.
* README: Change docs URL to
http://sources.redhat.com/newlib/docs.html.
|
|
|
|
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.
|
|
* 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.
|
|
* 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.
|
|
rewrite.
(doit): Avoid use of cx register. Just change one word to avoid races.
|
|
* 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.
|
|
* 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.
|
|
|
|
* libc/stdio64/Makefile.am: Remove missing files.
* libc/stdio64/Makefile.in: Regenerated.
|
|
* 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.
|
|
* 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.
|
|
* MAINTAINERS: Clarify updates of config.guess and config.sub, and
add one instance of them which was missed to the list to update.
|
|
(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.
|
|
|
|
|
|
* read.c (read): Don't assign past end of buffer, fix return value.
|
|
* configure.host(stdio64_dir): New setting that is used to
enable building of new stdio64 directory.
* libc/Makefile.am[HAVE_STDIO64_DIR]: Add support for
large files.
(stmp-stdio64,stdio64.texi): New targets to optionally add in
stdio64 info to info files.
* libc/Makefile.in: Regenerated.
* libc/configure: Ditto.
* libc/configure.in: Add configuration variables that are set
when stdio64 is selected as subdir in configure.host.
* libc/libc.texinfo: Add optional menu item for Stdio64, based
on whether STDIO64 flag is set or not.
* libc/sys.tex: Add optional stdio64 syscalls based on whether
STDIO64 flag is set or not.
* libc/include/reent.h[__LARGE64_FILES]: Add new stdio64
_r sycall routines.
* libc/include/stdio.h[__LARGE64_FILES]: Add new stdio64 prototypes.
(FILE): Typedef'd to __FILE instead of struct __sFILE directly.
(__SL64): New file flag indicating file is opened via fopen64.
* libc/include/sys/_types.h(_off64_t): Added.
* libc/include/sys/config.h: For x86-linux, define __LARGE64_FILES.
* libc/include/sys/reent.h(struct __sFILE64): New file structure
for 64-bit offset large file support.
(__FILE): New intermediate type either set to struct __sFILE64 or
struct __sFILE, depending on whether __LARGE64_FILES is set or not.
* libc/reent/Makefile.am[HAVE_STDIO64_DIR]: Add new files.
* libc/reent/Makefile.in: Regenerated.
* libc/reent/fstat64r.c: New file.
* libc/reent/lseek64r.c: Ditto.
* libc/reent/open64r.c: Ditto.
* libc/reent/reent.tex: Optionally add stdio64 reentrant syscalls
based on whether STDIO64 flag is set.
* libc/stdio/stdio.tex: Add blank line.
* libc/stdio64/Makefile.am: New file.
* libc/stdio64/Makefile.in: Ditto.
* libc/stdio64/fgetpos64.c: Ditto.
* libc/stdio64/fopen64.: Ditto.
* libc/stdio64/freopen64.c: Ditto.
* libc/stdio64/fseeko64.c: Ditto.
* libc/stdio64/fsetpos64.c: Ditto.
* libc/stdio64/ftello64.c: Ditto.
* libc/stdio64/local64.h: Ditto.
* libc/stdio64/stdio64.c: Ditto.
* libc/stdio64/stdio64.tex: Ditto.
* libc/stdio64/tmpfile64.c: Ditto.
* libc/sys/linux/io64.c: Add weak aliases for lseek64, fstat64, and
open64.
|
|
2002-07-17 Andrew Cagney <cagney@redhat.com>
* run-sim.h: Add #ifdef RUN_SIM_H wrapper.
(sim_set_callbacks, sim_size, sim_trace)
(sim_set_trace, sim_set_profile_size, sim_kill): Declare. Moved
to here from "gdb/remote-sim.h".
Index: include/gdb/ChangeLog
2002-07-17 Andrew Cagney <cagney@redhat.com>
* remote-sim.h: Update copyright.
(sim_set_callbacks, sim_size, sim_trace)
(sim_set_trace, sim_set_profile_size, sim_kill): Delete. Moved to
"sim/common/run-sim.h".
|
|
* sim-sh.h: Add enum constants for sh[1-4], sh3e, sh3?-dsp,
renumbering the sh-dsp registers to use distinct numbers.
sim/sh:
* Makefile.in (interp.o): Depend on $(srcroot)/include/gdb/sim-sh.h.
* interp.c: Include "gdb/sim-sh.h".
(sim_store_register, sim_fetch_register): Use constants defined there.
gdb:
* sh-tdep.c (sh_dsp_register_sim_regno): New function.
(sh_gdbarch_init): Use it for sh-dsp.
|
|
|
|
|
|
* include/commdlg.h: Define CDN_* notification message constants
as UINT.
2002-07-17 Mattia Barbon <mbarbon@users.sourceforge.net>
* include/commctrl.h: Define notification message constants for
NMHDR.code as UINT.
|
|
* include/ddeml.h (MH_*) Add defines.
(MONHSZSTRUCT): Add structure and typedefs.
(MONLINKSTRUCT): Ditto.
(MONCONVSTRUCT): Ditto.
(MONCBSTRUCT): Ditto.
(MONERRSTRUCT): Ditto.
(MONMSGSTRUCT): Ditto.
* include/windef.h: Don't define __cdecl or _cdecl for
__WATCOM__.
Don't define _export or __export for __WATCOM__.
* include/windows.h (imm.h): #include.
* include/winnt.h (LPEXCEPTION_RECORD): Add typedef.
2002-07-17 Danny Smith <dannysmith@users.sourceforge.net>
* include/wtypes.h: Remove duplicate #includes of rhc.h and
rpcndr.h.
|
|
|
|
* config.guess: Update to 2002-07-09 version.
* config.sub: Update to 2002-07-03 version.
|
|
* libc/Makefile.am (stmp-extra): New target to set makeinfo flag
if LIBC_EXTRA_LIB is present.
* libc/Makefile.in: Regenerated.
* libc/libc.texinfo: Add blank line.
* libc/argz/Makefile.am: Add doc support.
* libc/search/Makefile.am: Ditto.
* libc/argz/Makefile.in: Regenerated.
* libc/search/Makefile.in: Ditto.
* libc/misc/misc.tex: Add ffs function.
* libc/stdio/ftell.c: Fix missing doc delimeter in description.
|
|
|
|
* libc/include/sys/config.h[__H8300__]: Replace __SMALL_BITFIELDS
definition that was removed in error.
Move definition before comment regarding H8300 macro definition.
|
|
* libc/include/sys/config.h[__H8300__]: Replace __SMALL_BITFIELDS
definition that was removed in error.
|
|
* libc/include/machine/ieeefp.h: Change to only define
floating point defines (e.g one of __IEEE_BIG_ENDIAN or
__IEEE_LITTLE_ENDIAN must be defined for each platform).
* libc/include/sys/config.h: Include <machine/ieeefp.h> and
remove redundant floating point definitions.
|
|
* libc/sys/linux/callocr.c: Fix so code references
calloc.
|
|
* libc/sys/linux/Makefile.am: Add new files.
* libc/sys/linux/Makefile.in: Regenerated.
* libc/sys/linux/bp-sym.h: Moved to include directory.
* libc/sys/linux/mmap.c: Add weak aliases: __mmap, __munmap, __mremap.
* libc/sys/linux/inode.c: Set _LIBC to 1.
* libc/sys/linux/mq_close.c: Ditto.
* libc/sys/linux/mq_getattr.c: Ditto.
* libc/sys/linux/mq_open.c: Ditto.
* libc/sys/linux/mq_receive.c: Ditto.
* libc/sys/linux/mq_send.c: Ditto.
* libc/sys/linux/mq_setattr.c: Ditto.
* libc/sys/linux/mq_unlink.c: Ditto.
* libc/sys/linux/calloc.c: New file.
* libc/sys/linux/callocr.c: Ditto.
* libc/sys/linux/cfreer.c: Ditto.
* libc/sys/linux/config.h: Ditto.
* libc/sys/linux/free.c: Ditto.
* libc/sys/linux/freer.c: Ditto.
* libc/sys/linux/msize.c: Ditto.
* libc/sys/linux/msizer.c: Ditto.
* libc/sys/linux/mstats.c: Ditto.
* libc/sys/linux/mtrim.c: Ditto.
* libc/sys/linux/mtrimr.c: Ditto.
* libc/sys/linux/pvallocr.c: Ditto.
* libc/sys/linux/realloc.c: Ditto.
* libc/sys/linux/reallocr.c: Ditto.
* libc/sys/linux/thread-m.h: Ditto.
* libc/sys/linux/vallocr.c: Ditto.
* libc/sys/linux/bp-checks.h: Ditto.
* libc/sys/linux/libc-symbols.h: Ditto.
* libc/sys/linux/libc-tsd.h: Ditto.
* libc/sys/linux/libintl.h: Ditto.
* libc/sys/linux/malign.c: Ditto.
* libc/sys/linux/malignr.c: Ditto.
* libc/sys/linux/mallinfor.c: Ditto.
* libc/sys/linux/malloc.c: Ditto.
* libc/sys/linux/mallocr.c: Ditto.
* libc/sys/linux/malloptr.c: Ditto.
* libc/sys/linux/mallstatsr.c: Ditto.
* libc/sys/linux/mcheck.c: Ditto.
* libc/sys/linux/mhooks.h: Ditto.
* libc/sys/linux/include/bp-sym.h: Ditto.
* libc/sys/linux/include/malloc.h: Ditto.
* libc/sys/linux/include/mcheck.h: Ditto.
* libc/sys/linux/machine/i386/getpagesize.c: New file.
* libc/sys/linux/machine/i386/Makefile.am: Add getpagesize.c.
* libc/sys/linux/machine/i386/Makefile.in: Regenerated.
* libc/sys/linux/machine/i386/sysdep.h: New file.
* libc/sys/linux/machine/i386/weakalias.h: Add weak_function support.
* libc/sys/linux/sys/dirent.h: Set _LIBC to 1.
* libc/sys/linux/sys/types.h: Add new types.
|
|
|
|
* exceptions.cc (error_start_init): Use the name derived from GetModuleName
rather than myself->progname.
|
|
warning.
* shared.cc (memory_init): Remove debug_init call.
* debug.h (handle_list): Change "clexec" to "inherited".
* debug.cc: Remove a spurious declaration.
(setclexec): Conditionalize away since it is currently unused.
(add_handle): Use inherited field rather than clexec.
(debug_fixup_after_fork_exec): Ditto. Move debugging output to delete_handle.
(delete_handle): Add debugging output.
* fhandler.cc (fhandler_base::set_inheritance): Don't bother setting
inheritance in debugging table since the handle was never protected anyway.
(fhandler_base::fork_fixup): Ditto.
* exceptions.cc (debugger_command): Revert.
|
|
|
|
|
|
(cygrun.exe): Move -lgcc last.
|
|
|
|
|
|
set up.
(break_here): New function, for debugging.
(initial_env): Add program name to "Sleeping" message. Implement new
"CYGWIN_DEBUG" environment variable option.
* exceptions.cc (debugger_command): Add argument to dumper call.
* strace.cc (strace::hello): Use winpid if cygwin pid is unavailable.
(strace::vsprntf): Ditto.
|
|
functionality.
* cygheap.cc (init_cheap): Move cygheap_max calculation to _csbrk.
(_csbrk): Reorganize to not assume first allocation is <= 1 page.
(cygheap_setup_for_child): Mark protected handle as inheritable.
* cygheap.h (cygheap_debug): New struct.
(init_cygheap): Add new structure when debugging.
* dcrt0.cc (dll_crt0_1): Remove call to debug_init. Close ppid_handle here, if
appropriate. Don't protect subproc_ready, since it is already protected in the
parent. Call memory_init prior to ProtectHandle to ensure that cygheap is set
up. Call debug_fixup_after_fork_exec when appropriate.
(_dll_crt0): Don't close ppid_handle here.
* debug.cc: Use cygheap debug structure rather than static elements throughout.
(add_handle): Don't issue a warning if attempt to protect handle in exactly the
same way from exactly the same place. Add pid info to warning output. Accept
additional argument controlling whether handle is to be inherited. Add pid to
stored information.
(debug_fixup_after_fork_exec): Renamed from debug_fixup_after_fork. Reorganize
to avoid erroneously skipping handles.
(mark_closed): Add pid info to warning output.
(setclexec): Rename from setclexec_pid.
* fhandler.cc (fhandler_base::get_default_fmode): Minor reorg.
(fhandler_base::fstat): Add debugging output.
(fhandler_base::set_inheritance): Call setclexec rather than setclexec_pid.
(fhandler_base::fork_fixup): Ditto.
* fhandler_console.cc (get_tty_stuff): Mark protected handle as inheritable.
* fhandler_tty.cc (fhandler_tty_slave::open): Ditto.
* tty.cc (tty::make_pipes): Ditto.
(tty::common_init): Ditto.
* fork.cc (fork_parent): Ditto.
(fork_child): Close protected handles with correct name. Remove
debug_fixup_after_fork call.
* fhandler_socket.cc (fhandler_socket::create_secret_event): Mark protected
handle as inheritable/non-inheritable, as appropriate.
* shared.cc (memory_init): Mark protected handle as inheritable. Call
debug_init here.
* sigproc.cc (wait_sig): Close protected handle with correct name.
* spawn.cc (spawn_guts): Rename spr to subproc_ready and mark it as
inheritable.
* exceptions.cc (debugger_command): Try to run dumper.exe, if found.
* syscalls.cc (fstat64): Don't follow symlinks for path_conv lookup since path
is already resolved.
|
|
|
|
* libc/sys/linux/include/mqueue.h: Change to use <bits/siginfo.h>
instead of <asm/siginfo.h>.
* libc/sys/linux/sys/signal.h: Change to include various linux
<bits/xxx.h> header files, rather than <linux/signal.h> so as
to work with multiple releases of glibc header files.
|
|
|