summaryrefslogtreecommitdiffstats
path: root/control
Commit message (Collapse)AuthorAgeFilesLines
* control: B-D on patchPatrick McDermott2019-04-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Quoth ob-applypatches: ob-applypatches: Applying patch "01_properly-support-shared-library.patch"... patching file Makefile ob-applypatches: Applying patch "02_bzip2recover-race-open-output.patch"... patching file bzip2recover.c Possibly reversed hunk 2 at 515 Hunk 2 FAILED 269/271. name[n-1] == '2'); } +/*---------------------------------------------*/ +/* Open an output file safely with O_EXCL and good permissions */ +FILE* fopen_output( Char* name, const char* mode ) +{ + FILE *fp; + int fh; + + fh = open(name, O_WRONLY|O_CREAT|O_EXCL, 0600); + if (fh == -1) return NULL; + fp = fdopen(fh, mode); + if (fp == NULL) close(fh); + return fp; +} /*---------------------------------------------------*/ /*--- ---*/ ob-applypatches: Error: Can't apply patch "02_bzip2recover-race-open-output.patch"
* Use oh-shlibdepsPatrick McDermott2019-04-061-1/+1
|
* control: Ensure broken "<<" doesn't happen againPatrick McDermott2019-04-061-1/+1
|
* control: Update MaintainerPatrick McDermott2019-04-061-1/+1
|
* control: Update HomepagePatrick McDermott2019-04-061-1/+1
| | | | https://sourceforge.net/p/bzip2/tickets/1/
* Initial commit.P. J. McDermott2014-06-101-0/+3