projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix up potential overflows in size calculations by replacing
[pspp]
/
src
/
permissions.c
diff --git
a/src/permissions.c
b/src/permissions.c
index f0ea817f9416bf670586e2ffcb7f64463ae280cb..140c79ef27fe10a8f722624efb0573ef211b5f0a 100644
(file)
--- a/
src/permissions.c
+++ b/
src/permissions.c
@@
-14,8
+14,8
@@
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
- Foundation, Inc., 5
9 Temple Place - Suite 330
, Boston, MA
- 0211
1-1307
, USA. */
+ Foundation, Inc., 5
1 Franklin Street, Fifth Floor
, Boston, MA
+ 0211
0-1301
, USA. */
#include <config.h>
#include "error.h"
#include <config.h>
#include "error.h"
@@
-24,15
+24,16
@@
#include <sys/stat.h>
#include <unistd.h>
#include <errno.h>
#include <sys/stat.h>
#include <unistd.h>
#include <errno.h>
-
#include "settings.h"
#include "command.h"
#include "error.h"
#include "lexer.h"
#include "misc.h"
#include "settings.h"
#include "command.h"
#include "error.h"
#include "lexer.h"
#include "misc.h"
+#include "stat-macros.h"
#include "str.h"
#include "str.h"
-
+#include "gettext.h"
+#define _(msgid) gettext (msgid)
enum PER {PER_RO, PER_RW};
enum PER {PER_RO, PER_RW};