Skip to content

Commit

Permalink
* sysdeps/mach/hurd/mig-reply.c (reply_port): Don't use ?: as lvalue.
Browse files Browse the repository at this point in the history
  • Loading branch information
Roland McGrath committed Aug 5, 2005
1 parent 8dd5f2e commit bf3534a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
2005-08-05 Roland McGrath <roland@redhat.com>

* sysdeps/mach/hurd/mig-reply.c (reply_port): Don't use ?: as lvalue.

2005-08-03 Dwayne Grant McConnell <dgm69@us.ibm.com>

* sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s):
Expand Down
4 changes: 2 additions & 2 deletions sysdeps/mach/hurd/mig-reply.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
/* Copyright (C) 1994,1995,1996,1997,2005 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
Expand All @@ -22,7 +22,7 @@
#define GETPORT \
mach_port_t *portloc = \
(mach_port_t *) __hurd_threadvar_location (_HURD_THREADVAR_MIG_REPLY)
#define reply_port (use_threadvar ? *portloc : global_reply_port)
#define reply_port (*(use_threadvar ? portloc : &global_reply_port))

static int use_threadvar;
static mach_port_t global_reply_port;
Expand Down

0 comments on commit bf3534a

Please sign in to comment.