acadia-newlib/winsup/cygwin
Ken Brown 48fbe173f4 Cygwin: symlink_info::check: avoid assertion failure
On certain error conditions there is a code snippet that checks
whether the last component of the path has a trailing dot or space or
a leading space.  Skip this check if the last component is empty,
i.e., if the path ends with a backslash.  This avoids an assertion
failure if the trailing backslash is the only backslash in the path,
as is the case for a DOS drive 'X:\'.

Addresses: https://cygwin.com/ml/cygwin/2019-12/msg00016.html
2019-12-09 07:43:44 -05:00
..
include Cygwin: fix CPU_SET macro visibility 2019-09-14 11:31:17 -04:00
lib
libc
math Cygwin: math: Properly propagate input NANs in a few functions 2019-08-20 18:15:16 +02:00
regex
release Cygwin: Doc change to note stackdump limit patch 2019-11-08 10:23:08 +01:00
DevNotes
Makefile.in Cygwin: shmat: use mmap allocator strategy on 64 bit 2019-08-08 11:27:52 +02:00
ROADMAP
aclocal.m4
advapi32.cc
aio.cc Cygwin: clock.h: add valid_timespec() to check timespec for validity 2019-01-18 14:31:01 +01:00
analyze_sigfe
assert.cc
autogen.sh
autoload.cc Cygwin: pty: Use autoload feature for pseudo console system calls. 2019-09-15 11:12:45 -04:00
automode.c
binmode.c
child_info.h Cygwin: change CURR_CHILD_INFO_MAGIC according to previous patch 2019-02-08 17:48:34 +01:00
clock.cc Cygwin: clocks: Add CLOCK_REALTIME_ALARM/CLOCK_BOOTTIME_ALARM clocks 2019-01-22 15:42:07 +01:00
clock.h Cygwin: clocks: Add CLOCK_REALTIME_ALARM/CLOCK_BOOTTIME_ALARM clocks 2019-01-22 15:42:07 +01:00
collate.h
common.din Cygwin: Export newlib ndbm functions 2019-07-24 22:32:48 +02:00
config.h.in
configure
configure.ac
cpuid.h
crt0.c
ctype.cc
cxx.cc
cygerrno.h
cygheap.cc forkables: On fork failure, retry with hardlinks. 2019-02-07 15:58:02 +01:00
cygheap.h Cygwin: Revert attempting to unload user profile after use 2019-03-04 17:31:27 +01:00
cygheap_malloc.h Cygwin: posix timers: allocate timer_tracker on system heap. 2019-01-22 16:38:14 +01:00
cyglsa.h
cygmagic
cygmalloc.h
cygserver.h
cygserver_ipc.h
cygserver_msg.h
cygserver_pwdgrp.h
cygserver_sem.h
cygserver_setpwd.h
cygserver_shm.h
cygthread.cc Cygwin: cygthread: set thread name before calling thread func 2019-01-23 21:45:59 +01:00
cygthread.h
cygtls.cc
cygtls.h Cygwin: select: revamp non-polling code for signalfd 2019-08-18 14:02:01 +02:00
cygtls_padsize.h
cygwait.cc
cygwait.h
cygwin-cxx.h
cygwin-shilka
cygwin.ldif
cygwin.sc.in
cygwin_version.h
cygxdr.cc
cygxdr.h
dcrt0.cc Cygwin: Fix the address of myself 2019-07-25 10:45:52 +02:00
debug.cc
debug.h
devices.cc Cygwin: Provide more COM devices 2019-10-23 10:05:42 +02:00
devices.h Cygwin: devices: drop MAX_CONSOLES and fix FH_CONS_MAX 2019-11-04 10:34:59 +01:00
devices.in Cygwin: Provide more COM devices 2019-10-23 10:05:42 +02:00
dir.cc Cygwin: mkdir and rmdir: treat drive names specially 2019-10-07 16:09:41 -04:00
dlfcn.cc forkables: inline dll_list::forkables_supported 2019-02-07 15:58:02 +01:00
dll_init.cc Cygwin: dll_list: stat_real_file_once with ntname 2019-06-03 18:37:52 +02:00
dll_init.h Cygwin: dll_list: drop unused read_fbi method 2019-05-05 10:04:43 -04:00
dllfixdbg
dtable.cc Cygwin: pty: Convert CamelCase names to snake_case names. 2019-11-18 11:12:08 +01:00
dtable.h
environ.cc Cygwin: console, pty: Prevent error in legacy console mode. 2019-11-08 10:08:45 +01:00
environ.h
errno.cc
exception.h
exceptions.cc Cygwin: Raise dumpstack frame limit to 32 2019-11-08 10:23:08 +01:00
exec.cc
external.cc Cygwin: strace: print windows and cygwin pid in event output 2019-03-23 17:50:00 +01:00
fcntl.cc
fenv.cc Add default implementation of fenv.h and all methods 2019-08-09 17:49:16 +02:00
fhandler.cc Revert "Cygwin: check for STATUS_PENDING in fhandler_base::raw_read" 2019-05-09 14:41:28 -04:00
fhandler.h Cygwin: pty: Convert CamelCase names to snake_case names. 2019-11-18 11:12:08 +01:00
fhandler_clipboard.cc
fhandler_console.cc Cygwin: pty: Convert CamelCase names to snake_case names. 2019-11-18 11:12:08 +01:00
fhandler_cygdrive.cc Cygwin: move fhandler_cygdrive methods into own source file 2019-01-07 12:29:07 +01:00
fhandler_dev.cc
fhandler_disk_file.cc Cygwin: socket files are not lnk special files 2019-07-22 08:15:16 -04:00
fhandler_dsp.cc
fhandler_fifo.cc Cygwin: honor the O_PATH flag when opening a FIFO 2019-06-27 07:46:14 -04:00
fhandler_floppy.cc Cygwin: disk device: stop using SetFilePointer 2019-02-09 18:41:47 +01:00
fhandler_netdrive.cc Cygwin: change virtual_ftype_t to not rely on negative values 2019-07-22 18:42:39 +02:00
fhandler_nodevice.cc
fhandler_pipe.cc Cygwin: [gs]et_io_handle(): renamed to [gs]et_handle(). 2019-03-30 20:08:36 +01:00
fhandler_proc.cc fhandler_proc.cc(format_proc_cpuinfo): or model extension bits 2019-10-07 15:50:33 -04:00
fhandler_process.cc Cygwin: /proc/[PID]/stat to pull process priority correctly 2019-12-02 09:57:04 +01:00
fhandler_process_fd.cc Cygwin: [gs]et_io_handle(): renamed to [gs]et_handle(). 2019-03-30 20:08:36 +01:00
fhandler_procnet.cc Cygwin: change virtual_ftype_t to not rely on negative values 2019-07-22 18:42:39 +02:00
fhandler_procsys.cc Cygwin: change virtual_ftype_t to not rely on negative values 2019-07-22 18:42:39 +02:00
fhandler_procsysvipc.cc Cygwin: change virtual_ftype_t to not rely on negative values 2019-07-22 18:42:39 +02:00
fhandler_random.cc
fhandler_raw.cc Cygwin: fhandler_*: remove isdevice() and is_auto_device() 2019-07-22 08:15:16 -04:00
fhandler_registry.cc Cygwin: fix one more check for positive virtual_ftype_t values 2019-07-22 14:06:35 -04:00
fhandler_serial.cc
fhandler_signalfd.cc Cygwin: return full sigset_t from sig_send 2019-07-12 17:27:26 +02:00
fhandler_socket.cc
fhandler_socket_inet.cc Cygwin: define MSG_EOR and refuse in send(2) 2019-04-25 19:00:08 +02:00
fhandler_socket_local.cc Cygwin: fix memory corruption/SEGV if certain socket functions fail 2018-10-29 16:32:48 +01:00
fhandler_socket_unix.cc Cygwin: [gs]et_io_handle(): renamed to [gs]et_handle(). 2019-03-30 20:08:36 +01:00
fhandler_tape.cc Cygwin: tape: Handle non-standard "no medium" error code 2018-06-29 15:31:15 +02:00
fhandler_termios.cc Cygwin: fhandler_termios::tcsetpgrp: check that argument is non-negative 2019-07-24 13:26:08 -04:00
fhandler_timerfd.cc Cygwin: timerfd: rework implementation 2019-02-25 21:01:32 +01:00
fhandler_tty.cc Cygwin: pty: Convert CamelCase names to snake_case names. 2019-11-18 11:12:08 +01:00
fhandler_virtual.cc Cygwin: change virtual_ftype_t to not rely on negative values 2019-07-22 18:42:39 +02:00
fhandler_virtual.h
fhandler_windows.cc
fhandler_zero.cc
flock.cc Cygwin: avoid GCC 8.3 errors with -Werror=class-memaccess 2019-07-16 13:17:43 -04:00
fork.cc Cygwin: pty: Convert CamelCase names to snake_case names. 2019-11-18 11:12:08 +01:00
forkable.cc Cygwin: dll_list: no recursive use of nt_max_path_buf 2019-06-03 18:38:16 +02:00
gcrt0.c
gendef
gendevices
gentls_offsets Cygwin: gentls_offsets: Remove obsolte 'o' regex option 2019-01-15 13:19:41 +01:00
glob.cc
glob_pattern_p.cc
globals.cc Cygwin: support exFAT and fix remote FAT/FAT32 recognition 2018-12-23 17:53:55 +01:00
gmon.c
gmon.h
grp.cc Cygwin: seteuid: work with password-less user switch as well 2019-01-24 21:20:09 +01:00
heap.cc Cygwin: Allow accessing 48 bit address space in Windows 8.1 or later 2019-06-04 16:58:53 +02:00
heap.h
hookapi.cc Cygwin: pty: Move function hook_api() into hookapi.cc. 2019-09-04 11:59:46 +02:00
how-autoload-works.txt
how-cygheap-works.txt
how-cygtls-works.txt
how-fhandlers-work.txt
how-signals-work.txt
how-spawn-works.txt
how-startup-shutdown-works.txt
how-to-debug-cygwin.txt
i686.din Remove matherr, and SVID and X/Open math library configurations 2019-01-23 10:46:24 +01:00
init.cc Cygwin: pty: add pseudo console support. 2019-08-29 13:47:40 +02:00
ioctl.cc Cygwin: open: support Linux-specific O_PATH flag 2019-01-07 19:35:00 +01:00
ipc.cc
kernel32.cc
lc_era.h Cygwin: update era and message locale data 2019-04-30 11:55:04 +02:00
lc_msg.h Cygwin: update era and message locale data 2019-04-30 11:55:04 +02:00
ldap.cc Cygwin: ldap: Fix overwriting domain when creating naming context 2019-03-02 12:43:34 +01:00
ldap.h Cygwin: user profile: fetch roaming profile path via LDAP 2019-02-23 17:22:44 +01:00
libstdcxx_wrapper.cc
loadavg.cc Cygwin: loadavg: improve debugging of load_init 2019-03-12 17:09:42 +01:00
loadavg.h
localtime.cc
lsearch.cc
malloc.cc
malloc_wrapper.cc
math.h
mcount.c
mcountFunc.S
miscfuncs.cc Cygwin: fix GCC 8.3 'asm volatile' errors 2019-07-17 10:39:27 -04:00
miscfuncs.h Cygwin: Implement sched_[gs]etaffinity() 2019-06-24 09:18:14 +02:00
mkglobals_h
mkimport
mkstatic
mktemp.cc
mkvers.sh Cygwin: version: Use UTC timestamp as build time 2019-01-24 11:39:43 +01:00
mmap.cc Cygwin: shmat: use mmap allocator strategy on 64 bit 2019-08-08 11:27:52 +02:00
mmap_alloc.cc Cygwin: shmat: use mmap allocator strategy on 64 bit 2019-08-08 11:27:52 +02:00
mmap_alloc.h Cygwin: shmat: use mmap allocator strategy on 64 bit 2019-08-08 11:27:52 +02:00
mmap_helper.h
mount.cc Cygwin: mount: define binary mount as default 2019-02-18 10:26:53 +01:00
mount.h Cygwin: mount: remove unused method mount_info::set_flags_from_win32_path 2019-02-18 10:23:15 +01:00
msg.cc
mtinfo.h
net.cc Minor improvements to socket error handling: 2019-04-23 17:20:57 +02:00
netdb.cc
nfs.cc
nfs.h
nlsfuncs.cc Cygwin: wcsxfrm_l: Only byte swap if dest size is > 0 2019-03-19 21:03:06 +01:00
ntdll.h Cygwin: FIFO: improve raw_write 2019-04-16 12:54:43 +02:00
ntea.cc Cygwin: open: support Linux-specific O_PATH flag 2019-01-07 19:35:00 +01:00
ntsecapi.h
passwd.cc
path.cc Cygwin: symlink_info::check: avoid assertion failure 2019-12-09 07:43:44 -05:00
path.h Cygwin: socket files are not lnk special files 2019-07-22 08:15:16 -04:00
pathfinder.h
perprocess.h
pinfo.cc Cygwin: fix process parent/child relationship after execve 2019-11-02 19:55:24 +01:00
pinfo.h Cygwin: fix process parent/child relationship after execve 2019-11-02 19:55:24 +01:00
poll.cc
posix_ipc.cc Cygwin: clock.h: add valid_timespec() to check timespec for validity 2019-01-18 14:31:01 +01:00
posix_timer.cc Cygwin: posix timers: fix a deadlock 2019-03-08 12:57:42 +01:00
posix_timer.h Cygwin: posix timers: fix overrun count always being 1 too big 2019-01-22 18:20:18 +01:00
profil.c
profil.h
pseudo-reloc.cc
pthread.cc Cygwin: Implement pthread_tryjoin_np and pthread_timedjoin_np 2018-06-27 17:56:59 +02:00
pwdgrp.h Cygwin: Add name->SID conversion for self-constructed names 2018-08-27 18:28:33 +02:00
quotactl.cc
random.cc Cygwin: fix build with GCC 7 2018-04-16 22:46:11 -05:00
registry.cc
registry.h
regparm.h
resource.cc
scandir.cc
sched.cc Cygwin: Fix return value of sched_getaffinity 2019-06-28 17:10:39 +02:00
sec_acl.cc Cygwin: get_posix_access: avoid negative subscript 2019-08-26 13:38:31 -04:00
sec_auth.cc Cygwin: fix: seteuid32() must return EPERM if privileges are not held. 2019-03-27 17:08:49 +01:00
sec_helper.cc Cygwin: don't return valid acl entry type for unknown SID 2018-08-27 13:48:07 +02:00
sec_posixacl.cc
sec_posixacl.h
security.cc
security.h Cygwin: Revert attempting to unload user profile after use 2019-03-04 17:31:27 +01:00
select.cc Cygwin: console: Revive Win7 compatibility. 2019-09-19 22:17:54 -04:00
select.h Cygwin: pty: Fix select() with pseudo console support. 2019-09-05 13:59:37 +02:00
sem.cc
setlsapwd.cc
shared.cc forkables: simplify disabling via shm 2019-02-07 15:58:02 +01:00
shared_info.h forkables: inline dll_list::forkables_supported 2019-02-07 15:58:02 +01:00
shm.cc Cygwin: shmat: use mmap allocator strategy on 64 bit 2019-08-08 11:27:52 +02:00
signal.cc Cygwin: select: revamp non-polling code for signalfd 2019-08-18 14:02:01 +02:00
sigproc.cc Cygwin: fix process parent/child relationship after execve 2019-11-02 19:55:24 +01:00
sigproc.h Cygwin: return full sigset_t from sig_send 2019-07-12 17:27:26 +02:00
smallprint.cc Cygwin: pty: Limit API hook to the program linked with the APIs. 2019-09-04 15:59:38 +02:00
sortdin
spawn.cc Cygwin: pty: Convert CamelCase names to snake_case names. 2019-11-18 11:12:08 +01:00
speclib
spinlock.h Cygwin: spinlock: remove useless get_ll call 2018-11-26 17:59:10 +01:00
strace.cc Cygwin: pty: Limit API hook to the program linked with the APIs. 2019-09-04 15:59:38 +02:00
strfuncs.cc
string.h
strsep.cc
strsig.cc Fix a bug of psiginfo() that changes the orientation of stderr. 2018-07-03 15:38:47 +02:00
sync.cc
sync.h
syscalls.cc Cygwin: getpriority() consistent with process priority 2019-10-31 21:40:22 +01:00
sysconf.cc Add support for Hygon Dhyana processor 2019-06-03 10:32:58 +02:00
syslog.cc Fix a problem that connection to syslogd fails. 2018-07-06 10:41:21 +02:00
termios.cc
textmode.c
textreadmode.c
thread.cc Cygwin: return full sigset_t from sig_send 2019-07-12 17:27:26 +02:00
thread.h Cygwin: Implement pthread_tryjoin_np and pthread_timedjoin_np 2018-06-27 17:56:59 +02:00
timerfd.cc Cygwin: timerfd: avoid a deadlock 2019-06-25 15:44:43 -04:00
timerfd.h Cygwin: timerfd: avoid a deadlock 2019-06-25 15:44:43 -04:00
times.cc winsup/cygwin/times.cc (times): follow Linux and allow for a NULL buf argument 2019-09-15 13:12:03 -04:00
tls_pbuf.cc
tls_pbuf.h
tlsoffsets.h Cygwin: select: revamp non-polling code for signalfd 2019-08-18 14:02:01 +02:00
tlsoffsets64.h Cygwin: select: revamp non-polling code for signalfd 2019-08-18 14:02:01 +02:00
tty.cc Cygwin: pty: Convert CamelCase names to snake_case names. 2019-11-18 11:12:08 +01:00
tty.h Cygwin: pty: Convert CamelCase names to snake_case names. 2019-11-18 11:12:08 +01:00
tz_posixrules.h
uinfo.cc Cygwin: Revert attempting to unload user profile after use 2019-03-04 17:31:27 +01:00
uname.cc Cygwin: unbreak the build with GCC 7 2019-07-19 14:14:33 -04:00
update-copyright
userinfo.h
vstrlist.h
wait.cc
wchar.h
wincap.cc Cygwin: Allow accessing 48 bit address space in Windows 8.1 or later 2019-06-04 16:58:53 +02:00
wincap.h Cygwin: Allow accessing 48 bit address space in Windows 8.1 or later 2019-06-04 16:58:53 +02:00
window.cc
winf.cc
winf.h
wininfo.h
winlean.h
winsup.h Cygwin: pty: Limit API hook to the program linked with the APIs. 2019-09-04 15:59:38 +02:00
winver.rc
x86_64.din