diff options
author | Daouda Lo <daouda@mandriva.com> | 2003-04-24 16:55:45 +0000 |
---|---|---|
committer | Daouda Lo <daouda@mandriva.com> | 2003-04-24 16:55:45 +0000 |
commit | f96adfba0928c322de1d8a68c53e98d35de5f003 (patch) | |
tree | 754e29e4493d1edebe7260ce16cba16cabb66fa5 | |
parent | 1bd6c86d82f4c50f6e1ff6742c0548db4f3ea737 (diff) | |
download | userdrake-f96adfba0928c322de1d8a68c53e98d35de5f003.tar userdrake-f96adfba0928c322de1d8a68c53e98d35de5f003.tar.gz userdrake-f96adfba0928c322de1d8a68c53e98d35de5f003.tar.bz2 userdrake-f96adfba0928c322de1d8a68c53e98d35de5f003.tar.xz userdrake-f96adfba0928c322de1d8a68c53e98d35de5f003.zip |
- libuser update
-rw-r--r-- | USER/Makefile.PL | 2 | ||||
-rw-r--r-- | USER/USER.xs | 11 |
2 files changed, 9 insertions, 4 deletions
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*/ + |