diff options
Diffstat (limited to 'net-wireless/irda-utils/files/irda-utils-rh1.patch')
-rw-r--r-- | net-wireless/irda-utils/files/irda-utils-rh1.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/net-wireless/irda-utils/files/irda-utils-rh1.patch b/net-wireless/irda-utils/files/irda-utils-rh1.patch new file mode 100644 index 000000000000..6e4bfca618ae --- /dev/null +++ b/net-wireless/irda-utils/files/irda-utils-rh1.patch @@ -0,0 +1,11 @@ +--- irda-utils-0.9.15/irattach/irattach.c.rh1 2003-11-24 17:30:21.000000000 +0100 ++++ irda-utils-0.9.15/irattach/irattach.c 2003-11-24 17:34:51.000000000 +0100 +@@ -614,7 +614,7 @@ + /* First arg is device name. Save it now, because in some cases + * getopt() will remove it... */ + strncpy(device, argv[1], 20); +- device[20] = '\0'; ++ device[19] = '\0'; + + /* Look for options */ + /* Do this before processing device, to handle "-h" and -v" |