annotate lib/swig/swigwin-2.0.11/CCache/debian/patches/10_lru_cleanup.diff @ 2575:a76d408c5132 tip

DrawTranslucent -> DrawTextureGrayShade Removed old texture drawing stuff
author a.parshin
date Wed, 09 Mar 2016 01:39:52 +0200
parents b3009adc0e2f
children
rev   line source
1899
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1 --- ccache.c (révision 8804)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2 +++ ccache.c (copie de travail)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3 @@ -481,6 +481,9 @@
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4 return;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5 }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
6
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
7 + /* update timestamps for LRU cleanup
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
8 + also gives output_file a sensible mtime when hard-linking (for make) */
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
9 + utime(hashname, NULL);
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
10 utime(stderr_file, NULL);
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
11
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
12 if (strcmp(output_file, "/dev/null") == 0) {
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
13 @@ -513,10 +516,6 @@
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
14 failed();
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
15 }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
16 }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
17 - if (ret == 0) {
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
18 - /* update the mtime on the file so that make doesn't get confused */
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
19 - utime(output_file, NULL);
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
20 - }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
21
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
22 /* get rid of the intermediate preprocessor file */
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
23 if (i_tmpfile) {