Bugzilla – Attachment 7937 Details for
Bug 7619
3M self checkout don't work in France
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch fixing french 3M self-checkout
0001-Bufix-for-french-3M-self-checkout.patch (text/plain), 1.00 KB, created by
Paul Poulain
on 2012-02-29 11:01:37 UTC
(
hide
)
Description:
patch fixing french 3M self-checkout
Filename:
MIME Type:
Creator:
Paul Poulain
Created:
2012-02-29 11:01:37 UTC
Size:
1.00 KB
patch
obsolete
>kohaadmin@vmkopro:~/src$ cat 0001-Bufix-for-french-3M-self-checkout.patch >From f1a286df0f39409e5d7d363884de6e4c8d497a74 Mon Sep 17 00:00:00 2001 >From: kohaadmin <kohaadmin@vmkopro.univ-lyon3.fr.univ-lyon3.fr> >Date: Wed, 29 Feb 2012 11:50:21 +0100 >Subject: [PATCH] Bufix for french 3M self checkout > >Without this fix, the 3M self checkout don't read Koha message properly, and: >* is VERY slow >* fails reading 1 line on 2 > >The patch fixes this problem >--- > C4/SIP/Sip.pm | 5 ++--- > 1 files changed, 2 insertions(+), 3 deletions(-) > >diff --git a/C4/SIP/Sip.pm b/C4/SIP/Sip.pm >index 337cc0e..e390ff1 100644 >--- a/C4/SIP/Sip.pm >+++ b/C4/SIP/Sip.pm >@@ -229,13 +229,12 @@ sub write_msg { > $msg .= sprintf('%04.4X', $cksum); > } > >- > if ($file) { > $file->autoflush(1); >- print $file "$msg\r"; >+ print $file "$msg$CRLF"; > } else { > STDOUT->autoflush(1); >- print $msg, "\r"; >+ print $msg, "$CRLF"; > syslog("LOG_INFO", "OUTPUT MSG: '$msg'"); > } > >-- >1.7.2.3 > >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 7619
:
7937
|
10031
|
10456