1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-15 04:32:24 +00:00

ttsnoop: use tail arg -f rather than +0f

I cannot even find out what "+0f" is supposed to do (google fail), but
this seems a reasonable alternative that should work everywhere.
This commit is contained in:
Jon Trulson 2018-06-29 14:37:48 -06:00
parent af6c2fd881
commit 392356f6b4

View file

@ -517,7 +517,7 @@ main(int argc, char **argv)
} }
} }
apiTracerArgv[ 0 ] = "tail"; apiTracerArgv[ 0 ] = "tail";
apiTracerArgv[ 1 ] = "+0f"; apiTracerArgv[ 1 ] = "-f";
apiTracerArgv[ 2 ] = traceFile; apiTracerArgv[ 2 ] = traceFile;
if (snoopFile == 0) { if (snoopFile == 0) {
// //
@ -530,7 +530,7 @@ main(int argc, char **argv)
} }
} }
snooperArgv[ 0 ] = "tail"; snooperArgv[ 0 ] = "tail";
snooperArgv[ 1 ] = "+0f"; snooperArgv[ 1 ] = "-f";
snooperArgv[ 2 ] = snoopFile; snooperArgv[ 2 ] = snoopFile;
if (optind < argc) { if (optind < argc) {