]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
10 years ago * xidepend: Make PDF file dependent on the same input files as the
Corinna Vinschen [Tue, 28 Oct 2014 11:01:32 +0000 (11:01 +0000)]
* xidepend: Make PDF file dependent on the same input files as the
HTML file of the same name to trigger automatic rebuild of PDFs on
source file changes as well.

10 years ago * cygwinenv.xml: Change default setting of dosfilewarning.
Corinna Vinschen [Tue, 28 Oct 2014 10:47:38 +0000 (10:47 +0000)]
* cygwinenv.xml: Change default setting of dosfilewarning.
* new-features.xml (ov-new1.7.33): Document aforementioned change.

10 years ago * globals.cc (dos_file_warning): Set to false by default.
Corinna Vinschen [Tue, 28 Oct 2014 10:44:49 +0000 (10:44 +0000)]
* globals.cc (dos_file_warning): Set to false by default.
* path.cc (warn_msdos): Make static.  Drop test for dos_file_warning.
(path_conv::check): Check for dos_file_warning here to avoid a function
call in the default case.

10 years ago * ntsec.xml: Fix Solaris doc URLs.
Corinna Vinschen [Tue, 28 Oct 2014 09:45:45 +0000 (09:45 +0000)]
* ntsec.xml: Fix Solaris doc URLs.

10 years ago * ntsec.xml: Try to make an expression less ambiguous.
Corinna Vinschen [Tue, 28 Oct 2014 09:03:50 +0000 (09:03 +0000)]
* ntsec.xml: Try to make an expression less ambiguous.

10 years agomerge from gcc
DJ Delorie [Tue, 28 Oct 2014 00:02:00 +0000 (00:02 +0000)]
merge from gcc

10 years ago * dcrt0.cc (cygwin_atexit): Add workaround for broken atexit calls
Corinna Vinschen [Mon, 27 Oct 2014 21:19:40 +0000 (21:19 +0000)]
* dcrt0.cc (cygwin_atexit): Add workaround for broken atexit calls
in __gcc_register_frame of DLLs built with gcc-4.8.3-3.

10 years ago * libc/include/sys/unistd.h (sethostname): Declare if
Corinna Vinschen [Mon, 27 Oct 2014 14:35:46 +0000 (14:35 +0000)]
* libc/include/sys/unistd.h (sethostname): Declare if
requested.

10 years ago * dlfcn.cc (dlopen): Drop patch accommodating SetDllDiretory from
Corinna Vinschen [Mon, 27 Oct 2014 13:13:54 +0000 (13:13 +0000)]
* dlfcn.cc (dlopen): Drop patch accommodating SetDllDiretory from
2014-10-14.

10 years ago * ntsec.xml: More language fixes.
Corinna Vinschen [Mon, 27 Oct 2014 12:35:41 +0000 (12:35 +0000)]
* ntsec.xml: More language fixes.

10 years ago * new-features.xml (ov-new1.7.33): Document empty $PATH handling.
Corinna Vinschen [Mon, 27 Oct 2014 11:35:15 +0000 (11:35 +0000)]
* new-features.xml (ov-new1.7.33): Document empty $PATH handling.

10 years ago * cygheap.cc (cygheap_fixup_in_child): Drop call to set_dll_dir.
Corinna Vinschen [Mon, 27 Oct 2014 11:33:53 +0000 (11:33 +0000)]
* cygheap.cc (cygheap_fixup_in_child): Drop call to set_dll_dir.
(init_cygheap::init_installation_root): Set installation_dir_len.
(setup_cygheap): Drop call to set_dll_dir.
* cygheap.h (struct init_cygheap): Add installation_dir_len member.
(init_cygheap::set_dll_dir): Remove.
* environ.cc (win_env::add_cache): Use stpcpy for speed.
(posify_maybe): Use tmp_pathbuf buffer instead of stack.
(raise_envblock): New function to resize Windows environment block.
(build_env): Fix indentation.  Call raise_envblock function.  Check if
$PATH exists and is non-empty.  If not, add PATH variable with Cygwin
installation directory as content to Windows environment.  Explain why.

* uinfo.cc (cygheap_pwdgrp::_nss_init): Fill UNICODE_STRING members
on the fly.  Drop call to RtlInitUnicodeString.
(pwdgrp::check_file): Ditto.

10 years ago*** empty log message ***
Corinna Vinschen [Mon, 27 Oct 2014 10:36:22 +0000 (10:36 +0000)]
*** empty log message ***

10 years ago * new-features.xml (ov-new1.7.33): Fix paragraph order.
Corinna Vinschen [Mon, 27 Oct 2014 10:35:52 +0000 (10:35 +0000)]
* new-features.xml (ov-new1.7.33): Fix paragraph order.

