]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
22 years ago * testsuite/lib/newlib.exp: Add newlib_include_flags to compile
Thomas Fitzsimmons [Thu, 16 May 2002 00:17:50 +0000 (00:17 +0000)]
* testsuite/lib/newlib.exp: Add newlib_include_flags to compile
options when testing natively on i[3456]86-*-linux.

22 years ago * ChangeLog: Update.
Thomas Fitzsimmons [Wed, 15 May 2002 23:49:07 +0000 (23:49 +0000)]
* ChangeLog: Update.

22 years ago * testsuite/lib/checkoutput.exp (newlib_check_output): Output
Thomas Fitzsimmons [Wed, 15 May 2002 23:48:47 +0000 (23:48 +0000)]
* testsuite/lib/checkoutput.exp (newlib_check_output): Output
only one pass or fail per test file.  Trim \r's from output
values received from test programs.  Remove support for named
tests.
* testsuite/newlib.locale/UTF-8.exp: Update to support new
newlib_check_output behaviour.
* testsuite/newlib.locale/UTF-8.c: Likewise.

22 years ago2002-05-15 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 15 May 2002 22:58:10 +0000 (22:58 +0000)]
2002-05-15  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/stdlib.h: Add on_exit prototype.
        * libc/include/sys/reent.h (struct _atexit): Add argument array
        and bits to track type of exit routine to support both on_exit
        and atexit.
        (_REENT_INIT_PTR): Add missing fields that won't be zeroed out
        by default and change the setting of the atexit structure.
        (_REENT_INIT)[!_REENT_SMALL]: Remove extraneous end brace.
        * libc/stdlib/on_exit.c: New file.
        * libc/stdlib/Makefile.am: Add support for on_exit.
        * libc/stdlib/Makefile.in: Regenerated.
        * libc/stdlib/atexit.c: Change to initialize types field.
        * libc/stdlib/exit.c: Change to look at types field for each
        exit routine and either call an atexit-style or an on_exit-style
        routine accordingly.

22 years ago * cygpath.cc (get_short_paths): Fix more error checking.
Corinna Vinschen [Wed, 15 May 2002 11:36:00 +0000 (11:36 +0000)]
* cygpath.cc (get_short_paths): Fix more error checking.
(get_short_name): Ditto.

* cygpath.cc (main): Add option H to show the Windows' profiles
directory.  Support short names for options DPSW.  Clean up
copied code lines.
* utils.sgml: Update cygpath section for H option and s support.

22 years ago * cygpath.cc (get_short_name): Fix error checking.
Corinna Vinschen [Tue, 14 May 2002 16:07:26 +0000 (16:07 +0000)]
* cygpath.cc (get_short_name): Fix error checking.

22 years ago* kill.cc (prog_name) New global variable.
Christopher Faylor [Mon, 13 May 2002 23:42:32 +0000 (23:42 +0000)]
* kill.cc (prog_name) New global variable.
(usage) Standardize usage output.  Add descriptions.
(print_version) New function.
(longopts) Accomodate new version option.
(opts) Ditto.
(main) Ditto.

22 years ago* configure.in: simplify makefile fragment collection.
DJ Delorie [Mon, 13 May 2002 21:19:04 +0000 (21:19 +0000)]
* configure.in: simplify makefile fragment collection.

22 years ago* configure.in: remove code to build emacs.
DJ Delorie [Mon, 13 May 2002 21:16:43 +0000 (21:16 +0000)]
* configure.in: remove code to build emacs.

22 years ago* mh-apollo68: remove unused HDEFINES setting.
DJ Delorie [Mon, 13 May 2002 21:14:19 +0000 (21:14 +0000)]
* mh-apollo68: remove unused HDEFINES setting.
* mh-dgux: remove unused HDEFINES setting.
* mh-dgux386: remove unused HDEFINES setting, duplicate RANLIB=true

22 years ago* configure.in : Remove --srcdir argument from targargs and buildargs
DJ Delorie [Mon, 13 May 2002 21:11:50 +0000 (21:11 +0000)]
* configure.in : Remove --srcdir argument from targargs and buildargs
(it's always overridden in the Makefile anyway).  Rearrange a bit.

22 years ago2002-05-13 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 13 May 2002 20:59:40 +0000 (20:59 +0000)]
2002-05-13  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Don't
        allow v specifier with n or L specifiers.  For vector c format,
        move tmp declaration to the top.

22 years ago* configure: move some logic to configure.in
DJ Delorie [Mon, 13 May 2002 20:55:25 +0000 (20:55 +0000)]
* configure: move some logic to configure.in
* configure.in: move some logic from configure

22 years ago* cygwin.din: Add strlcat and strlcpy.
Christopher Faylor [Mon, 13 May 2002 19:53:46 +0000 (19:53 +0000)]
* cygwin.din: Add strlcat and strlcpy.
* include/cygwin/version.h: Increment API minor version number.

22 years ago2002-05-13 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 13 May 2002 19:52:17 +0000 (19:52 +0000)]
2002-05-13  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Restore
        the original format specifier when looping for vectors to compensate
        for any changes made in vector %g format processing.
        Also add syntax checking for various invalid scenarios
        involving vector format extensions.
        * libc/machine/powerpc/vfscanf.c(__VFSCANF_R)[__ALTIVEC__]: Fix
        return code setting for vector formats.  Also treat vector
        separator mismatch as a match error instead of an input error.
        Perform some syntax checking for vector formats.

