Re: Problem with test(1)

2007-04-06 Thread Joe Marcus Clarke
On Thu, 2007-04-05 at 10:08 -0500, Dan Nelson wrote: In the last episode (Apr 05), Joe Marcus Clarke said: I noticed something weird with test(1) when I ran across a problem port Makefile. Our test(1) doesn't properly check to make sure there is an operand argument to unary operators like

Problem with test(1)

2007-04-05 Thread Joe Marcus Clarke
: argument expected I think this patch is correct in that it does fix the problem, and the TEST.sh and TEST.csh regression scripts report the same results pre and post-patch. Comments? http://www.marcuscom.com/downloads/text.c.diff Joe -- Joe Marcus Clarke FreeBSD GNOME Team :: [EMAIL

Problem with test(1)

2007-04-05 Thread Joe Marcus Clarke
I noticed something weird with test(1) when I ran across a problem port Makefile. Our test(1) doesn't properly check to make sure there is an operand argument to unary operators like -f. For example: test -f Will print TRUE on FreeBSD. On Solaris, it will die: /usr/bin/test[8]: test:

Adding hier/mtree support for HAL

2006-05-08 Thread Joe Marcus Clarke
like to add a /media to FreeBSD. I would like to add this to hier(7) as well as BSD.root.mtree. Would this be permissible? Thanks. Joe - -- Joe Marcus Clarke FreeBSD GNOME Team :: [EMAIL PROTECTED] FreeNode / #freebsd-gnome http://www.FreeBSD.org/gnome -BEGIN PGP SIGNATURE

Re: User mounting take 2

2006-04-15 Thread Joe Marcus Clarke
On Sat, 2006-04-15 at 11:13 +0100, Matthew Seaman wrote: Joe Marcus Clarke wrote: //[EMAIL PROTECTED]/homes/home/%u/smb_homesmbfsrw,noauto,user 0 0 Then, a user could just run, for example: mount /home/marcus/smb_home And their SMB home directory would get

User mounting take 2

2006-04-14 Thread Joe Marcus Clarke
this at all, and ntfs set this to all flags (not just those visible to statfs(2)). By fixing this, umount(8) works properly on relative paths to user mount points for those three file systems. http://www.marcuscom.com/downloads/usermount.diff Comments? Joe -- Joe Marcus Clarke FreeBSD GNOME Team

Re: RFC: Adding a ``user'' mount option

2006-04-04 Thread Joe Marcus Clarke
On Tue, 2006-04-04 at 08:30 +0200, Alex Dupre wrote: Joe Marcus Clarke wrote: What I'd like to achieve is a simple out-of-the-box way of mounting media such as CDs, and floppy disks without users necessarily needing to know about sysctl. While I can't speak for KDE, I know GNOME already

Re: RFC: Adding a ``user'' mount option

