Commit Graph

12 Commits

Author SHA1 Message Date
Pavel Machek
ce6e42f45a Support linux with devfs 2000-06-16 11:40:23 +00:00
Pavel Machek
bfe05cff74 Make cons.saver runable by non-root users. 1999-05-12 11:48:11 +00:00
Miguel de Icaza
606c833f93 1999-04-05 Federico Mena Quintero <federico@nuclecu.unam.mx>
* cons.saver.c (main): dup2() may be interrupted; take this into
	account.  Do we need to fcntl() stderr, or is it enough to close()
	it before recreating it?
1999-04-05 20:18:16 +00:00
Miguel de Icaza
430894d530 Pass two at the fix 1999-01-27 02:20:28 +00:00
Miguel de Icaza
09d44c9f4e 1999-01-26 Miguel de Icaza <miguel@nuclecu.unam.mx>
* cons.saver.c: Removed glib from the suid app
1999-01-27 01:40:33 +00:00
Timur Bakeyev
a39568367e Glibing..... (2)
Wed Jan 27 03:17:44 1999  Timur Bakeyev <mc@bat.ru>

	* Converted memory managment to Glib. Now we use g_new()/g_malloc()/
	g_strdup()/g_free() routings. Also, copy_strings() replaced by
	g_strconcat(), strcasecmp() -> g_strcasecmp(),and sprintf() by
	g_snprintf().

	* Some sequences of malloc()/sprintf() changed to g_strdup_printf().

	* mad.[ch]: Modified, to work with new GLib's memory managment. Fixed
	a missing #undef for tempnam, which caused dead loop. Add several new
	functions to emulate GLib memory managment.

	*main.c, mad.[ch]: Add a new switch  "-M", which allows to redirect MAD
	messages to the file.

	* util.[ch], utilunix.c: Modified, deleted our variants of strcasecmp()
	and strdup() - we have g_ equivalences. Remove get_full_name() - it is
	similar to concat_dir_and_file(). Some other tricks with g_* functions.

	* global.h: Modified, extended. Now it is main memory mangment include -
	i.e. all inclusions of <stdlib.h>, <malloc.h>, <glib.h>, "fs.h", "mem.h",
	"util.h" and "mad.h" done there. This elimanates problem with proper or-
	der of #include's.

	* All around the source - changed order of #include's, most of them gone
	to global.h (see above), minor changes, like "0" -> NULL in string func-
	tions.
1999-01-27 01:08:30 +00:00
Miguel de Icaza
301e7fbfc3 Many changes:
- Beginning of the CORBA support for the file manager.
	- Tk and XView code dropped.

Miguel
1998-12-02 23:44:06 +00:00
Miguel de Icaza
b20b135eba Define stderr_fd 1998-12-01 05:06:15 +00:00
Miguel de Icaza
90007df586 Further checks 1998-11-26 23:47:38 +00:00
Miguel de Icaza
c387c466ee 1998-11-26 Miguel de Icaza <miguel@nuclecu.unam.mx>
* cons.saver.c (main): Make sure stderr is always valid.
1998-11-26 23:44:45 +00:00
Miguel de Icaza
7ca312db48 Jakub's fix to cons.saver 1998-10-01 16:42:33 +00:00
Miguel de Icaza
eb6b3842ab Initial revision 1998-02-27 04:54:42 +00:00