[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Patch for gcc-3.0 compilation of glibc
From: |
Jeff Bailey |
Subject: |
Patch for gcc-3.0 compilation of glibc |
Date: |
Sun, 2 Dec 2001 08:44:18 -0800 |
User-agent: |
Mutt/1.2.5i |
It seems that gcc-3.0 now considers 'volatile' to be a critical part
of the declaration. The following allows the compile to proceed:
I have also been beaten with a trout on IRC for using diff -c, so I've
switched it to diff -up for this one. ;)
2001-12-02 Jeff Bailey <jbailey@nisa.net>
* hurd/hurdinit.c: Add volatile to declaration to match hurd.h:82
Index: hurd/hurdinit.c
===================================================================
RCS file: /cvs/glibc/libc/hurd/hurdinit.c,v
retrieving revision 1.49
diff -u -p -r1.49 hurdinit.c
--- hurdinit.c 2001/07/06 04:54:47 1.49
+++ hurdinit.c 2001/12/02 16:38:49
@@ -29,7 +29,7 @@
int _hurd_exec_flags;
struct hurd_port *_hurd_ports;
unsigned int _hurd_nports;
-mode_t _hurd_umask;
+volatile mode_t _hurd_umask;
sigset_t _hurdsig_traced;
char **__libc_argv;
- Patch for gcc-3.0 compilation of glibc,
Jeff Bailey <=