2001-08-07  Andreas Jaeger  <aj@suse.de>

	* iconv/gconv_charset.h (upstr): Add unused attribute to avoid
	warning.

	* libio/iopopen.c (_IO_new_proc_open): Fix typos, it's
	_IO_MTSAFE_IO.
	(_IO_new_proc_close): Likewise.
	* libio/oldiopopen.c (_IO_old_proc_open): Likewise.
	(_IO_old_proc_close): Likewise.
This commit is contained in:
Andreas Jaeger 2001-08-07 17:26:45 +00:00
parent 61501b5a02
commit 9ec9864b21
3 changed files with 19 additions and 8 deletions

View File

@ -1,3 +1,14 @@
2001-08-07 Andreas Jaeger <aj@suse.de>
* iconv/gconv_charset.h (upstr): Add unused attribute to avoid
warning.
* libio/iopopen.c (_IO_new_proc_open): Fix typos, it's
_IO_MTSAFE_IO.
(_IO_new_proc_close): Likewise.
* libio/oldiopopen.c (_IO_old_proc_open): Likewise.
(_IO_old_proc_close): Likewise.
2001-08-06 Ulrich Drepper <drepper@redhat.com>
* manual/locale.texi: Add documentation of rpmatch.

View File

@ -182,13 +182,13 @@ _IO_new_proc_open (fp, command, mode)
_IO_fileno (fp) = parent_end;
/* Link into proc_file_chain. */
#ifdef _IO_MTSFE_IO
#ifdef _IO_MTSAFE_IO
_IO_cleanup_region_start_noarg (unlock);
_IO_lock_lock (proc_file_chain_lock);
#endif
((_IO_proc_file *) fp)->next = proc_file_chain;
proc_file_chain = (_IO_proc_file *) fp;
#ifdef _IO_MTSFE_IO
#ifdef _IO_MTSAFE_IO
_IO_lock_unlock (proc_file_chain_lock);
_IO_cleanup_region_end (0);
#endif
@ -247,7 +247,7 @@ _IO_new_proc_close (fp)
int status = -1;
/* Unlink from proc_file_chain. */
#ifdef _IO_MTSFE_IO
#ifdef _IO_MTSAFE_IO
_IO_cleanup_region_start_noarg (unlock);
_IO_lock_lock (proc_file_chain_lock);
#endif
@ -260,7 +260,7 @@ _IO_new_proc_close (fp)
break;
}
}
#ifdef _IO_MTSFE_IO
#ifdef _IO_MTSAFE_IO
_IO_lock_unlock (proc_file_chain_lock);
_IO_cleanup_region_end (0);
#endif

View File

@ -183,13 +183,13 @@ _IO_old_proc_open (fp, command, mode)
_IO_fileno (fp) = parent_end;
/* Link into old_proc_file_chain. */
#ifdef _IO_MTSFE_IO
#ifdef _IO_MTSAFE_IO
_IO_cleanup_region_start_noarg (unlock);
_IO_lock_lock (proc_file_chain_lock);
#endif
((_IO_proc_file *) fp)->next = old_proc_file_chain;
old_proc_file_chain = (_IO_proc_file *) fp;
#ifdef _IO_MTSFE_IO
#ifdef _IO_MTSAFE_IO
_IO_lock_unlock (proc_file_chain_lock);
_IO_cleanup_region_end (0);
#endif
@ -247,7 +247,7 @@ _IO_old_proc_close (fp)
int status = -1;
/* Unlink from old_proc_file_chain. */
#ifdef _IO_MTSFE_IO
#ifdef _IO_MTSAFE_IO
_IO_cleanup_region_start_noarg (unlock);
_IO_lock_lock (proc_file_chain_lock);
#endif
@ -260,7 +260,7 @@ _IO_old_proc_close (fp)
break;
}
}
#ifdef _IO_MTSFE_IO
#ifdef _IO_MTSAFE_IO
_IO_lock_unlock (proc_file_chain_lock);
_IO_cleanup_region_end (0);
#endif