]> git.pld-linux.org Git - packages/bootp.git/blob - bootp-tmprace.patch
- adapterized (sorted verify flags)
[packages/bootp.git] / bootp-tmprace.patch
1 diff -Nru bootp-2.4.3/bootpd.c bootp-2.4.3.new/bootpd.c
2 --- bootp-2.4.3/bootpd.c        Fri Nov 13 23:40:05 1998
3 +++ bootp-2.4.3.new/bootpd.c    Fri Nov 13 23:43:12 1998
4 @@ -100,9 +100,8 @@
5  #ifndef CONFIG_FILE
6  #define CONFIG_FILE            "/etc/bootptab"
7  #endif
8 -#ifndef DUMPTAB_FILE
9 -#define DUMPTAB_FILE           "/tmp/bootpd.dump"
10 -#endif
11 +
12 +char DUMPTAB_FILE [] = "/tmp/bootpd.dump.XXXXXX";
13  
14  \f
15  
16 @@ -388,7 +387,8 @@
17  
18         if (argc > 1)
19                 bootpd_dump = argv[1];
20 -
21 +       else
22 +               mktemp(DUMPTAB_FILE);
23         /*
24          * Get my hostname and IP address.
25          */
This page took 0.062501 seconds and 3 git commands to generate.