10 years ago * highlights.xml: Rearrange itemizedlist markup slightly.
Corinna Vinschen [Mon, 27 Oct 2014 10:34:17 +0000 (10:34 +0000)]
* highlights.xml: Rearrange itemizedlist markup slightly.
* new-features.xml (ov-new1.7.33): Add setfacl -b option.
* utils.xml (setfacl): Ditto.

10 years ago * setfacl.c (usage): Add -b to require options.
Corinna Vinschen [Mon, 27 Oct 2014 10:28:13 +0000 (10:28 +0000)]
* setfacl.c (usage): Add -b to require options.

10 years ago * setfacl.c (action_t): Add DeleteAll value.
Corinna Vinschen [Mon, 27 Oct 2014 10:25:02 +0000 (10:25 +0000)]
* setfacl.c (action_t): Add DeleteAll value.
(delacl): New function to remove all ACL entries not representing POSIX
permissions.
(setfacl): Rearrange conditional expression into switch statement.
Add DeleteAll case.
(usage): Add and describe -b option.
(longopts): Add --remove-all option.
(opts): Add -b option.
(main): Handle -b option.

10 years ago * fhandler_socket.cc (fhandler_socket::af_local_connect): Drop
Corinna Vinschen [Sun, 26 Oct 2014 18:47:24 +0000 (18:47 +0000)]
* fhandler_socket.cc (fhandler_socket::af_local_connect): Drop
setting connect_state to connect_credxchg.
(fhandler_socket::af_local_accept): Ditto.
(fhandler_socket::recv_internal): Drop ill-advised connect_state check.
Add comment so as not to repeat the exercise.
* fhandler.h (enum conn_state): Drop now unneeded connect_credxchg
state.

10 years agoFix typo
Corinna Vinschen [Sun, 26 Oct 2014 10:29:25 +0000 (10:29 +0000)]
Fix typo

10 years ago*** empty log message ***
Corinna Vinschen [Fri, 24 Oct 2014 19:16:11 +0000 (19:16 +0000)]
*** empty log message ***

10 years agoFix typo
Corinna Vinschen [Fri, 24 Oct 2014 19:14:49 +0000 (19:14 +0000)]
Fix typo

10 years ago * fhandler_proc.cc (format_proc_cygdrive): Fix symlink path if cygdrive
Corinna Vinschen [Fri, 24 Oct 2014 19:08:55 +0000 (19:08 +0000)]
* fhandler_proc.cc (format_proc_cygdrive): Fix symlink path if cygdrive
is "/".

10 years agofix typo
Corinna Vinschen [Fri, 24 Oct 2014 16:44:38 +0000 (16:44 +0000)]
fix typo

10 years ago * gendef (sigdelayed): 64 bit only: Fix seh_pushreg statements in
Corinna Vinschen [Fri, 24 Oct 2014 15:04:10 +0000 (15:04 +0000)]
* gendef (sigdelayed): 64 bit only: Fix seh_pushreg statements in
prologue.

10 years ago * gendef (sigdelayed): 64 bit only: Push CPU flags before aligning
Corinna Vinschen [Fri, 24 Oct 2014 13:40:02 +0000 (13:40 +0000)]
* gendef (sigdelayed): 64 bit only: Push CPU flags before aligning
stack to avoid changing flag values.

10 years ago * ntsec.xml: More language and typo fixes.
Corinna Vinschen [Fri, 24 Oct 2014 10:35:31 +0000 (10:35 +0000)]
* ntsec.xml: More language and typo fixes.

10 years ago * ntsec.xml: Fix language.
Corinna Vinschen [Thu, 23 Oct 2014 15:31:58 +0000 (15:31 +0000)]
* ntsec.xml: Fix language.

10 years ago2014-10-22 Tim Harder <radhermit@gmail.com>
DJ Delorie [Thu, 23 Oct 2014 01:49:49 +0000 (01:49 +0000)]
2014-10-22  Tim Harder  <radhermit@gmail.com>
* msp430/Makefile.in: respect DESTDIR during install

10 years ago*** empty log message ***
Corinna Vinschen [Wed, 22 Oct 2014 20:04:50 +0000 (20:04 +0000)]
*** empty log message ***

10 years ago * Makefile.in: Create install targets.
Corinna Vinschen [Wed, 22 Oct 2014 20:04:42 +0000 (20:04 +0000)]
* Makefile.in: Create install targets.
(cygwin-ug-net/cygwin-ug-net.pdf): Create subdir to allow building PDF
even if subdir is missing.
(cygwin-api/cygwin-api.pdf): Ditto.
* configure.ac: Add AC_PROG_INSTALL rule.
* configure: Regenerate.
* new-features.xml (ov-new1.7.33): Add installation of docs.

