summaryrefslogtreecommitdiff
path: root/cross/avrdude/patches/patch-ae
diff options
context:
space:
mode:
Diffstat (limited to 'cross/avrdude/patches/patch-ae')
-rw-r--r--cross/avrdude/patches/patch-ae13
1 files changed, 13 insertions, 0 deletions
diff --git a/cross/avrdude/patches/patch-ae b/cross/avrdude/patches/patch-ae
new file mode 100644
index 00000000000..390fa3f54d1
--- /dev/null
+++ b/cross/avrdude/patches/patch-ae
@@ -0,0 +1,13 @@
+$NetBSD: patch-ae,v 1.1.1.1 2003/07/17 19:09:23 wennmach Exp $
+
+--- ser_posix.c.org Tue Jul 8 11:11:06 2003
++++ ser_posix.c Tue Jul 8 11:11:22 2003
+@@ -120,7 +120,7 @@
+ /*
+ * open the serial port
+ */
+- fd = open(port, O_RDWR | O_NOCTTY /*| O_NONBLOCK*/);
++ fd = open(port, O_RDWR | O_NOCTTY | O_NONBLOCK);
+ if (fd < 0) {
+ fprintf(stderr, "%s: serial_open(): can't open device \"%s\": %s\n",
+ progname, port, strerror(errno));