22 years ago * strlcat.c: Add file.
Thomas Fitzsimmons [Mon, 13 May 2002 19:33:46 +0000 (19:33 +0000)]
* strlcat.c: Add file.
* strlcpy.c: Add file.

22 years ago2002-05-10 Mark Bradshaw <bradshaw@staff.crosswalk.com>
Thomas Fitzsimmons [Mon, 13 May 2002 19:33:01 +0000 (19:33 +0000)]
2002-05-10  Mark Bradshaw  <bradshaw@staff.crosswalk.com>

* libc/include/string.h (!__STRICT_ANSI__): Add strlcat and strlcpy.
* libc/string/Makefile.am: Add strlcat.c and strlcpy.c.
* libc/string/strlcat.c: New file.
* libc/string/strlcpy.c: New file.

22 years ago * shared.cc (__sec_user): Split into sec_acl() and call orig_sid().
Corinna Vinschen [Mon, 13 May 2002 12:10:49 +0000 (12:10 +0000)]
* shared.cc (__sec_user): Split into sec_acl() and call orig_sid().
(sec_acl): Create from part of __sec_user(), except creator/owner.
* security.h: Define sec_acl() and MAX_DACL_LEN.

22 years ago* kill.cc (listsig): Display numeric id when given symbolic input.
Christopher Faylor [Mon, 13 May 2002 05:35:44 +0000 (05:35 +0000)]
* kill.cc (listsig): Display numeric id when given symbolic input.

22 years agodocument kill -h.
Christopher Faylor [Mon, 13 May 2002 05:25:14 +0000 (05:25 +0000)]
document kill -h.

22 years ago* kill.cc (usage): Show new options. Allow specification of output stream.
Christopher Faylor [Mon, 13 May 2002 05:23:37 +0000 (05:23 +0000)]
* kill.cc (usage): Show new options.  Allow specification of output stream.
(main): Implement 'h' option.

22 years agoUpdate ChangeLog with missing entry.
Christopher Faylor [Mon, 13 May 2002 05:18:34 +0000 (05:18 +0000)]
Update ChangeLog with missing entry.

22 years ago* Makefile.in (kill.exe): Add as a specific target.
Christopher Faylor [Mon, 13 May 2002 05:13:58 +0000 (05:13 +0000)]
* Makefile.in (kill.exe): Add as a specific target.
* kill.cc (longopts): New.
(opts): Ditto.
(get_sig): Accept const char * parameter.  Return -1 on unknown signal.
(test_for_unknown_sig): New function.
(listsig): New function.
(main): Use getopt_long for option parsing.  Implement -l, and -s options.  Use
test_for_unknown_sig() to test for signal validity.

22 years agoremove a comma
Christopher Faylor [Sun, 12 May 2002 19:29:20 +0000 (19:29 +0000)]
remove a comma