10 years ago * posix.xml (std-gnu): Add ffsl, ffsll, quotactl.
Corinna Vinschen [Wed, 22 Oct 2014 19:29:33 +0000 (19:29 +0000)]
* posix.xml (std-gnu): Add ffsl, ffsll, quotactl.
(std-notes): Add restrictions of quotactl.

10 years ago* new-features.xml (ov-new1.7.33): Document stime.
Yaakov Selkowitz [Wed, 22 Oct 2014 19:18:50 +0000 (19:18 +0000)]
* new-features.xml (ov-new1.7.33): Document stime.
* posix.xml (std-deprec): Add stime.

10 years ago* common.din (stime): Export.
Yaakov Selkowitz [Wed, 22 Oct 2014 19:03:02 +0000 (19:03 +0000)]
* common.din (stime): Export.
* times.cc (stime): New function.
* include/cygwin/time.h (stime): Declare.
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.

10 years ago*** empty log message ***
Corinna Vinschen [Wed, 22 Oct 2014 09:04:23 +0000 (09:04 +0000)]
*** empty log message ***

10 years ago * new-features.xml (ov-new1.7.33): s/Linux/glibc.
Corinna Vinschen [Wed, 22 Oct 2014 09:03:50 +0000 (09:03 +0000)]
* new-features.xml (ov-new1.7.33): s/Linux/glibc.

10 years ago * new-features.xml (ov-new1.7.33): Update to current state.
Corinna Vinschen [Wed, 22 Oct 2014 08:33:37 +0000 (08:33 +0000)]
* new-features.xml (ov-new1.7.33): Update to current state.

10 years ago*** empty log message ***
Corinna Vinschen [Wed, 22 Oct 2014 08:32:07 +0000 (08:32 +0000)]
*** empty log message ***

10 years ago*** empty log message ***
Corinna Vinschen [Wed, 22 Oct 2014 08:12:45 +0000 (08:12 +0000)]
*** empty log message ***

10 years ago * sec_auth.cc (get_user_groups): Remove experimental exception handler
Corinna Vinschen [Tue, 21 Oct 2014 19:17:09 +0000 (19:17 +0000)]
* sec_auth.cc (get_user_groups): Remove experimental exception handler
added 2014-09-05.
(get_user_local_groups): Ditto.

10 years ago * cygcheck.cc (CYGLSA64_DLL): Remove unused macro.
Corinna Vinschen [Tue, 21 Oct 2014 10:59:40 +0000 (10:59 +0000)]
* cygcheck.cc (CYGLSA64_DLL): Remove unused macro.
(dump_sysinfo): If COMSPEC isn't set in the MSVCRT environment, set it.
Explain why.

10 years agoFix typo
Corinna Vinschen [Mon, 20 Oct 2014 16:38:19 +0000 (16:38 +0000)]
Fix typo

10 years ago * fhandler_serial.cc: Revert debug code accidentally checked in on
Corinna Vinschen [Mon, 20 Oct 2014 14:30:35 +0000 (14:30 +0000)]
* fhandler_serial.cc: Revert debug code accidentally checked in on
2014-08-18.

10 years ago*** empty log message ***
Corinna Vinschen [Mon, 20 Oct 2014 13:19:58 +0000 (13:19 +0000)]
*** empty log message ***

10 years ago * path.cc (symlink_info::check): Set error from status code if opening
Corinna Vinschen [Mon, 20 Oct 2014 10:29:30 +0000 (10:29 +0000)]
* path.cc (symlink_info::check): Set error from status code if opening
the parent directory failed, but keep special case for root dirs.

10 years ago * libc/time/gmtime_r.c (gmtime_r): Remove dead code.
Corinna Vinschen [Mon, 20 Oct 2014 07:30:17 +0000 (07:30 +0000)]
* libc/time/gmtime_r.c (gmtime_r): Remove dead code.

10 years ago * cygheap.cc (cygheap_fixup_in_child): Call set_dll_dir.
Corinna Vinschen [Fri, 17 Oct 2014 14:36:59 +0000 (14:36 +0000)]
* cygheap.cc (cygheap_fixup_in_child): Call set_dll_dir.
(init_cygheap::init_installation_root): Just memmove contents of
installation_root instead of calling GetModuleFileNameW again.
Copy installation_root to installation_dir before stripping of
"bin" dir.  Don't call SetDllDirectory here.  Explain what we do.
(setup_cygheap): New function taking over initial cygheap setup
from memory_init.  Additionally call set_dll_dir.
* cygheap.h (struct init_cygheap): Add installation_dir member.
(init_cygheap::set_dll_dir): Define.
(setup_cygheap): Declare.
* dcrt0.cc: Throughout drop parameter from memory_init call.
(dll_crt0_0): Call setup_cygheap prior to memory_init.
* dlfcn.cc (dlopen): Change comment to point to the right function.
* shared.cc (memory_init): Drop parameter.  Drop cygheap setup.
* shared_info.h (memory_init): Change declaration accordingly.

