From: chas w. <ch...@us...> - 2007-09-04 13:28:59
|
Update of /cvsroot/linux-atm/linux-atm/src/br2684 In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv15871 Modified Files: Tag: V2_5_0 br2684ctl.c Log Message: bug fix for pid file trunctation From: "seventh guardian" <sev...@gm...> Index: br2684ctl.c =================================================================== RCS file: /cvsroot/linux-atm/linux-atm/src/br2684/Attic/br2684ctl.c,v retrieving revision 1.1.2.9 retrieving revision 1.1.2.10 diff -C2 -d -r1.1.2.9 -r1.1.2.10 *** br2684ctl.c 27 Aug 2007 14:24:00 -0000 1.1.2.9 --- br2684ctl.c 4 Sep 2007 13:28:55 -0000 1.1.2.10 *************** *** 59,63 **** if (num < 0) return -1; ! snprintf(name, 20, "/var/run/br2684ctl-nas%d.pid", num); pidfile = fopen(name, "w"); if (pidfile == NULL) return -1; --- 59,63 ---- if (num < 0) return -1; ! snprintf(name, 32, "/var/run/br2684ctl-nas%d.pid", num); pidfile = fopen(name, "w"); if (pidfile == NULL) return -1; |