22 years ago* fhandler_disk_file.cc (fhandler_disk_file::open): Avoid using O_DIROPEN when
Christopher Faylor [Sun, 12 May 2002 19:20:01 +0000 (19:20 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::open): Avoid using O_DIROPEN when
OS doesn't support it.  Return proper errno in that case.

22 years agofix entry
Christopher Faylor [Sun, 12 May 2002 04:55:10 +0000 (04:55 +0000)]
fix entry

22 years ago* syscalls.cc (_read): Change error to EBADF if attempt to write to a
Christopher Faylor [Sun, 12 May 2002 04:43:29 +0000 (04:43 +0000)]
* syscalls.cc (_read): Change error to EBADF if attempt to write to a
non-writable fd.

22 years ago* mount.cc (do_mount): Default to non-exec option for remote drives. Report
Christopher Faylor [Sun, 12 May 2002 04:29:54 +0000 (04:29 +0000)]
* mount.cc (do_mount): Default to non-exec option for remote drives.  Report
warnings before attempting a mount.
(longopts): Add no-executable option.
(mount_commands): Ditto.
(opts): Ditto.
(usage): Ditto.  Indicate that system mount is now the default.
(main): Accommodate no-executable option.  Make system mount the default.
* umount.cc (usage): Indicate that system umount is now the default.
(main): Make system umount the default.

22 years ago* fhandler.h (executable_states): For now, make dont_care_if_executable
Christopher Faylor [Sun, 12 May 2002 03:08:59 +0000 (03:08 +0000)]
* fhandler.h (executable_states): For now, make dont_care_if_executable
equivalent to not_executable.
* sys/mount.h: Define MOUNT_NOTEXEC.
* path.h (fs_info): New class.
(path_conv): Move fs-specific fields to new 'fs' structure.
(path_conv::update_fs_info): Move to fs_info and rename to just 'update'.
* path.cc (fs_info::update): Ditto.  Return 'true' if successful.
(fillout_mntent): Add ',noexec' to list of reported options.

22 years ago* fhandler_virtual.cc (fhandler_virtual::close): Quiet a compiler warning.
Christopher Faylor [Sun, 12 May 2002 01:59:53 +0000 (01:59 +0000)]
* fhandler_virtual.cc (fhandler_virtual::close): Quiet a compiler warning.

22 years agofix formatting
Christopher Faylor [Sun, 12 May 2002 01:50:38 +0000 (01:50 +0000)]
fix formatting

22 years agofix comment
Christopher Faylor [Sun, 12 May 2002 01:41:17 +0000 (01:41 +0000)]
fix comment

22 years ago* autoload.cc: Add dynamic load statements for 'ZwQueryInformationProcess' and
Christopher Faylor [Sun, 12 May 2002 01:37:48 +0000 (01:37 +0000)]
* autoload.cc: Add dynamic load statements for 'ZwQueryInformationProcess' and
'ZwQueryVirtualMemory'.
* fhandler.h: Change type of bufalloc and filesize members of fhandler_virtual
from int to size_t.  Change type of position member from __off32_t to
__off64_t.  Add new fileid member to fhandler_virtual class.  Make seekdir take
an __off64_t argument.  Make lseek take an __off64_t argument.  Add
fill_filebuf method to fhandler_virtual.  Add fill_filebuf method to
fhandler_proc.  Add fill_filebuf method to fhandler_registry.  Add fill_filebuf
method to fhandler_process.  Add saved_pid and saved_p members to
fhandler_process.
* fhandler_proc.cc (proc_listing_array): Add 'loadavg', 'meminfo', and 'stat'.
(proc_fhandlers array): Ditto.
(fhandler_proc::open): Use fill_filebuf to flesh out the file contents.
(fhandler_proc::fill_filebuf): New method.
(fhandler_proc::format_proc_meminfo): Ditto.
(fhandler_proc::format_proc_stat): Ditto.
(fhandler_proc::format_proc_uptime): Ditto.
* fhandler_process.cc (process_listing): Add 'stat' and 'statm'.
(fhandler_process::fstat): Find the _pinfo structure for the process named in
the filename.  Return ENOENT if the process is no longer around.  Set the gid
and uid fields of the stat structure.
(fhandler_process::open): Store pid and pointer to _pinfo structure in
saved_pid and saved_p respectively.  Use fill_filebuf to flesh out file
contents.
(fhandler_proc::fill_filebuf): New method.
(format_process_stat): New function.
(format_process_status): Ditto.
(format_process_statm): Ditto.
(get_process_state): Ditto.
(get_mem_values): Ditto.
* fhandler_registry.cc (fhandler_registry::seekdir): Change argument type from
__off32_t to __off64_t.
(fhandler_registry::fill_filebuf): New method.
* fhandler_virtual.cc (fhandler_virtual::seekdir): Change argument type from
__off32_t to __off64_t.
(fhandler_virtual::lseek): Ditto.
(fhandler_virtual::fill_filebuf): New method.
(fhandler_virtual::fhandler_virtual): Initialise fileid to -1.
* wincap.cc: Set flag has_process_io_counters appropriately.
* wincap.h: Add flag has_process_io_counters.

22 years ago * libnosys/acconfig.h (HAVE_SECTION_ATTRIBUTES): New macro.
Thomas Fitzsimmons [Sat, 11 May 2002 20:48:04 +0000 (20:48 +0000)]
* libnosys/acconfig.h (HAVE_SECTION_ATTRIBUTES): New macro.
* libnosys/configure.in: Check gcc's support for section attributes.
* libnosys/warning.h: Have link_warning expand to nothing if gcc
does not support section attributes.

22 years ago2002-05-10 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Fri, 10 May 2002 22:53:56 +0000 (22:53 +0000)]
2002-05-10  Elena Zannoni  <ezannoni@redhat.com>

        * sim-sh.h: New file, for sh gdb<->sim interface.

22 years ago2002-05-10 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 10 May 2002 17:51:18 +0000 (17:51 +0000)]
2002-05-10  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/string/strchr.c: Fix comment typo.

22 years ago* syscalls.cc (_write): Change error to EBADF if attempt to write to a
Christopher Faylor [Thu, 9 May 2002 22:55:08 +0000 (22:55 +0000)]
* syscalls.cc (_write): Change error to EBADF if attempt to write to a
non-writable fd.

22 years ago2002-05-09 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Thu, 9 May 2002 22:19:48 +0000 (22:19 +0000)]
2002-05-09  Daniel Jacobowitz  <drow@mvista.com>

        * signals.h: Update comments.
        (enum target_signal): Remove conditional compilation around
        Mach-specific signals.  Move them to after TARGET_SIGNAL_DEFAULT.

22 years ago * acinclude.m4: Add support for --enable-newlib-multithread.
Thomas Fitzsimmons [Wed, 8 May 2002 20:35:16 +0000 (20:35 +0000)]
* acinclude.m4: Add support for --enable-newlib-multithread.
* configure.host (newlib_cflags): Add -D__SINGLE_THREAD__ if
--enable-newlib-multithread=no.

