openocd/src
Paul Fertser 3a590658e9 jtag/drivers/remote_bitbang: use sizeof to determine maximum unix socket path length
Different *nix systems use different constants, so sizeof should be
used instead. This fixes the build on OS X (as sun_path length is
hardcoded to 104 on Darwin).

Change-Id: I1df611383dedcfc6d153ec59b453a895c7d84e94
Reported-by: Xiaofan Chen <xiaofanc@gmail.com>
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Reviewed-on: http://openocd.zylin.com/2095
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-by: Xiaofan <xiaofanc@gmail.com>
2014-04-14 18:16:52 +00:00
..
flash flash/nor/at91sam3: remove sam3_page_write_opcodes 2014-04-08 11:34:53 +00:00
helper Don't cast return value of [cm]alloc 2014-03-30 03:53:45 +00:00
jtag jtag/drivers/remote_bitbang: use sizeof to determine maximum unix socket path length 2014-04-14 18:16:52 +00:00
pld update files to correct FSF address 2013-06-05 19:52:42 +00:00
rtos Don't cast return value of [cm]alloc 2014-03-30 03:53:45 +00:00
server gdb_server: do not copy feature names for tdesc generation 2014-03-17 12:42:26 +00:00
svf Don't cast return value of [cm]alloc 2014-03-30 03:53:45 +00:00
target target: fix incorrect arm cpu monitor mode encoding 2014-04-14 18:15:57 +00:00
transport Don't cast return value of [cm]alloc 2014-03-30 03:53:45 +00:00
xsvf update files to correct FSF address 2013-06-05 19:52:42 +00:00
hello.c update files to correct FSF address 2013-06-05 19:52:42 +00:00
hello.h update files to correct FSF address 2013-06-05 19:52:42 +00:00
main.c update files to correct FSF address 2013-06-05 19:52:42 +00:00
Makefile.am Makefile.am: fix build for libftdi1, pass CFLAGS where appropriate 2014-04-14 18:09:40 +00:00
openocd.c update files to correct FSF address 2013-06-05 19:52:42 +00:00
openocd.h update files to correct FSF address 2013-06-05 19:52:42 +00:00