10 years agofix typo
Corinna Vinschen [Fri, 17 Oct 2014 13:47:48 +0000 (13:47 +0000)]
fix typo

10 years ago * cygtls.h (__try): Define __l_endtry as block-local label in 32 bit
Corinna Vinschen [Fri, 17 Oct 2014 08:34:51 +0000 (08:34 +0000)]
* cygtls.h (__try): Define __l_endtry as block-local label in 32 bit
case as well.

10 years ago*** empty log message ***
Corinna Vinschen [Fri, 17 Oct 2014 08:33:37 +0000 (08:33 +0000)]
*** empty log message ***

10 years ago * Makefile.in (DLL_OFILES): Add quotactl.o.
Corinna Vinschen [Fri, 17 Oct 2014 08:19:27 +0000 (08:19 +0000)]
* Makefile.in (DLL_OFILES): Add quotactl.o.
* common.din (quotactl): Export.
* ntdll.h: Define FILE_FS_CONTROL_INFORMATION::FileSystemControlFlags
flag values.
(struct _FILE_FS_CONTROL_INFORMATION): Define.
(struct _FILE_GET_QUOTA_INFORMATION): Define.
(typedef struct _FILE_QUOTA_INFORMATION): Define.
(NtQueryObject): Use PVOID rather than VOID*.
(NtQueryVolumeInformationFile): Ditto.
(NtQueryQuotaInformationFile): Declare.
(NtSetQuotaInformationFile): Declare.
(NtSetVolumeInformationFile): Declare.
* quotactl.cc: New file implementing quotactl().
* include/sys/mount.h (BLOCK_SIZE): Define.
(BLOCK_SIZE_BITS): Define.
* include/sys/quota.h: New header.
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.

10 years ago * Makefile.in (DLL_OFILES): Rearrange with one file per line.
Corinna Vinschen [Thu, 16 Oct 2014 15:40:09 +0000 (15:40 +0000)]
* Makefile.in (DLL_OFILES): Rearrange with one file per line.

10 years ago * fhandler_proc.cc (format_proc_partitions): Extend output to print
Corinna Vinschen [Thu, 16 Oct 2014 15:35:10 +0000 (15:35 +0000)]
* fhandler_proc.cc (format_proc_partitions): Extend output to print
the windows mount points the device is mounted on.

10 years ago * libc/unix/getcwd.c (getcwd): Close directory also in case of an error.
Corinna Vinschen [Thu, 16 Oct 2014 15:00:59 +0000 (15:00 +0000)]
* libc/unix/getcwd.c (getcwd): Close directory also in case of an error.

10 years agomerge from gcc
DJ Delorie [Wed, 15 Oct 2014 21:12:58 +0000 (21:12 +0000)]
merge from gcc

10 years ago * fhandler_socket.cc (fhandler_socket::connect): Don't change state
Corinna Vinschen [Tue, 14 Oct 2014 19:43:09 +0000 (19:43 +0000)]
* fhandler_socket.cc (fhandler_socket::connect): Don't change state
on WSAEALREADY error.  Change comment accordingly.

10 years ago * cygheap.cc (init_cygheap::init_installation_root): Install Cygwin's
Corinna Vinschen [Tue, 14 Oct 2014 19:14:33 +0000 (19:14 +0000)]
* cygheap.cc (init_cygheap::init_installation_root): Install Cygwin's
installation dir as DLL search path, instead of ".".
* cygheap.h (class cwdstuff): Add parameter names in function
declarations for readability.
(cwdstuff::get): Ad inline implementation fetching the CWD as wide char
string.
* dlfcn.cc (dlopen): Add searching for dependent DLLs in DLL
installation dir or CWD, if all else failed.
Add comment to explain scenarios this is accommodating.

10 years ago * fhandler_socket.cc (fhandler_socket::connect): Init connect_state to
Corinna Vinschen [Tue, 14 Oct 2014 19:08:27 +0000 (19:08 +0000)]
* fhandler_socket.cc (fhandler_socket::connect): Init connect_state to
connect_pending only on unconnected socket.  Set connect_state to
connected on WSAEISCONN error.  Set connect_state to connect_failed
on any other error except WSAEWOULDBLOCK if connect is still pending.
Add lots of comment to explain why all of the above.

10 years agomerge from gcc
DJ Delorie [Tue, 14 Oct 2014 18:02:03 +0000 (18:02 +0000)]
merge from gcc

