This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[patch:] Typo in sysdeps/unix/sysv/linux/hppa/sysdep.h


No I haven't even compiled this code, but it looked a little wrong.
(And it isn't GNU coding standard either. :-)

2001-04-08  Hans-Peter Nilsson  <hp@axis.com>

	* sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Fix
	typo; s/==/=/ for assignment.

Index: sysdep.h
===================================================================
RCS file: /cvs/glibc/libc/sysdeps/unix/sysv/linux/hppa/sysdep.h,v
retrieving revision 1.1
diff -p -c -r1.1 sysdep.h
*** sysdep.h	2000/10/15 03:28:47	1.1
--- sysdep.h	2001/04/08 22:04:53
***************
*** 1,5 ****
  /* Assembler macros for PA-RISC.
!    Copyright (C) 1999 Free Software Foundation, Inc.
     This file is part of the GNU C Library.
     Contributed by Ulrich Drepper, <drepper@cygnus.com>, August 1999.
     Linux/PA-RISC changes by Philipp Rumpf, <prumpf@tux.org>, March 2000.
--- 1,5 ----
  /* Assembler macros for PA-RISC.
!    Copyright (C) 1999, 2001 Free Software Foundation, Inc.
     This file is part of the GNU C Library.
     Contributed by Ulrich Drepper, <drepper@cygnus.com>, August 1999.
     Linux/PA-RISC changes by Philipp Rumpf, <prumpf@tux.org>, March 2000.
***************
*** 206,212 ****
  	}							\
  	if (__sys_res >= (unsigned long)-4095) {		\
  		__set_errno(-__sys_res);			\
! 		__sys_res == (unsigned long)-1;			\
  	}							\
  	__sys_res;						\
  })
--- 206,212 ----
  	}							\
  	if (__sys_res >= (unsigned long)-4095) {		\
  		__set_errno(-__sys_res);			\
! 		__sys_res = (unsigned long)-1;			\
  	}							\
  	__sys_res;						\
  })

brgds, H-P


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]