mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 19:00:07 +00:00
* nss/getent.c (print_group, print_passwd): Use %lu format for
`unsigned long int' values. * sysdeps/unix/sysv/linux/i386/fcntl.c (__fcntl_nocancel): Fix syntax error typos in goto statements.
This commit is contained in:
parent
ec5a15a32b
commit
c61a8bb4a9
@ -1,3 +1,11 @@
|
|||||||
|
2004-07-06 Thorsten Kukuk <kukuk@suse.de>
|
||||||
|
|
||||||
|
* nss/getent.c (print_group, print_passwd): Use %lu format for
|
||||||
|
`unsigned long int' values.
|
||||||
|
|
||||||
|
* sysdeps/unix/sysv/linux/i386/fcntl.c (__fcntl_nocancel): Fix syntax
|
||||||
|
error typos in goto statements.
|
||||||
|
|
||||||
2004-07-07 Roland McGrath <roland@frob.com>
|
2004-07-07 Roland McGrath <roland@frob.com>
|
||||||
|
|
||||||
* Makefile (dist-separate): New variable.
|
* Makefile (dist-separate): New variable.
|
||||||
|
@ -174,7 +174,7 @@ print_group (struct group *grp)
|
|||||||
{
|
{
|
||||||
unsigned int i = 0;
|
unsigned int i = 0;
|
||||||
|
|
||||||
printf ("%s:%s:%ld:", grp->gr_name ? grp->gr_name : "",
|
printf ("%s:%s:%lu:", grp->gr_name ? grp->gr_name : "",
|
||||||
grp->gr_passwd ? grp->gr_passwd : "",
|
grp->gr_passwd ? grp->gr_passwd : "",
|
||||||
(unsigned long int) grp->gr_gid);
|
(unsigned long int) grp->gr_gid);
|
||||||
|
|
||||||
@ -453,7 +453,7 @@ networks_keys (int number, char *key[])
|
|||||||
static inline void
|
static inline void
|
||||||
print_passwd (struct passwd *pwd)
|
print_passwd (struct passwd *pwd)
|
||||||
{
|
{
|
||||||
printf ("%s:%s:%ld:%ld:%s:%s:%s\n",
|
printf ("%s:%s:%lu:%lu:%s:%s:%s\n",
|
||||||
pwd->pw_name ? pwd->pw_name : "",
|
pwd->pw_name ? pwd->pw_name : "",
|
||||||
pwd->pw_passwd ? pwd->pw_passwd : "",
|
pwd->pw_passwd ? pwd->pw_passwd : "",
|
||||||
(unsigned long int) pwd->pw_uid,
|
(unsigned long int) pwd->pw_uid,
|
||||||
|
@ -75,7 +75,7 @@ __fcntl_nocancel (int fd, int cmd, ...)
|
|||||||
fl.l_len = (off_t) fl64->l_len;
|
fl.l_len = (off_t) fl64->l_len;
|
||||||
/* Check if we can represent the values with the smaller type. */
|
/* Check if we can represent the values with the smaller type. */
|
||||||
if ((off64_t) fl.l_len != fl64->l_len)
|
if ((off64_t) fl.l_len != fl64->l_len)
|
||||||
goto eoverflow:
|
goto eoverflow;
|
||||||
|
|
||||||
fl.l_type = fl64->l_type;
|
fl.l_type = fl64->l_type;
|
||||||
fl.l_whence = fl64->l_whence;
|
fl.l_whence = fl64->l_whence;
|
||||||
@ -103,7 +103,7 @@ __fcntl_nocancel (int fd, int cmd, ...)
|
|||||||
fl.l_start = (off_t) fl64->l_start;
|
fl.l_start = (off_t) fl64->l_start;
|
||||||
/* Check if we can represent the values with the smaller type. */
|
/* Check if we can represent the values with the smaller type. */
|
||||||
if ((off64_t) fl.l_start != fl64->l_start)
|
if ((off64_t) fl.l_start != fl64->l_start)
|
||||||
goto eoverflow:
|
goto eoverflow;
|
||||||
|
|
||||||
fl.l_len = (off_t)fl64->l_len;
|
fl.l_len = (off_t)fl64->l_len;
|
||||||
/* Check if we can represent the values with the smaller type. */
|
/* Check if we can represent the values with the smaller type. */
|
||||||
|
Loading…
Reference in New Issue
Block a user