From f96adfba0928c322de1d8a68c53e98d35de5f003 Mon Sep 17 00:00:00 2001 From: Daouda Lo Date: Thu, 24 Apr 2003 16:55:45 +0000 Subject: - libuser update --- USER/Makefile.PL | 2 +- USER/USER.xs | 11 ++++++++--- 2 files changed, 9 insertions(+), 4 deletions(-) (limited to 'USER') diff --git a/USER/Makefile.PL b/USER/Makefile.PL index 57bb152..ac19c4f 100644 --- a/USER/Makefile.PL +++ b/USER/Makefile.PL @@ -7,7 +7,7 @@ WriteMakefile( # 'OPTIMIZE' => '-O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -pipe -s -ffast-math -fexpensive-optimizations', 'VERSION_FROM' => 'USER.pm', 'OBJECT' => 'USER.o', # link all the C files too - 'LIBS' => ['-luser -lgmodule-2.0 -lglib-2.0 -lcrypt'], # e.g., '-lm' + 'LIBS' => ['-lgmodule-2.0 -lglib-2.0 -lcrypt -luser'], # e.g., '-lm' 'DEFINE' => '', # e.g., '-DHAVE_SOMETHING' 'INC' => '-I/usr/include/libuser -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include', # e.g., '-I. -I/usr/include/other' 'XSPROTOARG' => '-noprototypes', diff --git a/USER/USER.xs b/USER/USER.xs index 5505d95..23d5288 100644 --- a/USER/USER.xs +++ b/USER/USER.xs @@ -84,8 +84,8 @@ void Admin_start(self) USER::ADMIN *self CODE: - USER__ERR *error; - self = lu_start(NULL, 0, NULL, NULL, NULL, NULL, &error); + USER__ERR *error = NULL; + self = lu_start(NULL, 0, NULL, NULL, lu_prompt_console_quiet, NULL, &error); void Admin_DESTROY(self) @@ -221,5 +221,10 @@ Ent_get_attributes(self) OUTPUT: RETVAL - +MODULE = USER PACKAGE = USER PREFIX = User_ +void +User_read_config_files() + CODE: + /*force read of /etc/sysconfig/userdrake*/ + -- cgit v1.2.1