2006-04-04 Thread Joe Marcus Clarke
On Mon, 2006-04-03 at 23:30 +0100, Robert Watson wrote: On Mon, 3 Apr 2006, Joe Marcus Clarke wrote: I would suggest that an extremely careful security audit of the userspace and kernel mount and unmount code is due -- especially things like the per-filesystem mount code (mount_nfs, etc

Re: RFC: Adding a ``user'' mount option

2006-04-03 Thread Joe Marcus Clarke
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Colin Percival wrote: Joe Marcus Clarke wrote: I know we have vfs.usermount, but this is not always sufficient since the user has to own the mount point in question. What I propose is to add a ``user'' mount option à la Linux. This would make

Re: RFC: Adding a ``user'' mount option

2006-04-03 Thread Joe Marcus Clarke
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Robert Watson wrote: On Mon, 3 Apr 2006, Joe Marcus Clarke wrote: I know we have vfs.usermount, but this is not always sufficient since the user has to own the mount point in question. What I propose is to add a ``user'' mount option à la Linux

RFC: Adding a ``user'' mount option

2006-04-02 Thread Joe Marcus Clarke
and desktop systems. I'm not a src committer, so this isn't a threat to commit. I'm more interested in getting feedback, and hopefully some src committer interest. I think this would really benefit desktop FreeBSD. http://www.marcuscom.com/downloads/usermount.diff Joe -- Joe Marcus Clarke

Why is our symbol lookup the way it is?

2005-09-07 Thread Joe Marcus Clarke
enough of the linker to know what it is. Thanks. Joe -- Joe Marcus Clarke FreeBSD GNOME Team :: [EMAIL PROTECTED] FreeNode / #freebsd-gnome http://www.FreeBSD.org/gnome signature.asc Description: This is a digitally signed message part

Re: Why is our symbol lookup the way it is?

2005-09-07 Thread Joe Marcus Clarke
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alexander Kabaev wrote: | On Wed, Sep 07, 2005 at 02:06:44AM -0400, Joe Marcus Clarke wrote: | |This is something that's been bothering me for a while, ever since I |fixed the symbol conflicts in Mozilla with -Bsymbolic. Why do we not |look

Re: Getting a fully-qualified path from a PID

2004-07-22 Thread Joe Marcus Clarke
On Wed, 2004-07-21 at 11:12, Dan Nelson wrote: In the last episode (Jul 20), Joe Marcus Clarke said: What is the canonical way for a userland application to get the fully-qualified path of an executable from its running PID? I know I can do a readlink(2) on /proc/pid/file, but procfs

Getting a fully-qualified path from a PID

2004-07-21 Thread Joe Marcus Clarke
What is the canonical way for a userland application to get the fully-qualified path of an executable from its running PID? I know I can do a readlink(2) on /proc/pid/file, but procfs is deprecated on 5.X, correct? Is there a more appropriate way to do this? Thanks. Joe -- PGP Key :

Re: Help: threading problem in non-threaded applications

2004-04-21 Thread Joe Marcus Clarke
On Wed, 2004-04-21 at 09:18, Daniel Eischen wrote: On Wed, 21 Apr 2004, Joe Marcus Clarke wrote: On Tue, 2004-04-20 at 17:08, Daniel Eischen wrote: On Tue, 20 Apr 2004, Joe Marcus Clarke wrote: I have a problem I'm hoping someone can help me with. GTK+ 2.4 introduced a new

Help: threading problem in non-threaded applications

2004-04-20 Thread Joe Marcus Clarke
not to have to link every GTK+ app that might use the new file selector to PTHREAD_LIBS. Any advice would be greatly appreciated. Thanks. Joe -- Joe Marcus Clarke FreeBSD GNOME Team :: [EMAIL PROTECTED] [EMAIL PROTECTED] FreeNode / #freebsd-gnome http://www.FreeBSD.org/gnome signature.asc

Re: Help: threading problem in non-threaded applications

2004-04-20 Thread Joe Marcus Clarke
On Tue, 2004-04-20 at 17:08, Daniel Eischen wrote: On Tue, 20 Apr 2004, Joe Marcus Clarke wrote: I have a problem I'm hoping someone can help me with. GTK+ 2.4 introduced a new file selection GUI which works just fine in threaded and non-threaded applications. However, GNOME 2.6

Re: Programmatically test for a DVD drive

2003-12-19 Thread Joe Marcus Clarke
On Fri, 2003-12-19 at 15:02, John-Mark Gurney wrote: Joe Marcus Clarke wrote this message on Tue, Dec 16, 2003 at 20:33 -0500: I'm trying to figure out the best way to programmatically test to see if a disc device is a DVD device. That is, how can I tell the difference between a CD-[ROM|R

Re: Programmatically test for a DVD drive

2003-12-19 Thread Joe Marcus Clarke
On Fri, 2003-12-19 at 16:07, John-Mark Gurney wrote: Joe Marcus Clarke wrote this message on Fri, Dec 19, 2003 at 15:08 -0500: Take a look at cdrecord and see what that does... But that might require you to use atapi-cam instead of the normal atapi-cd device. Thanks for the pointer

Programmatically test for a DVD drive

2003-12-16 Thread Joe Marcus Clarke
if it succeeds? Thanks. Joe -- Joe Marcus Clarke FreeBSD GNOME Team :: [EMAIL PROTECTED] FreeNode / #freebsd-gnome http://www.FreeBSD.org/gnome signature.asc Description: This is a digitally signed message part

Re: [kde-freebsd] Re: HEADS UP: pelase test /etc/libmap.conffeature on 4-stable

2003-10-11 Thread Joe Marcus Clarke
On Sat, 2003-10-11 at 02:33, Michael Nottebrock wrote: Norikatsu Shigemura wrote: 1. (kde side) Anyone, would you please make a patch for nspluginscane to look /usr/X11R6/lib/browsers_plugins? or 2. (pluginwrapper side) If 1 is no, I'll install Flash6

Re: [kde-freebsd] Re: HEADS UP: pelase test /etc/libmap.conffeature on 4-stable

2003-10-11 Thread Joe Marcus Clarke
On Sat, 2003-10-11 at 03:20, Michael Nottebrock wrote: Joe Marcus Clarke wrote: On Sat, 2003-10-11 at 02:33, Michael Nottebrock wrote: Norikatsu Shigemura wrote: 1. (kde side) Anyone, would you please make a patch for nspluginscane to look /usr/X11R6/lib/browsers_plugins

Re: bcm4400 driver and Dell 8500

2003-08-27 Thread Joe Marcus Clarke
On Wed, 2003-08-27 at 09:27, James Nobis wrote: On Wed, 27 Aug 2003, Kenneth D. Merry wrote: On Wed, Aug 27, 2003 at 08:40:25 +0100, Duncan Barclay wrote: Hello James and Ken, Both of you are having real problems with the bcm driver and both of you have a Dell 8500. This is

Re: New BETA of Broadcom 440x chipset driver

2003-08-26 Thread Joe Marcus Clarke
On Mon, 2003-08-25 at 16:56, Duncan Barclay wrote: Hi I think I have fixed the RX packet loss and memory corruption problems with the previous version of the driver. Please try the code at http://people.freebsd.org/~dmlb/bcm-0308252140.tar.gz I have manged to get full link speed ftping

Re: BCM4401 Support for FreeBSD

2003-08-18 Thread Joe Marcus Clarke
On Mon, 2003-08-18 at 03:21, Duncan Barclay wrote: From: Aeefyu [EMAIL PROTECTED] http://marc.theaimsgroup.com/?l=freebsd-hackersm=105593188923273w=2 I cant compile the above on my machine Its only applicable for 5.x and not 4.x? Sighs Correct, at present it is only for 5.x. A

Re: BCM4401 Support for FreeBSD

2003-07-28 Thread Joe Marcus Clarke
On Mon, 2003-07-28 at 12:18, Aeefyu wrote: With reference to: http://marc.theaimsgroup.com/?l=freebsd-hackersm=105593188923273w=2 i.e. Broadcom 440x NIC support for FreeBSD 4.x and 5.x (as found on latest Dell's Notebooks - mine is a 8500) Would anyone be so kind to enlighten me on the

Question on gcc linker and -pthread

2003-03-13 Thread Joe Marcus Clarke
I've noticed something I think is strange with gcc, the -shared flag, and -pthread on -STABLE. I'm hoping someone can enlighten me as to why this happens or if it's a bug. If I compile something with the following command, I do not see libc_r.so linked in the resulting object: cc -shared