projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(mkdir): Use pid_t instead of int; check status
[gnulib.git]
/
lib
/
modechange.c
diff --git
a/lib/modechange.c
b/lib/modechange.c
index
10e65fb
..
0578031
100644
(file)
--- a/
lib/modechange.c
+++ b/
lib/modechange.c
@@
-1,5
+1,5
@@
/* modechange.c -- file mode manipulation
/* modechange.c -- file mode manipulation
- Copyright (C) 1989, 1990, 1997, 1998 Free Software Foundation, Inc.
+ Copyright (C) 1989, 1990, 1997, 1998
, 1999
Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@
-35,7
+35,7
@@
#if STDC_HEADERS
# include <stdlib.h>
#else
#if STDC_HEADERS
# include <stdlib.h>
#else
-char *malloc;
+char *malloc
()
;
#endif
#ifndef NULL
#endif
#ifndef NULL
@@
-59,7
+59,7
@@
char *malloc;
octal number S. If S is not an octal number, return -1. */
static int
octal number S. If S is not an octal number, return -1. */
static int
-oatoi (char *s)
+oatoi (c
onst c
har *s)
{
register int i;
{
register int i;
@@
-171,7
+171,7
@@
mode_compile (const char *mode_string, unsigned int masked_ops)
change->next = talloc (struct mode_change);
if (change->next == NULL)
{
change->next = talloc (struct mode_change);
if (change->next == NULL)
{
- mode_free (
change
);
+ mode_free (
head
);
return MODE_MEMORY_EXHAUSTED;
}
change = change->next;
return MODE_MEMORY_EXHAUSTED;
}
change = change->next;