[Pcsclite-cvs-commit] r2730 - /trunk/PCSC/src/pcscdaemon.c
rousseau at users.alioth.debian.org
rousseau at users.alioth.debian.org
Fri Jan 11 16:42:26 UTC 2008
Author: rousseau
Date: Fri Jan 11 16:42:26 2008
New Revision: 2730
URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=2730
Log:
add a \n after the pid number in PCSCLITE_RUN_PID so that cat(1) works
correctly
Modified:
trunk/PCSC/src/pcscdaemon.c
Modified: trunk/PCSC/src/pcscdaemon.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/PCSC/src/pcscdaemon.c?rev=2730&op=diff
==============================================================================
--- trunk/PCSC/src/pcscdaemon.c (original)
+++ trunk/PCSC/src/pcscdaemon.c Fri Jan 11 16:42:26 2008
@@ -3,7 +3,7 @@
*
* Copyright (C) 1999-2002
* David Corcoran <corcoran at linuxnet.com>
- * Copyright (C) 1999-2007
+ * Copyright (C) 1999-2008
* Ludovic Rousseau <ludovic.rousseau at free.fr>
*
* $Id$
@@ -445,7 +445,7 @@
{
char pid[PID_ASCII_SIZE];
- snprintf(pid, sizeof(pid), "%u", (unsigned) getpid());
+ snprintf(pid, sizeof(pid), "%u\n", (unsigned) getpid());
SYS_WriteFile(f, pid, strlen(pid));
SYS_CloseFile(f);
More information about the Pcsclite-cvs-commit
mailing list