File: 04_fpurge.diff

package info (click to toggle)
csh 20240808-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,376 kB
  • sloc: ansic: 11,699; makefile: 60; sh: 16
file content (17 lines) | stat: -rw-r--r-- 366 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: Replace BSD-specific fpurge with GNU-specific __fpurge
Forwarded: not-needed
Author: Matej Vela <vela@debian.org>
Last-Update: 2011-05-13

--- a/csh.h
+++ b/csh.h
@@ -76,6 +76,9 @@
 #include <stdio.h>
 extern FILE *cshin, *cshout, *csherr;
 
+#include <stdio_ext.h>
+#define fpurge __fpurge
+
 #define	isdir(d)	(S_ISDIR(d.st_mode))
 
 typedef int bool;