forked from Lainports/opnsense-ports
Taken from: https://github.com/freebsd/freebsd-ports.git Commit id: 5070672073b68be364139bc6b3a89100bd17d331
15 lines
507 B
Text
15 lines
507 B
Text
# Fix a 64-bit crash in the entries_time() function and another bug in
|
|
# the diff code. Thanks to Gabor Gombas for the patch. Closes:
|
|
# #329127.
|
|
diff -Nur diff/util.c diff/util.c
|
|
--- diff/util.c 2003-02-03 03:52:38.000000000 +0800
|
|
+++ diff/util.c 2006-02-26 21:32:22.000000000 +0800
|
|
@@ -235,7 +235,7 @@
|
|
close (pipes[0]);
|
|
}
|
|
|
|
- execl (PR_PROGRAM, PR_PROGRAM, "-f", "-h", name, 0);
|
|
+ execl (PR_PROGRAM, PR_PROGRAM, "-f", "-h", name, NULL);
|
|
pfatal_with_name (PR_PROGRAM);
|
|
}
|
|
else
|