*** empty log message ***

This commit is contained in:
Martin Baulig
1998-06-02 19:42:53 +00:00
parent f233a1673f
commit e71eb0e75b
4 changed files with 10 additions and 3 deletions

View File

@@ -1,5 +1,10 @@
1998-06-02 Martin Baulig <baulig@merkur.uni-trier.de>
* lib/open.c (glibtop_open): renamed to `glibtop_open__l'.
* sysdeps/linux/open.c (glibtop_open): renamed to
`glibtop_open__r'.
* include/glibtop/open.h (GLIBTOP_OPEN_NO_OVERRIDE):
tells `glibtop_open' to use the default server and not
to check the environment variables.

View File

@@ -28,7 +28,9 @@ __BEGIN_DECLS
#define GLIBTOP_OPEN_NO_OVERRIDE 1
extern void glibtop_open __P((glibtop *, const char *, const unsigned long, const unsigned));
extern void glibtop_open__l __P((glibtop *, const char *, const unsigned long, const unsigned));
extern void glibtop_open__r __P((glibtop *, const char *, const unsigned long, const unsigned));
__END_DECLS

View File

@@ -54,7 +54,7 @@ main(int argc, char *argv[])
glibtop_version ();
glibtop_open (&server, argv [0], 0, GLIBTOP_OPEN_NO_OVERRIDE);
glibtop_open__l (&server, argv [0], 0, GLIBTOP_OPEN_NO_OVERRIDE);
/* close all file descriptors except ones used by the pipes (0 and 1). */
max_fd = GET_MAX_FDS();

View File

@@ -73,7 +73,7 @@ int main(int argc, char *argv[])
setreuid (uid, euid); setregid (gid, egid);
glibtop_open (&server, argv [0], 0, 0);
glibtop_open__r (&server, argv [0], 0, 0);
if (setreuid (euid, uid)) _exit (1);