22 years ago * libc/stdio/getc_u.c: New file.
Thomas Fitzsimmons [Wed, 8 May 2002 19:11:22 +0000 (19:11 +0000)]
* libc/stdio/getc_u.c: New file.
* libc/stdio/getchar_u.c: New file.
* libc/stdio/putc_u.c: New file.
* libc/stdio/putchar_u.c: New file.
* libc/include/stdio.h: Add declarations for getc_unlocked,
getchar_unlocked, putc_unlocked and putchar_unlocked.
* libc/stdio/Makefile.am (LIB_SOURCES): Add new files.
(CHEWOUT_FILES): Add new files' .def's.
* libc/stdio/putchar.c (_putchar_r): Replace __sputc with putc.

22 years ago * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
Joern Rennecke [Wed, 8 May 2002 17:56:50 +0000 (17:56 +0000)]
* libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
Also handle as single quad word when destination ends at last
byte of first quad word.  Fix byte selection in single quad code.

22 years ago* common.h (NT_GNU_ABI_TAG): Define.
Jason Thorpe [Wed, 8 May 2002 14:28:37 +0000 (14:28 +0000)]
* common.h (NT_GNU_ABI_TAG): Define.
(GNU_ABI_TAG_LINUX): Define.
(GNU_ABI_TAG_HURD): Define.
(GNU_ABI_TAG_SOLARIS): Define.
(NT_NETBSD_IDENT): Define.
(NT_FREEBSD_ABI_TAG): Define.