10 years ago * net.cc (cygwin_setsockopt): Drop redundant test for AF_LOCAL and
Corinna Vinschen [Mon, 13 Oct 2014 08:18:18 +0000 (08:18 +0000)]
* net.cc (cygwin_setsockopt): Drop redundant test for AF_LOCAL and
SOCK_STREAM in SO_PEERCRED case, as in the original patch.

10 years ago * dlfcn.cc (gfpod_helper): Only check for POSIX dir separator, same as
Corinna Vinschen [Sun, 12 Oct 2014 19:14:07 +0000 (19:14 +0000)]
* dlfcn.cc (gfpod_helper): Only check for POSIX dir separator, same as
in get_full_path_of_dll.

10 years ago * dlfcn.cc (set_dl_error): Drop useless __stdcall.
Corinna Vinschen [Sun, 12 Oct 2014 19:03:52 +0000 (19:03 +0000)]
* dlfcn.cc (set_dl_error): Drop useless __stdcall.
(check_path_access): Ditto.  Drop FE_CWD from call to find_exec.
(gfpod_helper): Call path_conv::check for all paths containing a dir
separator to more closely follow the Linux search algorithm.
(get_full_path_of_dll): Drop useless __stdcall.
(dlopen): Simplify RTLD_NOLOAD case by calling GetModuleHandleEx
instead of GetModuleHandle/LoadLibrary.

10 years ago Add setsockopt(sd, SOL_SOCKET, SO_PEERCRED, NULL, 0) to disable
Corinna Vinschen [Sat, 11 Oct 2014 18:28:04 +0000 (18:28 +0000)]
Add setsockopt(sd, SOL_SOCKET, SO_PEERCRED, NULL, 0) to disable
initial handshake on AF_LOCAL sockets.
* fhandler.h (class fhandler_socket): Add no_getpeereid status flag.
(fhandler_socket::af_local_set_no_getpeereid): New prototype.
* fhandler_socket.cc (fhandler_socket::af_local_connect): Skip handshake
if no_getpeereid is set.  Add debug output.
(fhandler_socket::af_local_accept): Likewise.
(fhandler_socket::af_local_set_no_getpeereid): New function.
(fhandler_socket::af_local_copy): Copy no_getpeereid.
(fhandler_socket::getpeereid): Fail if no_getpeereid is set.
* net.cc (cygwin_setsockopt): Add SO_PEERCRED for AF_LOCAL/SOCK_STREAM
sockets.  Add comment to explain why we need it.
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.

10 years ago * fhandler_socket.cc (fhandler_socket::af_local_connect): Drop outdated
Corinna Vinschen [Sat, 11 Oct 2014 16:37:29 +0000 (16:37 +0000)]
* fhandler_socket.cc (fhandler_socket::af_local_connect): Drop outdated
comment.
(fhandler_socket::evaluate_events): Only set connect_state and call
af_local_connect if connect_state is connect_pending.  Explain why.
Drop redundant test for socket family and type.
(fhandler_socket::connect): Extend comment.

10 years ago * fhandler_socket.cc (fhandler_socket::evaluate_events): Handle
Corinna Vinschen [Sat, 11 Oct 2014 12:14:29 +0000 (12:14 +0000)]
* fhandler_socket.cc (fhandler_socket::evaluate_events): Handle
connect_state and af_local_connect connect call here, once, independent
of FD_CONNECT being requested.  Add comment to explain why.
(fhandler_socket::connect): Drop connect_state handling and calling
af_local_connect.  Move remaining AF_LOCAL stuff prior  to calling
::connect and explain why.  Simplify error case.
* poll.cc (poll): Handle connect state independently of POLLOUT being
requested for the descriptor to allow setting POLLIN if connect failed.
Add comment.
* select.cc (set_bits): Drop connect_state and AF_LOCAL handling here.

10 years ago * fhandler_socket.cc (fhandler_socket::evaluate_events): Slightly
Corinna Vinschen [Sat, 11 Oct 2014 10:50:36 +0000 (10:50 +0000)]
* fhandler_socket.cc (fhandler_socket::evaluate_events): Slightly
rearrange code.  Rephrase a comment.

10 years ago * dlfcn.cc (dlopen): Disable old 32 bit code on 64 bit.
Corinna Vinschen [Fri, 10 Oct 2014 15:29:18 +0000 (15:29 +0000)]
* dlfcn.cc (dlopen): Disable old 32 bit code on 64 bit.
* dcrt0.cc (check_sanity_and_sync): Ditto.
* dll_init.cc (dll_dllcrt0_1): Fix typo in comment.

