Skip to content
This repository has been archived by the owner on Aug 27, 2024. It is now read-only.

Commit

Permalink
ChangeLog:
Browse files Browse the repository at this point in the history
2008-11-22  Moritz  <moritz@gnu.org>

	* configure.ac: Added AM_GNU_GETTEXT_VERSION to remove autoreconf
	warning.

src/util/ChangeLog:

2008-11-22  Moritz  <moritz@gnu.org>

	* simplelog.c (internal_log_write): Fallback to log level LOG_ERR
	in case the caller passes an invalid log level.
	* support.c: Added <limits.h>, thanks to Peter Lewis.
  • Loading branch information
Moritz Schulte committed Nov 22, 2008
1 parent c75ea91 commit 0574d46
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2008-11-22 Moritz <moritz@gnu.org>

* configure.ac: Added AM_GNU_GETTEXT_VERSION to remove autoreconf
warning.

2008-08-17 Moritz <moritz@gnu.org>

* configure.ac: Be more verbose in respect to setting the PAM
Expand Down
1 change: 1 addition & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ fi

# Native language support:
AM_GNU_GETTEXT([external])
AM_GNU_GETTEXT_VERSION(0.17)

#
# Decide what to build
Expand Down
6 changes: 6 additions & 0 deletions src/util/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
2008-11-22 Moritz <moritz@gnu.org>

* simplelog.c (internal_log_write): Fallback to log level LOG_ERR
in case the caller passes an invalid log level.
* support.c: Added <limits.h>, thanks to Peter Lewis.

2008-08-07 Moritz <moritz@gnu.org>

* defs.h.in (POLDI_USERS_DB_FILE, POLDI_KEY_DIRECTORY): Removed
Expand Down
6 changes: 6 additions & 0 deletions src/util/simplelog.c
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,12 @@ internal_log_write (log_handle_t handle, log_level_t level,
case LOG_LEVEL_FATAL:
syslog_priority = LOG_ALERT;
break;

default:
/* FIXME: what to do when the user passes an invalid log
level? -mo */
syslog_priority = LOG_ERR;
break;
}

vsyslog (LOG_MAKEPRI (LOG_AUTH, syslog_priority), fmt, ap);
Expand Down
1 change: 1 addition & 0 deletions src/util/support.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
#include <stdarg.h>
#include <pwd.h>
#include <dirent.h>
#include <limits.h>

#include <gcrypt.h>

Expand Down

0 comments on commit 0574d46

Please sign in to comment.