22 years ago * cygheap.h (class cygheap_user): Add member `orig_psid'.
Corinna Vinschen [Wed, 8 May 2002 14:21:08 +0000 (14:21 +0000)]
* cygheap.h (class cygheap_user): Add member `orig_psid'.
Add method `orig_sid()'.
* cygheap.cc (cygheap_user::set_sid): Maintain orig_psid.

22 years ago* dumper.cc (usage) Standardize usage output. Generalize to allow use for
Christopher Faylor [Wed, 8 May 2002 01:55:56 +0000 (01:55 +0000)]
* dumper.cc (usage) Standardize usage output.  Generalize to allow use for
help.
(longopts) New struct.  Added longopts for all options.
(print_version) New function.
(main) Change getopt to getopt_long.  Accommodate new help and version options.

22 years ago * libc/machine/powerpc/vfprintf.c[__ALTIVEC__]: Add vector
Thomas Fitzsimmons [Wed, 8 May 2002 01:23:44 +0000 (01:23 +0000)]
* libc/machine/powerpc/vfprintf.c[__ALTIVEC__]: Add vector
support for 'p' format.  Fix code to print bytes for vector
integer formats that do not specify 'h' or 'l'.
* libc/machine/powerpc/vfscanf.c[__ALTIVEC__]: Add vector support
for 'p' specifier.  Fix code to scan 16 bytes for vector integer
formats that do not specify 'h' or 'l'.

22 years ago * libc/include/sys/stdio.h: New file.
Thomas Fitzsimmons [Wed, 8 May 2002 00:12:49 +0000 (00:12 +0000)]
* libc/include/sys/stdio.h: New file.
* libc/sys/linux/sys/stdio.h: New file.
* libc/include/stdio.h: Add declarations for flockfile,
ftrylockfile, and funlockfile.  Include <sys/stdio.h>.
* libc/stdio/clearerr.c: Add file locking.
* libc/stdio/fclose.c: Likewise.
* libc/stdio/feof.c: Likewise.
* libc/stdio/ferror.c: Likewise.
* libc/stdio/fflush.c: Likewise.
* libc/stdio/fgetc.c: Likewise.
* libc/stdio/fgetpos.c: Likewise.
* libc/stdio/fgets.c: Likewise.
* libc/stdio/fileno.c: Likewise.
* libc/stdio/fputc.c: Likewise.
* libc/stdio/fputs.c: Likewise.
* libc/stdio/fread.c: Likewise.
* libc/stdio/freopen.c: Likewise.
* libc/stdio/fseek.c: Likewise.
* libc/stdio/ftell.c: Likewise.
* libc/stdio/fwrite.c: Likewise.
* libc/stdio/getc.c: Likewise.
* libc/stdio/putc.c: Likewise.
* libc/stdio/setvbuf.c: Likewise.
* libc/stdio/ungetc.c: Likewise.
* libc/stdio/vfprintf.c: Likewise.

22 years ago * include/commctrl.h (ImageList_DragShowNolock): Remove
Danny Smith [Tue, 7 May 2002 22:58:26 +0000 (22:58 +0000)]
* include/commctrl.h (ImageList_DragShowNolock): Remove
conflicting redeclaration.

22 years ago2002-05-07 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Tue, 7 May 2002 17:52:36 +0000 (17:52 +0000)]
2002-05-07  Jeff Johnston  <jjohnstn@redhat.com>

        * COPYING.LIBGLOSS: New file.

22 years agoHonour DESTDIR
Nick Clifton [Tue, 7 May 2002 17:22:14 +0000 (17:22 +0000)]
Honour DESTDIR

22 years ago * localtime.cc (tzsetwall): Use wildabbr if generated timezone name
Corinna Vinschen [Tue, 7 May 2002 13:18:44 +0000 (13:18 +0000)]
* localtime.cc (tzsetwall): Use wildabbr if generated timezone name
length < 3.

22 years ago * include/windows.h: Move _ANONYMOUS_UNION, _ANONYMOUS_STRUCT,
Danny Smith [Mon, 6 May 2002 23:37:52 +0000 (23:37 +0000)]
* include/windows.h: Move _ANONYMOUS_UNION, _ANONYMOUS_STRUCT,
STRICT and related defines to ...
* include/windef.h: Here.

ChangeLog: Correct date and typo in last entry.

22 years ago2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 6 May 2002 20:50:32 +0000 (20:50 +0000)]
2002-05-06  Jeff Johnston  <jjohnstn@redhat.com>

        *  libc/include/stdlib.h (a64l, l64a, _l64a_r): Added prototypes.

22 years ago * libc/sys/arm/syscalls.c (_rename): Add parameter names.
Thomas Fitzsimmons [Mon, 6 May 2002 20:46:37 +0000 (20:46 +0000)]
* libc/sys/arm/syscalls.c (_rename): Add parameter names.
(_sbrk): Add cast of return value.

22 years ago2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 6 May 2002 20:44:54 +0000 (20:44 +0000)]
2002-05-06  Jeff Johnston  <jjohnstn@redhat.com>

        *  libc/include/sys/reent.h (_l64a_buf): New reentrant area.
        (_REENT_L64A_BUF): New macro for accessing area.
        *  libc/stdlib/Makefile.am: Add a64l.c and l64a.c.
        *  libc/stdlib/Makefile.in: Regenerated.
        *  libc/stdlib/a64l.c: New file.
        *  libc/stdlib/l64a.c: New file.

22 years ago2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 6 May 2002 20:29:29 +0000 (20:29 +0000)]
2002-05-06  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/unix/pread.c: Fix typo for _pread_r.
        * libc/unix/pwrite.c: Fix type for _pwrite_r.
        * libc/sys/linux/pread64.c: Fix typo for read syscall.
        * libc/sys/linux/pwrite64.c: Fix typo for write syscall.

22 years ago * spawn.cc (spawn_guts): Move call to set_process_privilege()
Corinna Vinschen [Mon, 6 May 2002 10:05:46 +0000 (10:05 +0000)]
* spawn.cc (spawn_guts): Move call to set_process_privilege()
to load_registry_hive().
* registry.cc (load_registry_hive): ditto.
* fork.cc (fork_parent): Call sec_user_nih() only once.

22 years ago* configure.in (noconfigdirs): Don't disable libgcj on
Alexandre Oliva [Sun, 5 May 2002 18:58:17 +0000 (18:58 +0000)]
* configure.in (noconfigdirs): Don't disable libgcj on
sparc64-*-solaris* and sparcv9-*-solaris*.

22 years ago* path.h (path_conv::path_conv): Initialise normalized_path to NULL.
Christopher Faylor [Sat, 4 May 2002 18:27:27 +0000 (18:27 +0000)]
* path.h (path_conv::path_conv): Initialise normalized_path to NULL.

22 years ago.
Christopher Faylor [Sat, 4 May 2002 04:30:57 +0000 (04:30 +0000)]
.

22 years ago* net.cc (getdomainname): Change second argument of getdomainname to size_t.
Christopher Faylor [Sat, 4 May 2002 03:24:35 +0000 (03:24 +0000)]
* net.cc (getdomainname): Change second argument of getdomainname to size_t.
* fhandler_proc.cc (proc_listing): Add '.' and '..' to directory listing.
(fhandler_proc::open): Change use of mode to flags.  If the file does not exist
already, fail with EROFS if O_CREAT flag is set.  Change EROFS error to EACCES
error when writing to a file.  Use cmalloc to allocate memory for filebuf.
(fhandler_proc::close): Use cfree to free filebuf.
(fhandler_proc::get_proc_fhandler): Properly detect attempts to access unknown
subdir.
* fhandler_process.cc (process_listing): Add '.' and '..' to directory listing.
(fhandler_process::open): Use cmalloc to allocate memory for filebuf.
(fhandler_process::close): Use cfree to free filebuf.
* fhandler_registry.cc (registry_listing): Add .  and '..' to directory
listing.
(fhandler_registry::open): Move check for open for writing before open_key.
Use cmalloc to allocate memory for filebuf.
(fhandler_registry::close): Use cfree to free filebuf.
(fhandler_registry::telldir): Use lower 16 bits of __d_position as position in
directory.
(fhandler_registry::seekdir): Ditto.
* fhandler_virtual.cc (fhandler_virtual::write): Change EROFS error to EACCES
error.
(fhandler_virtual::open): Set the NOHANDLE flag.
(fhandler_virtual::dup): Add call to fhandler_base::dup.  Allocate child's
filebuf using cmalloc.  Copy filebuf from parent to child.
(fhandler_virtual::close): Use cfree to free filebuf.
(fhandler_virtual::~fhandler_virtual): Ditto.
(from Chris Faylor <cgf@redhat.com>).
(fhandler_registry::readdir): Add support for '.' and '..' files in
subdirectories of /proc/registry.
* path.cc (path_conv::check): Do not return ENOENT if a file is not found in
/proc.

22 years ago* libc/include/sys/unistd.h: Define getdomainname under cygwin.
Christopher Faylor [Sat, 4 May 2002 02:22:01 +0000 (02:22 +0000)]
* libc/include/sys/unistd.h: Define getdomainname under cygwin.

22 years ago* configure.in: Revert 2002-04-18's patch; fixed in libjava.
Alexandre Oliva [Fri, 3 May 2002 18:24:32 +0000 (18:24 +0000)]
* configure.in: Revert 2002-04-18's patch; fixed in libjava.

22 years ago * configure.in (CC_FOR_NEWLIB): Change -isystem's to -I's.
Thomas Fitzsimmons [Fri, 3 May 2002 16:39:22 +0000 (16:39 +0000)]
* configure.in (CC_FOR_NEWLIB): Change -isystem's to -I's.

22 years ago * configure.in (FLAGS_FOR_TARGET): Do not add
Thomas Fitzsimmons [Fri, 3 May 2002 16:13:21 +0000 (16:13 +0000)]
* configure.in (FLAGS_FOR_TARGET): Do not add
-B$$r/$(TARGET_SUBDIR)/newlib/ when compiling newlib natively
on i[3456]86-*-linux*.

22 years ago * include/winsock2.h (int32): Remove typedef.
Danny Smith [Fri, 3 May 2002 03:01:51 +0000 (03:01 +0000)]
* include/winsock2.h (int32): Remove typedef.
(SEVICETYPE): Add typedef.
(struct _flowspec):Revise struct definition,  Comment
on types used for members.

22 years ago* fhandler_proc.cc (fhandler_proc::fstat): Use fhandler name rather than
Christopher Faylor [Fri, 3 May 2002 02:43:45 +0000 (02:43 +0000)]
* fhandler_proc.cc (fhandler_proc::fstat): Use fhandler name rather than
path_conv name.
(fhandler_proc::open): Ditto.
* fhandler_process.cc (fhandler_process::fstat): Use fhandler name rather than
path_conv name.
(fhandler_process::open): Ditto.
* fhandler_registry.cc (fhandler_registry::fstat): Use fhandler name rather
than path_conv name.
(fhandler_registry::open): Ditto.
* path.cc (path_conv::check): Don't copy posix path when virtual.
(mount_info::conv_to_win32_path): Don't zero string when isproc.  Just derive
normal windows path.
* path.h (path_conv::clear_normalized_path): Declare new method.
* path.cc (path_conv::clear_normalized_path): Define new method.
* dtable.cc (build_fhandler_from_name): Clear normalized path when finished to
conserve space.

22 years ago* fhandler_proc.cc (fhandler_proc::fstat): Prime with information from
Christopher Faylor [Thu, 2 May 2002 23:58:20 +0000 (23:58 +0000)]
* fhandler_proc.cc (fhandler_proc::fstat): Prime with information from
fhandler_base::fstat.  Use defines rather than constants for permission
settings.

22 years ago * path.cc (hash_path_name): Improve hash function strength.
Corinna Vinschen [Thu, 2 May 2002 16:46:12 +0000 (16:46 +0000)]
* path.cc (hash_path_name): Improve hash function strength.

22 years agomissed a conflict indicator
Robert Collins [Thu, 2 May 2002 11:27:15 +0000 (11:27 +0000)]
missed a conflict indicator

22 years ago2002-05-02 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Thu, 2 May 2002 11:26:22 +0000 (11:26 +0000)]
2002-05-02  Robert Collins <rbtcollins@hotmail.com>

        * thread.cc (__pthread_cond_dowait): Fix a race on signalling from a
        thread woken by the same condition variable it's signalling on. Thanks
        to Michael Beach for the report and test case.

22 years ago * include/winnt.h (EVENT_*, SEMAPHORE_*, MUTEX_*): Remove
Danny Smith [Thu, 2 May 2002 08:41:03 +0000 (08:41 +0000)]
* include/winnt.h (EVENT_*, SEMAPHORE_*, MUTEX_*): Remove
more defines added in earlier 2002-05-02 change.
* lib/Makefile.in (TEST_OPTIONS): Add -Wsystem-headers flag.

22 years ago * include/winnt.h (THREAD_PRIORITY_*): Remove defines.
Danny Smith [Thu, 2 May 2002 05:59:56 +0000 (05:59 +0000)]
* include/winnt.h (THREAD_PRIORITY_*): Remove defines.
Add TIMER_* to last ChangeLog entry.

22 years agoadd new files
Christopher Faylor [Thu, 2 May 2002 04:26:05 +0000 (04:26 +0000)]
add new files

22 years agoadd comment
Christopher Faylor [Thu, 2 May 2002 04:14:40 +0000 (04:14 +0000)]
add comment

22 years ago* path.h (pathconv_arg): Add PC_POSIX.
Christopher Faylor [Thu, 2 May 2002 04:13:48 +0000 (04:13 +0000)]
* path.h (pathconv_arg): Add PC_POSIX.
(path_conv): Add normalized_path field.
* path.cc (path_conv::~path_conv): New destructor.
(path_conv::check): Set normalized_path, where appropriate.
* dtable.cc (build_fhandler_from_name): Use normalized path from path_conv.
* syscalls.cc (chroot): Ditto.
* cygheap.h: Remove path_prefix_p declaration.  Christopher Faylor
<cgf@redhat.com> (minor fixups)
* Makefile.in: Add fhandler_proc.o, fhandler_registry.o, fhandler_process.o and
fhandler_virtual.o.
* dtable.cc (dtable::build_fhandler): Add entries for FH_PROC, FH_REGISTRY and
FH_PROCESS.  Set unix_name to the normalized posix path.
* fhandler.h: Add constants for FH_PROC, FH_REGISTRY and FH_PROCESS.  Add class
declarations for fhandler_virtual, fhandler_proc, fhandler_registry and
fhandler_virtual.  Update fhandler_union accordingly.
* fhandler_proc.cc: New file.  Add implementation for fhandler_proc.
* fhandler_virtual.cc: New file.  Add implementation for fhandler_virtual.
* fhandler_process.cc: New file.  Add implementation for fhandler_process.
* fhandler_registry.cc: New file.  Add implementation for fhandler_registry.
* path.cc: Add isproc and isvirtual_dev macros.
* path.cc (path_conv::check): Add check for virtual devices.
* path.cc (mount_info::conv_to_win32_path): Convert paths in /proc to empty
Win32 paths.
* path.cc (chdir): Replace check for FH_CYGDRIVE with more generic
isvirtual_dev macro.  Force setting of posix path for virtual fhandlers.
* path.h: Add externally visible path_prefix_p and normalized_posix_path
prototypes.

22 years ago * include/winnt.h (THREAD_*, EVENT_*, MUTANT_*,
Danny Smith [Thu, 2 May 2002 03:49:43 +0000 (03:49 +0000)]
* include/winnt.h (THREAD_*, EVENT_*, MUTANT_*,
SEMAPHORE_*, MUTEX_*): Add new defines.

22 years ago* utmp.h: Define more UNIX constants.
Christopher Faylor [Thu, 2 May 2002 00:59:39 +0000 (00:59 +0000)]
* utmp.h: Define more UNIX constants.

22 years ago * configure.in (noconfigdirs): Replace [ ] with test.
Thomas Fitzsimmons [Wed, 1 May 2002 21:32:32 +0000 (21:32 +0000)]
* configure.in (noconfigdirs): Replace [ ] with test.

22 years ago * configure.in (noconfigdirs): Do not add target-newlib if
Thomas Fitzsimmons [Wed, 1 May 2002 20:42:00 +0000 (20:42 +0000)]
* configure.in (noconfigdirs): Do not add target-newlib if
target == i[3456]86-*-linux*, and host == target.

22 years ago* include/cygwin/types.h: Include <sys/sysmacros.h>.
Christopher Faylor [Wed, 1 May 2002 20:26:33 +0000 (20:26 +0000)]
* include/cygwin/types.h: Include <sys/sysmacros.h>.

22 years ago * Makefile.am: Add support for checking multilibs.
Thomas Fitzsimmons [Wed, 1 May 2002 20:26:05 +0000 (20:26 +0000)]
* Makefile.am: Add support for checking multilibs.

22 years ago * libc/Makefile.am (SUBLIBS): Add LIBC_EXTRA_LIB.
Thomas Fitzsimmons [Wed, 1 May 2002 18:44:13 +0000 (18:44 +0000)]
* libc/Makefile.am (SUBLIBS): Add LIBC_EXTRA_LIB.
(SUBDEFS): Add LIBC_EXTRA_DEF.
* libc/configure.in (LIBC_EXTRA_LIB): New variable.
(LIBC_EXTRA_DEF): Likewise.
(extra_dir): Likewise.
* libc/machine/xscale/machine: New directory.
* libc/machine/xscale/machine/profile.h: New file.

* Makefile.am (site.exp): Remove newlib_cflags.  Add
multibuildtop.
* testsuite/newlib.locale/UTF-8.c: Change fprintf's to printf's.
* testsuite/lib/flags.exp: New file.
* testsuite/lib/newlib.exp: Load flags.exp.
(newlib_target_compile): Remove libgloss directory references.
(newlib_init): Remove newlib_cflags references.

22 years ago * Add flags.exp.
Thomas Fitzsimmons [Wed, 1 May 2002 17:06:25 +0000 (17:06 +0000)]
* Add flags.exp.

22 years ago * Makefile.am (site.exp): Remove newlib_cflags. Add
Thomas Fitzsimmons [Wed, 1 May 2002 17:05:44 +0000 (17:05 +0000)]
* Makefile.am (site.exp): Remove newlib_cflags.  Add
multibuildtop.
* testsuite/newlib.locale/UTF-8.c: Change fprintf's to printf's.
* testsuite/lib/flags.exp: New file.
* testsuite/lib/newlib.exp: Load flags.exp.
(newlib_target_compile): Remove libgloss directory references.
(newlib_init): Remove newlib_cflags references.

22 years ago * include/commctrl.h (SNDMSG): Define and use throughout
Danny Smith [Wed, 1 May 2002 01:10:51 +0000 (01:10 +0000)]
* include/commctrl.h (SNDMSG): Define and use throughout
in other macros instead of SendMessage.
* include/commdlg.h (SNDMSG): Ditto.

22 years ago * testsuite/lib/newlib.exp (newlib_target_compile): Change
Thomas Fitzsimmons [Tue, 30 Apr 2002 23:10:21 +0000 (23:10 +0000)]
* testsuite/lib/newlib.exp (newlib_target_compile): Change
method of finding libgloss_target_dir.

22 years ago * Makefile.am (site.exp): Change host_alias, host_triplet,
Thomas Fitzsimmons [Tue, 30 Apr 2002 22:38:07 +0000 (22:38 +0000)]
* Makefile.am (site.exp): Change host_alias, host_triplet,
target_alias, target_triplet to refer to gcc's host and target
variables (newlib's build and host variables).
* testsuite/lib/newlib.exp (newlib_init): Change build
references to host references, host references to target
references to reflect Makefile.am changes.
(newlib_target_compile): Likewise.
(newlib_finish): Likewise.

22 years ago * Various formatting and whitespace changes.
Thomas Fitzsimmons [Tue, 30 Apr 2002 18:23:40 +0000 (18:23 +0000)]
* Various formatting and whitespace changes.

22 years ago * config.guess: Updated to 2002-04-26's version.
Mark Mitchell [Tue, 30 Apr 2002 17:40:45 +0000 (17:40 +0000)]
* config.guess: Updated to 2002-04-26's version.
* config.sub: Updated to 2002-04-26's version.

22 years ago* config/mh-cxux: remove dead code
DJ Delorie [Tue, 30 Apr 2002 03:30:24 +0000 (03:30 +0000)]
* config/mh-cxux: remove dead code
* config/mh-dgux386: remove dead code
* config/mh-hp300: remove dead code
* config/mh-hpux: remove dead code
* config/mh-hpux8: remove dead code
* config/mh-irix5: remove dead code
* config/mh-irix6: remove dead code
* config/mh-ncr3000: remove dead code
* config/mh-ncrsvr43: remove dead code
* config/mh-necv4: remove dead code
* config/mh-sco: remove dead code
* config/mh-solaris: remove dead code
* config/mh-sysv: remove dead code
* config/mh-sysv4: remove dead code
* config/mh-sysv5: remove dead code
* config/mh-irix4: remove, contains only dead code
* configure.in: delete reference to absent file

22 years ago* configure.in: replace '[' with 'test'
DJ Delorie [Tue, 30 Apr 2002 03:17:27 +0000 (03:17 +0000)]
* configure.in: replace '[' with 'test'

22 years ago* configure.in (h8300*-*-rtems*): Disable libf2c and libgcj.
DJ Delorie [Tue, 30 Apr 2002 02:49:33 +0000 (02:49 +0000)]
* configure.in (h8300*-*-rtems*): Disable libf2c and libgcj.
(sparc-*-elf*, sparc64-*-elf*): Disable libgcj.

22 years ago* configure.in: Eliminate references to gash.
DJ Delorie [Tue, 30 Apr 2002 02:42:31 +0000 (02:42 +0000)]
* configure.in: Eliminate references to gash.
* Makefile.in: Eliminate references to gash.

22 years ago* configure.in: Remove useless references to 'pic' makefile fragments.
DJ Delorie [Tue, 30 Apr 2002 02:34:18 +0000 (02:34 +0000)]
* configure.in: Remove useless references to 'pic' makefile fragments.
* config/mt-armpic: Delete.
* config/mt-elfalphapic: Delete.
* config/mt-i370pic: Delete.
* config/mt-ia64pic: Delete.
* config/mt-m68kpic: Delete.
* config/mt-papic: Delete.
* config/mt-ppcpic: Delete.
* config/mt-s390pic: Delete.
* config/mt-sparcpic: Delete.
* config/mt-x86pic: Delete.

22 years ago* configure.in: Remove useless references to 'pic' makefile fragments.
DJ Delorie [Tue, 30 Apr 2002 02:28:43 +0000 (02:28 +0000)]
* configure.in: Remove useless references to 'pic' makefile fragments.

22 years ago* configure.in: (*-*-windows*) Finish removing.
DJ Delorie [Tue, 30 Apr 2002 02:19:55 +0000 (02:19 +0000)]
* configure.in: (*-*-windows*) Finish removing.

22 years ago* configure.in: Eliminate redundant test for libgui.
DJ Delorie [Tue, 30 Apr 2002 02:14:16 +0000 (02:14 +0000)]
* configure.in: Eliminate redundant test for libgui.

22 years ago2002-04-29 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 29 Apr 2002 22:33:10 +0000 (22:33 +0000)]
2002-04-29  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/sys/linux/io64.c (fstat64, lstat64): New syscalls added.

22 years agoFix trivial typo in last change
Jonathan Larmour [Mon, 29 Apr 2002 21:52:36 +0000 (21:52 +0000)]
Fix trivial typo in last change

22 years ago * arm/syscall.h: New file. To define extra syscall values for RedBoot.
Jonathan Larmour [Mon, 29 Apr 2002 21:51:25 +0000 (21:51 +0000)]
* arm/syscall.h: New file. To define extra syscall values for RedBoot.

* arm/redboot-syscalls.c (_close): Fix setting of errno value.
(_lseek): Ditto.
(_open): Ditto.
(_write): Ditto.
(_read): Ditto.
(_rename): New function.
(_system): Ditto.
(_stat): Ditto.
(_unlink): Call a syscall for this now.
(isatty): Ditto.
(_fstat): Ditto.
(_gettimeofday): Ditto.

This page took 0.061865 seconds and 5 git commands to generate.