10 years ago * libc/include/_ansi.h: _LONG_LONG_TYPE definition removed.
Corinna Vinschen [Fri, 10 Oct 2014 14:43:19 +0000 (14:43 +0000)]
* libc/include/_ansi.h: _LONG_LONG_TYPE definition removed.
* libc/include/math.h: _LONG_LONG_TYPE replaced by "long long".
Guards for C99 and C++11 functions fixed.
* libc/include/stdlib.h: Guards for C99 and C++11 functions fixed.

10 years ago * fhandler_procsys.cc (fhandler_procsys::readdir): Just test
Corinna Vinschen [Thu, 9 Oct 2014 17:45:27 +0000 (17:45 +0000)]
* fhandler_procsys.cc (fhandler_procsys::readdir): Just test
ObjectTypeName for object types rather than calling lstat to avoid
performance hit.
* globals.cc (ro_u_natdir): Define.
(ro_u_natsyml): Define.
(ro_u_natdev): Define.

10 years ago2014-10-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
Jeff Johnston [Thu, 9 Oct 2014 15:57:50 +0000 (15:57 +0000)]
2014-10-09  Sebastian Huber  <sebastian.huber@embedded-brains.de>

        * libc/include/stdint.h: Include <sys/_intsup.h>.
        (__STDINT_EXP): Delete.
        (__have_long32): Likewise.
        (__have_long64): Likewise.
        (__have_longlong64): Likewise.
        * libc/include/sys/_intsup.h: New file.
        (__STDINT_EXP): Move from libc/include/stdint.h.
        (__have_long32): Likewise.
        (__have_long64): Likewise.
        (__have_longlong64): Likewise.
        * libc/include/inttypes.h: Include <sys/_intsup.h>.
        (__INTTYPES_EXP): Delete and use __STDINT_EXP() instead.

10 years ago * fhandler_disk_file.cc (fhandler_disk_file::readdir_helper): Set d_type
Corinna Vinschen [Thu, 9 Oct 2014 13:32:59 +0000 (13:32 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::readdir_helper): Set d_type
for virtual directories.

10 years ago * fhandler_proc.cc (fhandler_proc::readdir): Set dirent d_type.
Corinna Vinschen [Thu, 9 Oct 2014 13:24:37 +0000 (13:24 +0000)]
* fhandler_proc.cc (fhandler_proc::readdir): Set dirent d_type.
* fhandler_process.cc (fhandler_process::readdir): Ditto.
* fhandler_procnet.cc (fhandler_procnet::readdir): Ditto.
* fhandler_procsys.cc (fhandler_procsys::readdir): Ditto.
* fhandler_procsysvipc.cc (fhandler_procsysvipc::readdir): Ditto.
*  fhandler_virtual.h (virt_ftype_to_dtype): Define new inline function
to generate dirent d_type from virtual_ftype_t.

10 years ago * libc/string/memccpy.c (memccpy): Fix warning about signed-unsigned
Corinna Vinschen [Thu, 9 Oct 2014 12:24:56 +0000 (12:24 +0000)]
* libc/string/memccpy.c (memccpy): Fix warning about signed-unsigned
comparison
* libc/string/memchr.c (memchr): Ditto.
* libc/string/memrchr.c (memrchr): Ditto.
* libc/string/memset.c: (memset): Ditto.
* libc/string/rawmemchr.c (rawmemchr): Ditto.
* libc/string/local.h (__locale_cjk_lang): Fix "function declaration
isn't a prototype" warning.
* libc/string/strcasestr.c (strcasestr): Ditto.
* libc/string/u_strerr.c (_user_strerror): Fix "unused parameter"
warnings.
* libc/string/rawmemchr.c (rawmemchr): Fix comment type
"// ..." -> "/* ... */".

10 years agoAdd accidentally missing ChangeLog for latest change.
Corinna Vinschen [Thu, 9 Oct 2014 08:31:34 +0000 (08:31 +0000)]
Add accidentally missing ChangeLog for latest change.

10 years ago2014-10-08 Steve Ellcey <sellcey@mips.com>
Steve Ellcey [Wed, 8 Oct 2014 22:29:52 +0000 (22:29 +0000)]
2014-10-08  Steve Ellcey  <sellcey@mips.com>

* newlib/libc/machine/mips/strcmp.c: Remove.
* newlib/libc/machine/mips/strcmp.S: New.
* newlib/libc/machine/mips/Makefile.am (lib_a_SOURCES):
Replace strcmp.c with strcmp.S
* newlib/libc/machine/mips/Makefile.in: Regenerate.

10 years ago * libc/include/string.h (ffsl): Declare as GNU function.
Corinna Vinschen [Wed, 8 Oct 2014 21:04:59 +0000 (21:04 +0000)]
* libc/include/string.h (ffsl): Declare as GNU function.
(ffsll): Ditto.

10 years ago * common.din (ffsl): Export.
Corinna Vinschen [Wed, 8 Oct 2014 21:03:40 +0000 (21:03 +0000)]
* common.din (ffsl): Export.
(ffsll): Export.
* syscalls.cc (ffs): Implement using GCC intrinsic.
(ffsl): Ditto.
(ffsll): Ditto.
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.

10 years ago * syscall.cc (ffs): Fix crash of ffs (0x80000000) on 64 bit.
Corinna Vinschen [Wed, 8 Oct 2014 16:34:31 +0000 (16:34 +0000)]
* syscall.cc (ffs): Fix crash of ffs (0x80000000) on 64 bit.

10 years ago * fhandler_process.cc (format_process_statm): Fix output of dirty
Corinna Vinschen [Wed, 8 Oct 2014 15:25:52 +0000 (15:25 +0000)]
* fhandler_process.cc (format_process_statm): Fix output of dirty
pages.  Add linefeed.

10 years agoFix typo
Corinna Vinschen [Wed, 8 Oct 2014 14:41:44 +0000 (14:41 +0000)]
Fix typo

10 years agomerge from gcc
DJ Delorie [Sun, 28 Sep 2014 17:46:07 +0000 (17:46 +0000)]
merge from gcc

10 years ago * configure.in: Remove config_libnosys=false
Nick Clifton [Mon, 22 Sep 2014 15:26:46 +0000 (15:26 +0000)]
* configure.in: Remove config_libnosys=false
* configure: Regenerated.
* msp430/nosyscalls.S: Rename to ciosyscalls.S
* msp430/Makefile.in: Change LIBNOSYS to LIB_CIO.

10 years ago2014-09-17 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 17 Sep 2014 22:20:16 +0000 (22:20 +0000)]
2014-09-17  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/sys/features.h: Add __NEWLIB__ and
        __NEWLIB_MINOR__ macros.

