1
#! /bin/sh /usr/share/dpatch/dpatch-run
2
## 30_w_time.dpatch by <csmall@debian.org>
4
## All lines beginning with `## DP:' are a description of the patch.
5
## DP: Let fprintf print locale-friendly seconds #252575
8
diff -urNad procps-3.2.7~/w.c procps-3.2.7/w.c
9
--- procps-3.2.7~/w.c 2009-01-09 15:56:04.000000000 +1100
10
+++ procps-3.2.7/w.c 2009-01-09 16:14:56.000000000 +1100
12
else if (t > 60) /* > 1 minute */
13
fprintf(fout, " %2lu:%02u ", t/60, (unsigned) t%60);
15
- fprintf(fout, " %2lu.%02us", t, centi_sec);
16
+ fprintf(fout, " %2lu.%02us", t, centi_sec);
19
/**** stat the device file to get an idle time */