X-Git-Url: https://git.cameronkatri.com/pw-darwin.git/blobdiff_plain/6924c20486d31cd8c84dfbcd4eecf8df045c8d57..678cfa04214e0160ad474d433914c2120fd14d79:/pw/edgroup.c?ds=sidebyside diff --git a/pw/edgroup.c b/pw/edgroup.c index 9dcbc63..6116fa6 100644 --- a/pw/edgroup.c +++ b/pw/edgroup.c @@ -22,16 +22,18 @@ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. - * - * $Id$ */ +#ifndef lint +static const char rcsid[] = + "$Id: edgroup.c,v 1.5 1997/10/10 06:23:30 charnier Exp $"; +#endif /* not lint */ + #include #include #include #include #include -#include #include #include #include @@ -62,7 +64,7 @@ editgroups(char *name, char **groups) int rc = 0; int infd; - if ((infd = open(groupfile, O_RDWR | O_CREAT | O_EXLOCK, 0644)) != -1) { + if ((infd = open(groupfile, O_RDWR | O_CREAT, 0644)) != -1) { FILE *infp; if ((infp = fdopen(infd, "r+")) == NULL)