10 years ago2014-09-17 Joel Sherrill <joel.sherrill@oarcorp.com>
Jeff Johnston [Tue, 16 Sep 2014 19:59:01 +0000 (19:59 +0000)]
2014-09-17  Joel Sherrill <joel.sherrill@oarcorp.com>
            Thomas Uhle <thomas.uhle@eas.iis.fraunhofer.de>

        * libc/include/string.h: Correct guard for strnlen().

10 years ago2014-09-15 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 15 Sep 2014 16:05:37 +0000 (16:05 +0000)]
2014-09-15  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/time/month_lengths.c: Fix to define __month_lengths.

10 years ago2014-09-12 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 12 Sep 2014 21:41:46 +0000 (21:41 +0000)]
2014-09-12  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/time/tzcalc_limits.c: Fix __months_lengths reference.

10 years ago2014-09-12 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 12 Sep 2014 16:38:10 +0000 (16:38 +0000)]
2014-09-12  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/time/month_lengths.c: Actually add file this time.
        * libc/time/tzcalc_limits.c: Ditto.

10 years ago2014-09-11 Freddie Chopin <freddie_chopin@op.pl>
Jeff Johnston [Thu, 11 Sep 2014 21:55:01 +0000 (21:55 +0000)]
2014-09-11  Freddie Chopin  <freddie_chopin@op.pl>

        * libc/time/month_lengths.c: New file with __month_lengths array
        (previously mon_lengths array in mktm_r.c)
        * libc/time/tzcalc_limits.c: New file with __tzcalc_limits() from
        mktm_r.c
        * libc/time/lcltime_r.c (localtime_r): Simplify by changing call to
        _mktm_r() with call to gmtime_r() and code moved from _mktm_r() which
        was used to do time zone adjustments
        * libc/time/gmtime_r.c (gmtime_r): Simplify by moving all relevant
        code from _mktm_r(), breaking all dependencies on time zone related
        functions
        * libc/time/mktm_r.c: Delete file
        * libc/time/local.h: Update accordingly - remove declaration of
        _mktm_r(), add declaration of __month_lengths[]
        * libc/time/Makefile.am: Modify accordingly.
        * libc/time/Makefile.in: Regenerate.

10 years ago2014-09-08 Freddie Chopin <freddie_chopin@op.pl>
Jeff Johnston [Mon, 8 Sep 2014 18:57:52 +0000 (18:57 +0000)]
2014-09-08  Freddie Chopin  <freddie_chopin@op.pl>

        * libc/machine/arm/Makefile.am: Fix typo.
        * libc/machine/arm/Makefile.in: Regenerated.

10 years ago * pathnames.xml (cygdrive): Add /proc/cygdrive description.
Corinna Vinschen [Fri, 5 Sep 2014 19:40:39 +0000 (19:40 +0000)]
* pathnames.xml (cygdrive): Add /proc/cygdrive description.

