[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-gnulib] getusershell.c merge from coreutils
From: |
Paul Eggert |
Subject: |
[Bug-gnulib] getusershell.c merge from coreutils |
Date: |
14 Aug 2003 15:54:15 -0700 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 |
I installed this:
2003-08-14 Paul Eggert <address@hidden>
* getusershell.c (readname): Remove casts no longer required in C89.
Index: lib/getusershell.c
===================================================================
RCS file: /cvsroot/gnulib/gnulib/lib/getusershell.c,v
retrieving revision 1.14
diff -p -u -r1.14 getusershell.c
--- lib/getusershell.c 17 Nov 2001 13:29:42 -0000 1.14
+++ lib/getusershell.c 14 Aug 2003 22:02:39 -0000
@@ -1,5 +1,5 @@
/* getusershell.c -- Return names of valid user shells.
- Copyright (C) 1991, 1997, 2000, 2001 Free Software Foundation, Inc.
+ Copyright (C) 1991, 1997, 2000, 2001, 2003 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
@@ -153,7 +153,7 @@ readname (name, size, stream)
if (*name == NULL)
{
*size = 10;
- *name = (char *) xmalloc (*size);
+ *name = xmalloc (*size);
}
/* Skip blank space. */
@@ -166,7 +166,7 @@ readname (name, size, stream)
while (name_index >= *size)
{
*size *= 2;
- *name = (char *) xrealloc (*name, *size);
+ *name = xrealloc (*name, *size);
}
c = getc (stream);
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug-gnulib] getusershell.c merge from coreutils,
Paul Eggert <=