OSDN Git Service

Fix reversed test: patch creates a file if /dev/null or dated the epoch _and_ first...
authorRob Landley <rob@landley.net>
Sat, 10 Nov 2012 20:34:01 +0000 (14:34 -0600)
committerRob Landley <rob@landley.net>
Sat, 10 Nov 2012 20:34:01 +0000 (14:34 -0600)
commitffba380a466e010e475462bdfacf0a7045f9e00b
tree80c3f312c28a2dd4eac120faf63babe22d09e4b3
parentc65e89b70b5892d40d4fcab567e615aafcda688a
Fix reversed test: patch creates a file if /dev/null or dated the epoch _and_ first hunk being replaced is 0 lines at start of file, not one or the other.
toys/posix/patch.c