about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-10-07 11:00:44 +0000
committerUlrich Drepper <drepper@redhat.com>1998-10-07 11:00:44 +0000
commit0163d97b8c55bc320c7d867d02ca37badabd1f7c (patch)
treeb54a8e7aaf7c2e8d89b10ad0657c2f9c8537a5fd
parentcc9b1d461e8e4085e762f51c4b1525dd93d0e4f9 (diff)
downloadglibc-0163d97b8c55bc320c7d867d02ca37badabd1f7c.tar.gz
glibc-0163d97b8c55bc320c7d867d02ca37badabd1f7c.tar.xz
glibc-0163d97b8c55bc320c7d867d02ca37badabd1f7c.zip
Update.
1998-10-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

	* manual/filesys.texi (Setting Permissions): Fix example for
	reading umask.

1998-10-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

	* elf/sprof.c (load_profdata): Fix typo in error message.
-rw-r--r--ChangeLog9
-rw-r--r--manual/filesys.texi3
2 files changed, 11 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index d776b9dd40..097fe634cf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+1998-10-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
+
+	* manual/filesys.texi (Setting Permissions): Fix example for
+	reading umask.
+
+1998-10-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
+
+	* elf/sprof.c (load_profdata): Fix typo in error message.
+
 1998-10-06  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
 
 	* sysdeps/m68k/dl-machine.h (RTLD_START): Fix clearing startup
diff --git a/manual/filesys.texi b/manual/filesys.texi
index 302010f78f..518b9e2f5a 100644
--- a/manual/filesys.texi
+++ b/manual/filesys.texi
@@ -2190,8 +2190,9 @@ without changing it permanently:
 mode_t
 read_umask (void)
 @{
-  mask = umask (0);
+  mode_t mask = umask (0);
   umask (mask);
+  return mask;
 @}
 @end smallexample