diff options
Diffstat (limited to 'src/rgb.c')
-rw-r--r-- | src/rgb.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -66,7 +66,7 @@ xpmReadRgbNames( xpmRgbName *rgb; /* Open the rgb text file. Abort if error. */ - if ((rgbf = fopen(rgb_fname, "r")) == NULL) + if ((rgbf = fopen(rgb_fname, "r" FOPEN_CLOEXEC)) == NULL) return 0; /* Loop reading each line in the file. */ |