10 years ago * fhandler_proc.cc (proc_tab): Add entry for cygdrive symlink.
Corinna Vinschen [Fri, 5 Sep 2014 19:11:01 +0000 (19:11 +0000)]
* fhandler_proc.cc (proc_tab): Add entry for cygdrive symlink.
(format_proc_cygdrive): New function to implement /proc/cygdrive.

10 years ago2014-09-05 Hale Wang <hale.wang@arm.com>
Jeff Johnston [Fri, 5 Sep 2014 17:26:42 +0000 (17:26 +0000)]
2014-09-05  Hale Wang  <hale.wang@arm.com>

        * libc/machine/arm/memchr.S: Clean up the wrapper.
        * libc/machine/arm/memcpy.S: Likewise.
        * libc/machine/arm/memchr-stub.c: Delete this redundant file.
        * libc/machine/arm/memcpy-stub.c: Likewise.
        * libc/machine/arm/strcmp.S: Add speed-preferred wrapper.
        * libc/machine/arm/strlen.S: Likewise.
        * libc/machine/arm/Makefile.am: Add dependencies.
        * libc/machine/arm/Makefile.in: Regenerated.
        * libc/machine/arm/configure.in: Add dependencies.
        * libc/machine/arm/configure: Regenerated.

10 years ago * exception.h (class exception): Remove unnecessary #ifdef.
Corinna Vinschen [Fri, 5 Sep 2014 11:47:33 +0000 (11:47 +0000)]
* exception.h (class exception): Remove unnecessary #ifdef.
* uinfo.cc (client_request_pwdgrp::client_request_pwdgrp): Fix length
counter to include trailing NUL.

* sec_auth.cc (get_user_groups): Add experimental exception handler.
(get_user_local_groups): Ditto.

10 years ago * uinfo.cc (pwdgrp::fetch_account_from_windows): Handle APPLICATION
Corinna Vinschen [Fri, 5 Sep 2014 09:46:26 +0000 (09:46 +0000)]
* uinfo.cc (pwdgrp::fetch_account_from_windows): Handle APPLICATION
PACKAGE AUTHORITY SIDs.
* winlean.h (DNLEN): Raise to 31.  Explain why.

10 years ago * libc/stdio/findfp.c (_cleanup_r): Call _fflush_r when configuration
Corinna Vinschen [Fri, 5 Sep 2014 09:42:15 +0000 (09:42 +0000)]
* libc/stdio/findfp.c (_cleanup_r): Call _fflush_r when configuration
option "--enable-lite-exit" is in effect.  Refactor the code.

10 years ago * libc/stdio/fwalk.c (_fwalk_reent): Remove redundant test.
Corinna Vinschen [Fri, 5 Sep 2014 09:31:32 +0000 (09:31 +0000)]
* libc/stdio/fwalk.c (_fwalk_reent): Remove redundant test.

10 years agoAdd missing libc/machine/arm/aeabi_memcpy.c file
Corinna Vinschen [Fri, 5 Sep 2014 08:42:45 +0000 (08:42 +0000)]
Add missing libc/machine/arm/aeabi_memcpy.c file

10 years ago * libc/time/mktm_r.c (_mktm_r): Optimize speed.
Corinna Vinschen [Thu, 4 Sep 2014 09:47:14 +0000 (09:47 +0000)]
* libc/time/mktm_r.c (_mktm_r): Optimize speed.

10 years agoAdd missing libc/machine/arm/aeabi_memcpy-armv7a.S file
Corinna Vinschen [Thu, 4 Sep 2014 08:27:35 +0000 (08:27 +0000)]
Add missing libc/machine/arm/aeabi_memcpy-armv7a.S file

10 years ago * libc/time/clock.c (clock): Fix warnings about signed-unsigned
Corinna Vinschen [Thu, 4 Sep 2014 08:27:03 +0000 (08:27 +0000)]
* libc/time/clock.c (clock): Fix warnings about signed-unsigned
comparisons.
* libc/time/strftime.c (strftime): Likewise.
* libc/time/strptime.c (match_string): Fix warning about discarding
'restrict' qualifier from pointer target type.

10 years ago * libc/machine/arm/aeabi_memcpy.c: New file.
Corinna Vinschen [Thu, 4 Sep 2014 08:23:23 +0000 (08:23 +0000)]
* libc/machine/arm/aeabi_memcpy.c: New file.
* libc/machine/arm/aeabi_memcpy-armv7a.S: New file.
* libc/machine/arm/Makefile.am: Add dependencies.
* libc/machine/arm/Makefile.in: Regenerated.

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