Re: Deterministic builds?

2010-11-12 Thread Giorgos Keramidas
On Fri, 12 Nov 2010 15:13:36 +0100, Erik Cederstrand wrote: > Den 22/10/2010 kl. 12.01 skrev Ulrich Spörlein: >> Why do you make this a requirement? Of course it's usually easier to >> build different releases from different source directories, but I think >> requiring the following conditions ar

Re: Deterministic builds?

2010-11-14 Thread Giorgos Keramidas
On Sun, 14 Nov 2010 21:22:53 +0100, Erik Cederstrand wrote: >Den 12/11/2010 kl. 21.20 skrev Giorgos Keramidas: >>> Since the SVN rev. is recorded, I think a timestamp is redundant. Any >>> ideas where I can disable the timestamps in the source? >> >> The timestam

Re: Deterministic builds?

2010-11-15 Thread Giorgos Keramidas
On Mon, 15 Nov 2010 12:56:29 +0100, Erik Cederstrand wrote: >Den 15/11/2010 kl. 12.40 skrev Tom Evans: >> The important things for us are that given a binary, you should be >> able to easily reproduce the source environment that the binary was >> produced from, and any two binaries produced from

Re: [patch] have rtprio check that arguments are numeric; change atoi to strtol

2011-01-02 Thread Giorgos Keramidas
On Sun, 2 Jan 2011 12:18:45 +0200, Kostik Belousov wrote: > On Sun, Jan 02, 2011 at 02:41:10AM -0500, Eitan Adler wrote: >> > Just set the second argument to strtol to something non-NULL and then check >> > the value returned; that will help provide the error handling with >> > simplicity that you

Re: [patch] have rtprio check that arguments are numeric; change atoi to strtol

2011-01-04 Thread Giorgos Keramidas
On Sun, 2 Jan 2011 18:46:47 -0500, Eitan Adler wrote: > What about this patch? I incorporated your feedback so I am not going > to reply inline. Since the pattern of converting strings to int-derivative values appears multiple times, I'd probably prefer something like a new function that does th

Re: [patch] have rtprio check that arguments are numeric; change atoi to strtol

2011-01-04 Thread Giorgos Keramidas
On Tue, 04 Jan 2011 11:36:38 +0100, Giorgos Keramidas wrote: > On Sun, 2 Jan 2011 18:46:47 -0500, Eitan Adler wrote: >> What about this patch? I incorporated your feedback so I am not going >> to reply inline. > > Since the pattern of converting strings to int-deri

Re: [patch] have rtprio check that arguments are numeric; change atoi to strtol

2011-01-04 Thread Giorgos Keramidas
On Tue, 4 Jan 2011 13:25:02 +0200, Kostik Belousov wrote: >On Tue, Jan 04, 2011 at 11:40:45AM +0100, Giorgos Keramidas wrote: >>On Tue, 04 Jan 2011 11:36:38 +0100, Giorgos Keramidas >>wrote: >>> Since the pattern of converting strings to int-derivative values appears

Re: [patch] have rtprio check that arguments are numeric; change atoi to strtol

2011-01-04 Thread Giorgos Keramidas
On Tue, 4 Jan 2011 08:58:48 -0800, Garrett Cooper wrote: + errno = 0; + res = strtol(str, &endp, 10); + if (errno != 0 || endp == str || *endp != '\0') + err(1, "%s shall be a number", errname); >>> >>> Small nit, maybe use 'must' instead of 'shall'. >> >> it seems

Re: Why not give git a try? (was "Re: [head tinderbox] failure on amd64/amd64")

2011-01-25 Thread Giorgos Keramidas
On Tue, 25 Jan 2011 02:22:34 -0800, per...@pluto.rain.com wrote: >Diane Bruce wrote: >> There certainly would not be a chance of putting mercurial or git >> into base for example. > > Completely apart from licensing, another strike against mercurial is > that it is written in Python, so it couldn'

Re: Ways to promote FreeBSD?

2012-05-02 Thread Giorgos Keramidas
On Fri, Apr 27, 2012 at 11:18 PM, Mehmet Erol Sanliturk wrote: > Another point is that server installers are highly educated with respect to > desktop installers and their numbers are small with respect to desktop > users . > > For them , it is very easy to "harden" FreeBSD after installation if e

Re: Ways to promote FreeBSD?

2012-05-02 Thread Giorgos Keramidas
On Wed, May 2, 2012 at 2:33 PM, Richard Yao wrote: >On 05/02/12 04:55, Giorgos Keramidas wrote: >> Judging from the amount of effort it takes to "harden" a system >> that already starts a thousand services (typical "desktop Linux" >> scenario these days

Re: c99 project

2013-02-05 Thread Giorgos Keramidas
On 2013-02-04 21:48, Eitan Adler wrote: > Is the following page still useful? > Would there be any objection to me removing it? > > http://www.freebsd.org/projects/c99/index.html I think this is useful until we have full C99 support in at least one compiler toolchain. To the best of my knowledge

Re: sed -i

2007-03-31 Thread Giorgos Keramidas
On 2007-03-31 15:02, Yar Tikhiy <[EMAIL PROTECTED]> wrote: >On Fri, Mar 30, 2007 at 09:21:33PM +0400, Yar Tikhiy wrote: >[...] >> If we've started to delete the pattern space, we should print the >> text in place of it because `c' is for `change'. BSD and GNU seds >> have this bug, but Solaris sed

Re: a simple patch to enable RFC2640 for /usr/libexec/ftpd

2007-04-16 Thread Giorgos Keramidas
On 2007-04-16 20:07, Zhang Weiwu <[EMAIL PROTECTED]> wrote: > I am not actively involved in FreeBSD development. I am an ordinary user > and this is my first post on this list so please just redirect me to > correct place if I posted OT. > > I know probably ftpd is not going to accept changes for

Re: New FreeBSD package system (a.k.a. Daemon Package System (dps))

2007-05-15 Thread Giorgos Keramidas
On 2007-05-14 13:19, Alexander Leidinger <[EMAIL PROTECTED]> wrote: >Quoting Dag-Erling Smrgrav <[EMAIL PROTECTED]> (from Mon, 14 May 2007 >11:31:25 +0200): >> Note that we are apparently not the only ones dissatisfied with this >> state of affairs. The following code is commonly found in rpm

Re: SoC: Distributed Audit Daemon project

2007-05-25 Thread Giorgos Keramidas
On 2007-05-25 03:22, Alexey Mikhailov <[EMAIL PROTECTED]> wrote: > Hello! Hi Alexey :) > http://wiki.freebsd.org/DistributedAuditDaemon > [...] > Consider this picture ( Yes, I know that my ASCII art sucks :-) ) > > '` '-` > |

Re: Tar output mode for installworld

2007-07-14 Thread Giorgos Keramidas
On 2007-07-14 13:20, Tim Kientzle <[EMAIL PROTECTED]> wrote: > I saw this project suggestion on www.freebsd.org: > > > > and thought I'd contribute a couple of ideas and notes: > > This is easy to implement using a trick that I stumbled across >

Re: Tar output mode for installworld

2007-07-15 Thread Giorgos Keramidas
gt;>> bin/sh file /usr/obj/usr/src/bin/sh >>> bin/sh uname root >>> rescue/mkdir hardlink rescue/rescue >>> bin/sh mode 0666 >>> bin/rcp mode 04666 > >Giorgos Keramidas responds: >> A packaging list for one of the distributions I've bu

Re: gcc -m32 option on amd64.

2007-07-30 Thread Giorgos Keramidas
On 2007-07-30 09:24, Tom Evans <[EMAIL PROTECTED]> wrote: >On Sat, 2007-07-28 at 17:55 +1000, Peter Jeremy wrote: >> On 2007-Jul-27 17:32:35 +0100, Tom Evans <[EMAIL PROTECTED]> wrote: >> >gcc on amd64 is capable of generating i386 code, but ld on amd64 is >> >incapable of linking i386 code togethe

Re: what happened to make world?

2007-09-01 Thread Giorgos Keramidas
On 2007-08-30 21:49, Pietro Cerutti <[EMAIL PROTECTED]> wrote: > > # make world > WARNING: make world will overwrite your existing FreeBSD > installation without also building and installing a new > kernel. This can be dangerous. Please read the handbook, > 'Rebuilding world',

Re: Useful tools missing from /rescue

2007-09-02 Thread Giorgos Keramidas
On 2007-09-02 11:18, Tim Kientzle <[EMAIL PROTECTED]> wrote: > Yar Tikhiy wrote: >> In addition, there are chflags and chmod in /rescue, but there's no >> chown in it, so the toolset is a bit incomplete. > > Oh, my. chown was definitely an oversight. That > should have been in there. Probably be

Re: Useful tools missing from /rescue

2007-09-03 Thread Giorgos Keramidas
On 2007-09-03 17:20, Yar Tikhiy <[EMAIL PROTECTED]> wrote: >On Mon, Sep 03, 2007 at 03:18:03AM +0300, Giorgos Keramidas wrote: >> Running nm(1) on the binaries, I see that they have the same symbols >> though: >> >> $ nm -S chmod | awk '{print $2,$3,$4}&#

Re: How to enable more than 256 pty's?

2007-10-04 Thread Giorgos Keramidas
On 2007-10-02 15:41, Vlad GALU <[EMAIL PROTECTED]> wrote: > On 10/2/07, Dag-Erling Sm?rgrav <[EMAIL PROTECTED]> wrote: > > "Vlad GALU" <[EMAIL PROTECTED]> writes: > > > The symptoms were exhibited even with rev. 1.16. I've CC'ed him so > > > he can catch up with the thread. > > > > Which symptoms?

Re: How to enable more than 256 pty's?

2007-10-04 Thread Giorgos Keramidas
On 2007-10-04 18:05, Vlad GALU <[EMAIL PROTECTED]> wrote: >On 10/4/07, Giorgos Keramidas <[EMAIL PROTECTED]> wrote: >>On 2007-10-02 15:41, Vlad GALU <[EMAIL PROTECTED]> wrote: >>>On 10/2/07, Dag-Erling Sm?rgrav <[EMAIL PROTECTED]> wrote: >>>

Re: memory pool, rfc

2007-11-01 Thread Giorgos Keramidas
On 2007-11-01 12:45, Eduardo Morras <[EMAIL PROTECTED]> wrote: > At 01:57 01/11/2007, you wrote: >> On Thu, Nov 01, 2007 at 01:05:54AM +0100, Eduardo Morras wrote: >> > Don't point me to zlib or libbzip2, they are on another league and are >> much >> > slower than my code. >> >> Have you looked a

Re: questions on development(7)

2007-11-09 Thread Giorgos Keramidas
On 2007-11-09 21:49, OutbackDingo <[EMAIL PROTECTED]> wrote: > well thats kinda hard to do with CVS, though other revision systems such > as mercurial, bazaar, git and perforce, even subversion do it well, > there is also a mercurial respository for FreeBSD out there some where That is cool, but i

Re: questions on development(7)

2007-11-13 Thread Giorgos Keramidas
On 2007-11-09 11:23, Julian Elischer <[EMAIL PROTECTED]> wrote: > ok having done this for years here's how it goes. If you have a > private CVS repo mirroring the FreeBSD tree then you can keep your > changes up to date in your "checked out" source tree. but you can > generally not check them in a

Re: questions on development(7)

2007-11-14 Thread Giorgos Keramidas
On 2007-11-14 17:48, Daniel O'Connor <[EMAIL PROTECTED]> wrote: >> I've been using a 'converted' tree for almost a year and a half now, >> to keep a local mirror of the src repository at `/ws/freebsd/head' on >> my laptop. The first clean import of the current tree I am using was >> done during la

Re: questions on development(7)

2007-11-14 Thread Giorgos Keramidas
On 2007-11-14 15:31, OutbackDingo <[EMAIL PROTECTED]> wrote: > All ive seen in FreeBSD hg branches is a current and a releng_6 Id > like to see a complete tree converted if there is one out there. I do > have some bandwidth to potentially host such a conversion for others. > question is does one ex

Re: questions on development(7)

2007-11-14 Thread Giorgos Keramidas
On 2007-11-14 19:08, Simon 'corecode' Schubert <[EMAIL PROTECTED]> wrote: > [cc cleaned, dropped -current] > >Giorgos Keramidas wrote: >> I'm only tracking 'HEAD' most of the time, but there are some efforts >> underway to convert the histo

Re: handling pdfs?

2007-11-28 Thread Giorgos Keramidas
On 2007-11-27 21:27, Chuck Robey <[EMAIL PROTECTED]> wrote: > I need to read about 4 tons of some really sparse pdf specs. I also > have a rather inconvenient throwback: I feel hugely more at > home-reading documents in paper. What I'd kind of like to do would > be able to perform cut'n'paste am

Re: FreeBSD hacker 101

2008-01-25 Thread Giorgos Keramidas
On 2008-01-25 13:58, william wong <[EMAIL PROTECTED]> wrote: > That brings me to another ponder: why juniper and cisco are using > FreeBSD and not Linux even Linux performs better in an UP environment? That's probably something only Juniper and Cisco can answer with a sufficiently high degree of c

Re: [OT] Q: what would you choose for a VCS today

2008-01-31 Thread Giorgos Keramidas
On 2008-01-31 21:37, Stefan Sperling <[EMAIL PROTECTED]> wrote: > I could not find any tool that does this properly among subversion, > git, monotone and mercurial. That's not a big list, but I don't have > time to try out version control systems all day. Also, proprietary > VCS's were never consid

Re: [OT] Q: what would you choose for a VCS today

2008-01-31 Thread Giorgos Keramidas
On 2008-02-01 02:00, Giorgos Keramidas <[EMAIL PROTECTED]> wrote: > You can keep 'importing' snapshots of the src tree from any arbitrary > CVS branch, if you are willing to wait until CVS checks out the first > copy of the snapshot. > > This is how we 'resync&

Re: encrypted executables

2008-02-18 Thread Giorgos Keramidas
On 2008-02-19 02:39, Dimitry Andric <[EMAIL PROTECTED]> wrote: >On 2008-02-19 02:18, Jerry Toung wrote: >> anybody knows of a tool to encrypt executables under FreeBSD? may be >> from the ports? >> >> I am not talking about simple file encryption. > > Can you elaborate on what you *are* talking abo

Re: encrypted executables

2008-02-18 Thread Giorgos Keramidas
On 2008-02-18 19:54, Jerry Toung <[EMAIL PROTECTED]> wrote: >On Feb 18, 2008 5:39 PM, Dimitry Andric <[EMAIL PROTECTED]> wrote: >>On 2008-02-19 02:18, Jerry Toung wrote: >>> anybody knows of a tool to encrypt executables under FreeBSD? may be >>> from the ports? I am not talking about simple file

Re: find -lname and -ilname implemented

2008-02-25 Thread Giorgos Keramidas
On 2008-02-23 16:48, "M. Warner Losh" <[EMAIL PROTECTED]> wrote: > In message: <[EMAIL PROTECTED]> > Jonathan McKeown <[EMAIL PROTECTED]> writes: > : Yes, where it makes sense. I'm not at all convinced that this change makes > as > : much sense as you obviously think it does - especia

Re: cvs tag renaming after repo copy

2008-02-27 Thread Giorgos Keramidas
On 2008-02-27 08:36, John Hein <[EMAIL PROTECTED]> wrote: > Can someone point me at a script that does tag renaming > after a repo copy? You don't really need a `script' to do this. Tags in CVS are not versioned, so you can force-tag the repo-copied files and move the tag to its new place. For e

Re: find -lname and -ilname implemented

2008-02-27 Thread Giorgos Keramidas
On 2008-02-27 10:31, David O'Brien <[EMAIL PROTECTED]> wrote: >On Mon, Feb 25, 2008 at 10:33:41PM +0200, Giorgos Keramidas wrote: >>On 2008-02-23 16:48, "M. Warner Losh" <[EMAIL PROTECTED]> wrote: >>> This knee-jerk reaction against gnu find function

Re: cvs tag renaming after repo copy

2008-02-27 Thread Giorgos Keramidas
On 2008-02-27 12:21, John Hein <[EMAIL PROTECTED]> wrote: >Giorgos Keramidas wrote at 21:04 +0200 on Feb 27, 2008: >> On 2008-02-27 08:36, John Hein <[EMAIL PROTECTED]> wrote: >> > Can someone point me at a script that does tag renaming >> > after a re

Re: Comments on pmake diffs for building on Linux

2008-03-04 Thread Giorgos Keramidas
On 2008-03-04 17:01, Daniel O'Connor <[EMAIL PROTECTED]> wrote: > On Tue, 4 Mar 2008, M. Warner Losh wrote: > > Greetings, > > > > here's a set of diffs that will allow FreeBSD's usr.bin/make to build > > on Linux. I'm sure they are gross, and I don't plan to commit them > > (at least not all of t

Re: Comments on pmake diffs for building on Linux

2008-03-04 Thread Giorgos Keramidas
On 2008-03-03 22:42, "M. Warner Losh" <[EMAIL PROTECTED]> wrote: > Greetings, > > here's a set of diffs that will allow FreeBSD's usr.bin/make to build > on Linux. I'm sure they are gross, and I don't plan to commit them > (at least not all of them), but I thought I'd post them here to see > what

Re: Comments on pmake diffs for building on Linux

2008-03-04 Thread Giorgos Keramidas
On 2008-03-04 15:15, Robert Watson <[EMAIL PROTECTED]> wrote: > On Mon, 3 Mar 2008, M. Warner Losh wrote: >> --- pmake.orig/config.h 2005-02-01 03:50:35.0 -0700 >> +++ pmake/config.h 2008-03-03 22:24:16.745493000 -0700 >> @@ -108,4 +108,27 @@ >> # endif >> #endif >> >> +#ifndef TAILQ

Re: Comments on pmake diffs for building on Linux

2008-03-04 Thread Giorgos Keramidas
On 2008-03-04 21:01, Girish Venkatachalam <[EMAIL PROTECTED]> wrote: >On 17:01:28 Mar 04, Daniel O'Connor wrote: >> I did this a while ago when porting some of our code to Linux because it >> builds with pmake.. >> >> Your patches are much nicer than mine however :) >> >> The tailq stuff could be s

Re: Comments on pmake diffs for building on Linux

2008-03-04 Thread Giorgos Keramidas
On 2008-03-04 15:38, Robert Watson <[EMAIL PROTECTED]> wrote: > On Tue, 4 Mar 2008, M. Warner Losh wrote: > >> : In most ports of FreeBSD parts to Linux that I've seen, the preferred >> solution >> : has to been to bring the entire FreeBSD queue.h with you rather than >> relying >> : on the nativ

Re: Comments on pmake diffs for building on Linux

2008-03-04 Thread Giorgos Keramidas
On 2008-03-04 08:50, "M. Warner Losh" <[EMAIL PROTECTED]> wrote: > In message: <[EMAIL PROTECTED]> > Giorgos Keramidas <[EMAIL PROTECTED]> writes: > : "arch.c", line 1063: undefined symbol: INT_MIN > : cc: acomp failed for arc

Re: Comments on pmake diffs for building on Linux

2008-03-04 Thread Giorgos Keramidas
On 2008-03-04 08:52, "M. Warner Losh" <[EMAIL PROTECTED]> wrote: > In message: <[EMAIL PROTECTED]> > Giorgos Keramidas <[EMAIL PROTECTED]> writes: > : Nice! Thank you Robert. Can I copy parts of this and add them to the > : autoconf glue I&

Re: Comments on pmake diffs for building on Linux

2008-03-04 Thread Giorgos Keramidas
On 2008-03-04 15:45, Robert Watson <[EMAIL PROTECTED]> wrote: >> The next part, about the missing errx() functions on Solaris is going to >> be tonight's fun. If there are too many missing functions, it may be >> worth adding a static `libcompat' with copies of just the functions we >> need to run

Re: Comments on pmake diffs for building on Linux

2008-03-04 Thread Giorgos Keramidas
On 2008-03-04 09:56, David O'Brien <[EMAIL PROTECTED]> wrote: > On Tue, Mar 04, 2008 at 05:45:43PM +0200, Giorgos Keramidas wrote: > > To test just cpp(1) stuff, autoconf supports AC_PREPROC_IFELSE() too, > > which I used when I tried writing a check for __FBSDID(): >

Re: Comments on pmake diffs for building on Linux

2008-03-04 Thread Giorgos Keramidas
On 2008-03-04 10:01, David O'Brien <[EMAIL PROTECTED]> wrote: > On Tue, Mar 04, 2008 at 05:37:30PM +0200, Giorgos Keramidas wrote: > > The next part, about the missing errx() functions on Solaris is going to > > be tonight's fun. If there are too many missing functi

Re: Comments on pmake diffs for building on Linux

2008-03-04 Thread Giorgos Keramidas
On 2008-03-04 09:58, David O'Brien <[EMAIL PROTECTED]> wrote: >On Mon, Mar 03, 2008 at 10:42:56PM -0700, M. Warner Losh wrote: >> #include "arch.h" >> +#include "config.h" > > Are you able to use "CFLAGS+= -include config.h" instead? > If so, that would mean less .[ch] changes. Not with Sun Stud

Re: Building in /usr/src copied to $HOME

2008-03-18 Thread Giorgos Keramidas
On 2008-03-18 21:28, V??clav Haisman <[EMAIL PROTECTED]> wrote: > Hi, > I am trying to use /usr/src copied to my $HOME but the build process > doesn't want to work. For example when I try build /bin/cp I get the > following: > > shell::wilx:~/freebsd/src/bin/cp> make > "/usr/home/users/wilx/freebsd

Re: Building in /usr/src copied to $HOME

2008-03-21 Thread Giorgos Keramidas
On Fri, 21 Mar 2008 14:32:24 -0600 (MDT), "M. Warner Losh" <[EMAIL PROTECTED]> wrote: > In message: <[EMAIL PROTECTED]> > Václav Haisman <[EMAIL PROTECTED]> writes: > : > The problem is that MK_DYNAMICROOT is defined by bsd.own.mk. This > : > likely means that he's not building the sa

Re: Some versioned storage program?

2008-03-21 Thread Giorgos Keramidas
On Fri, 21 Mar 2008 16:10:22 -0700, Xin LI <[EMAIL PROTECTED]> wrote: > Hi, folks, > > I'm looking for some versioned storage program that can fulfill the > following requirements: > > - Open source/Free Software that can run on FreeBSD, or not far >(i.e. on other POSIX OS) > - Support of ato

Re: pfind() and the proc structure

2008-04-01 Thread Giorgos Keramidas
On Tue, 1 Apr 2008 07:23:58 -0700, "Rao, Nikhil" <[EMAIL PROTECTED]> wrote: > Ok, I should have caught that :-( Another question - Now that the > PROC_LOCK on p is obtained the all_proc lock is released and the > function returns, at this point can't the proc get deallocated ? > > Nikhil > > 242 st

Re: pfind() and the proc structure

2008-04-02 Thread Giorgos Keramidas
On Wed, 2 Apr 2008 10:59:26 -0700, "Rao, Nikhil" <[EMAIL PROTECTED]> wrote: > Thanks for all your replies, > > the all_proc lock is held in pfind(..) at the point PROC_LOCK(p) is > obtained. In the kern_wait(..) code below, the allproc_lock is acquired > before removing the proc from the list of al

Re: crontab Patches

2008-04-02 Thread Giorgos Keramidas
On Wed, 2 Apr 2008 15:35:02 -0400, Steven Kreuzer <[EMAIL PROTECTED]> wrote: > I wrote two patches for crontab.c that I was wondering if someone would > take a look at. > > The first one zero out pw_passwd in crontab, just to be paranoid side. > http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/122070

Re: Perforce and `p4 diff2' against the origin

2008-04-06 Thread Giorgos Keramidas
On Sat, 5 Apr 2008 16:50:38 +0200, Ed Schouten <[EMAIL PROTECTED]> wrote: > Hello everyone, > > Because my mpsafetty project in Perforce is going quite well, I'm > considering running some kind of cron job to generate nightly diffs, so > other people (interested friends, colleagues and others) to t

Re: bug in /bin/sh?!?

2008-04-06 Thread Giorgos Keramidas
On Sun, 06 Apr 2008 11:17:18 -0700, Julian Elischer <[EMAIL PROTECTED]> wrote: > dino wrote: >> Hello, >> >> on my FreeBSD 7.0-STABLE the line: >> >>> sh -c 'set -- ${HOME+A B C}; echo "1:$1"; echo "2:$2:"; echo "3:$3:"' >> >> prints >> >> 1:A B C: >> 2:: >> 3:: >> >> I would rather expect: >> >> 1

Re: strdup(NULL) supposed to create SIGSEGV?

2008-04-23 Thread Giorgos Keramidas
On Wed, 23 Apr 2008 10:30:39 +0200, Bernard van Gastel <[EMAIL PROTECTED]> wrote: > Op 23 apr 2008, om 08:50 heeft Mike Meyer het volgende geschreven: >> On Tue, 22 Apr 2008 22:40:21 -0700 >> "Garrett Cooper" <[EMAIL PROTECTED]> wrote: >> >>> Hi all, >>> I made an oops in a program, which unco

Re: strdup(NULL) supposed to create SIGSEGV?

2008-04-23 Thread Giorgos Keramidas
On Wed, 23 Apr 2008 09:06:44 -0700 (PDT), Simun Mikecin <[EMAIL PROTECTED]> wrote: >>If you're going to quote documents to support your ideas, it's probably >>better to read them first. > > My apologies. My fingers were faster than my mind. But this made me > read it the way I should have done in

Re: strdup(NULL) supposed to create SIGSEGV?

2008-04-23 Thread Giorgos Keramidas
On Wed, 23 Apr 2008 19:57:47 +0200, Hans Petter Selasky <[EMAIL PROTECTED]> wrote: > Hi, > > I recently had to tell someone that "strncpy" does not always zero > terminate the destination string. Surprised by what I was telling they > immediately wanted to change the way the function worked. When

Re: indent(1) support for gcc(1) 0b prefix

2008-05-01 Thread Giorgos Keramidas
On Sun, 27 Apr 2008 02:01:53 +0200, Max Laier <[EMAIL PROTECTED]> wrote: > On Saturday 26 April 2008 23:35:57 Romain Tarti?re wrote: >> Hello FreeBSD hackers! >> >> I'm using avr-gcc from the ports and relying on the 0b prefix notation >> for binary constants, that is: >> >> foo = 0b00101010;

Re: Impact of having a large number of open file descriptors

2008-06-03 Thread Giorgos Keramidas
On Mon, 2 Jun 2008 21:07:15 -0400, Garance A Drosihn <[EMAIL PROTECTED]> wrote: > At 12:33 AM +0200 6/3/08, Kris Kennaway wrote: >>Ivan Voras wrote: >>>Suleiman Souhlal wrote: >>> I have an old patch that makes kqueue monitor every file write on the system and return the inode number in t

Re: Bug by design in getfsfile(3) / needed sanity check for mountpoints

2008-06-09 Thread Giorgos Keramidas
On Mon, 9 Jun 2008 01:34:19 -0700, "Garrett Cooper" <[EMAIL PROTECTED]> wrote: > Hi hackers, > I have a question, pending a bug found in getfsfile(3) [1]. > Is there any possibility where a mountpoint be any value other > than a directory, a symlink, or "none", i.e. a flat file? > Thank

Re: Bug by design in getfsfile(3) / needed sanity check for mountpoints

2008-06-09 Thread Giorgos Keramidas
On Tue, 10 Jun 2008 03:53:41 +0300, Giorgos Keramidas <[EMAIL PROTECTED]> wrote: > On Mon, 9 Jun 2008 01:34:19 -0700, "Garrett Cooper" <[EMAIL PROTECTED]> wrote: >> Hi hackers, >> I have a question, pending a bug found in getfsfile(3) [1]. >>

Re: bin/124409: fsck(8) requires exact entry for mountpoints when executing / bug by design in getfsfile(3) in .../lib/libc/gen/fstab.c

2008-06-21 Thread Giorgos Keramidas
On Mon, 16 Jun 2008 20:28:08 -0700, "Garrett Cooper" <[EMAIL PROTECTED]> wrote: > On Tue, Jun 10, 2008 at 2:27 AM, Garrett Cooper <[EMAIL PROTECTED]> wrote: >> Ok it appears I wasn't intelligent enough to post this in the right >> place last night. Comments please? >> >> Hi hackers, >> >>

Re: Sysinstall is still inadequate after all of these years / sorry I started flame war

2008-07-02 Thread Giorgos Keramidas
On Wed, 2 Jul 2008 21:28:50 -0700, "Rob Lytle" <[EMAIL PROTECTED]> wrote: > 2. Being able to use Sysinstall and not having it crash when a > dependency is already present. Sometimes I like to use Sysinstall to > install gigantic packages where the compile time is 26 hours, e.g KDE > metapackage, a

Re: Sysinstall is still inadequate after all of these years

2008-07-06 Thread Giorgos Keramidas
On Thu, 3 Jul 2008 10:56:29 +0200, Holger Kipp <[EMAIL PROTECTED]> wrote: > Dear Antoine Brunel, > > I completely 100% agree. Actually I don't see the need for a new > sysinstall. It does what it needs to do. I have seen the later > RH- and SUSE-Installer, but I don't want them. What's the use of >

Re: Sysinstall is still inadequate after all of these years / sorry I started flame war

2008-07-06 Thread Giorgos Keramidas
On Fri, 4 Jul 2008 09:38:37 +0300, "Aggelidis Nikos" <[EMAIL PROTECTED]> wrote: >> I'm sorry I started a kind of flame war. All I wanted was two >> things: 1. CD's that installed without being switched in and out >> dozens of times. That was fixed by the suggestion of using a DVD. I >> didn't e

Re: Sysinstall is still inadequate after all of these years / sorry I started flame war

2008-07-06 Thread Giorgos Keramidas
On Fri, 4 Jul 2008 14:31:51 +0200, "Paul B. Mahol" <[EMAIL PROTECTED]> wrote: > On 7/4/08, Randy Bush <[EMAIL PROTECTED]> wrote: >>> This is why there are precompiled packages on ftp.freebsd.org which you >>> can install with 'pkg_add -r'. You can install them from any FTP >>> mirror, actually; ju

Re: Sysinstall is still inadequate after all of these years / sorry I started flame war

2008-07-06 Thread Giorgos Keramidas
On Sun, 06 Jul 2008 10:51:10 +0300, Giorgos Keramidas <[EMAIL PROTECTED]> wrote: > On Fri, 4 Jul 2008 14:31:51 +0200, "Paul B. Mahol" <[EMAIL PROTECTED]> wrote: >> On 7/4/08, Randy Bush <[EMAIL PROTECTED]> wrote: >>>> This is why there are precompil

Re: mercurial working copy of FreeBSD src

2008-08-08 Thread Giorgos Keramidas
On Fri, 8 Aug 2008 11:47:15 -0700, "Navdeep Parhar" <[EMAIL PROTECTED]> wrote: > Hello everyone, > > I'm looking for the fastest way to get a full mercurial repository of > HEAD. Do you really want the *FULL* history of head? It's probably going to be in the order of a couple of hundred of MB, or

Re: includes, configure, /usr/lib vs. /usr/local/lib, and linux coders

2008-11-01 Thread Giorgos Keramidas
On Fri, 31 Oct 2008 12:30:46 -0700, "Steve Franks" <[EMAIL PROTECTED]> wrote: > Let's backup. What's the 'right' way to get a bloody linux program > that expects all it's headers in /usr/include to compile on freebsd > where all the headers are in /usr/local/include? That's all I'm > really askin

Re: du -A / -B options [Re: zfs quota question]

2008-11-01 Thread Giorgos Keramidas
On Sat, 1 Nov 2008 21:14:42 +0100, Max Laier <[EMAIL PROTECTED]> wrote: > Hi, > a thread on freebsd-stable@ [1] about problems with du(1) and > compressed zfs filesystems got me looking for a possible solution. > Attached is a diff for du(1) that adds two new options: > > -A to display the apparen

Re: YAVP (Yet Another Vmstat Patch)

2008-11-04 Thread Giorgos Keramidas
On Tue, 04 Nov 2008 23:13:19 +0100, Ivan Voras <[EMAIL PROTECTED]> wrote: > Hi, > > I'm working on something that tends to generate a lot of context > switches and I don't like the way values in "vmstat 1" are printed > practically unbounded, causing wrapping, etc. > > Here's a patch against -CURRE

Re: du -A / -B options [Re: zfs quota question]

2008-11-04 Thread Giorgos Keramidas
On Tue, 4 Nov 2008 23:42:49 +0100, Max Laier <[EMAIL PROTECTED]> wrote: > Hi again, > > On Saturday 01 November 2008 21:14:42 I wrote: >> a thread on freebsd-stable@ [1] about problems with du(1) and compressed >> zfs filesystems got me looking for a possible solution. Attached is a diff >> for du

Re: du -A / -B options [Re: zfs quota question]

2008-11-04 Thread Giorgos Keramidas
On Wed, 5 Nov 2008 03:39:51 +0100, Max Laier <[EMAIL PROTECTED]> wrote: >> That looks nice! With a small fix (``how _much_ space'') I like the >> idea a lot :) >> >> The patch fails to apply on a recent /head snapshot of du though: > ... >> Can you please refresh and repost it? > > Hum ... are you

Re: includes, configure, /usr/lib vs. /usr/local/lib, and linux coders

2008-11-06 Thread Giorgos Keramidas
On Mon, 3 Nov 2008 15:12:34 -0700, "Steve Franks" <[EMAIL PROTECTED]> wrote: > That's alot of good info. It should go in the porter's handbook, > maybe... Hi Steve, Probably not. What I wrote is specific to the GNU build system. We have many ports that use configure scripts and makefiles gener

Re: Reccomendation for tools to use on FreeBSD for a wiki ?

2008-11-20 Thread Giorgos Keramidas
On Wed, 19 Nov 2008 18:24:21 +0100, "Julian Stacey" <[EMAIL PROTECTED]> wrote: > Hi hackers, > Maybe Some of you might suggest some software I might install, Wiki I guess. ? > I got zero response from ports@, I could use some reccomendations please. > PS From http://wiki.freebsd.org/HelpContents

Re: keeping track of local modifications

2008-12-01 Thread Giorgos Keramidas
On Mon, 1 Dec 2008 11:23:40 +0300, Eygene Ryabinkin <[EMAIL PROTECTED]> wrote: > May be I am missing something, but what's wrong with the patches from > other VCS, providing that with Subversion you can exchange only by the > plain diffs? Yes, Git/Mercurial patches should be applied with 'patch >

Re: keeping track of local modifications

2008-12-01 Thread Giorgos Keramidas
On Mon, 1 Dec 2008 22:56:02 +0300, Eygene Ryabinkin <[EMAIL PROTECTED]> wrote: > Giorgos, good day. Hi Eygene, thanks. The same to you too :) >> Git and Mercurial cannot import Subversion $FreeBSD$ lines so far, >> and you may end up submitting patches that include unexpanded forms >> of the "$F

Re: keeping track of local modifications

2008-12-02 Thread Giorgos Keramidas
On Mon, 01 Dec 2008 21:08:25 -0800, [EMAIL PROTECTED] wrote: >>> Git and Mercurial cannot import Subversion $FreeBSD$ lines so far, >>> and you may end up submitting patches that include unexpanded forms >>> of the "$FreeBSD: $" text. These will fail to apply if they >>> same patch touches ne

Re: Small change to wc

2008-12-05 Thread Giorgos Keramidas
On Fri, 5 Dec 2008 14:14:32 -0800, "Sheldon Givens" <[EMAIL PROTECTED]> wrote: > Hello everyone, > In the process of migrating the last of a few Linux servers to > FreeBSD, we ran in to a bit of a snag with one of our scripts when BSD > wc didn't have an equivalent to the Linux -L. This flag tells

Re: Small change to wc

2008-12-06 Thread Giorgos Keramidas
On Fri, 5 Dec 2008 18:46:00 -0800, "Sheldon Givens" <[EMAIL PROTECTED]> wrote: > On Fri, Dec 5, 2008 at 4:17 PM, Giorgos Keramidas <[EMAIL PROTECTED]>wrote: >> Adding the option to increase finger-compatibility and make shell >> scripts a bit easier to port

Re: Small change to wc

2008-12-06 Thread Giorgos Keramidas
On Sat, 06 Dec 2008 13:57:53 +0200, Giorgos Keramidas <[EMAIL PROTECTED]> wrote: >>> Can you post a `diff -u' or `diff -c' version of the patch? I like the >>> idea of the new option but it would be easier to read in -u/-c format. >> >> New diff -u:

Re: Small change to wc

2008-12-06 Thread Giorgos Keramidas
On Sat, 06 Dec 2008 17:40:14 +0200, Giorgos Keramidas <[EMAIL PROTECTED]> wrote: > The updated patch, and a manpage change to document the new option is > attached below. Konstantin, if you like this version of the patch, > I'll commit it to /head and schedule an MF

Re: Timer driven tasks in FreeBSD 7

2008-12-07 Thread Giorgos Keramidas
On Sun, 7 Dec 2008 17:56:47 +0200, "Yony Yossef" <[EMAIL PROTECTED]> wrote: > Hi All, > > What mechanism should I use for making my netwrok driver call a > function every half a second, for instnace? > > I am already using task queues but I haven't found a way to make it > work with a timer. callo

Re: Enhancing cdboot [patch for review]

2008-12-08 Thread Giorgos Keramidas
On Mon, 08 Dec 2008 16:29:04 -0800, Maxim Sobolev <[EMAIL PROTECTED]> wrote: > Luigi Rizzo wrote: >> On Mon, Dec 08, 2008 at 02:40:41PM -0800, Maxim Sobolev wrote: >>> Hi, >>> Below please find patch that enhances cdboot with two compile-time options: >> ... >>> Any comments/suggestions are appreci

Re: MAXFILES in subr_param.c

2008-12-10 Thread Giorgos Keramidas
On Mon, 08 Dec 2008 20:41:32 +0100, Ivan Voras <[EMAIL PROTECTED]> wrote: > Hi, > > I'm looking at kern/subr_param.c: > > 72 #ifndef MAXFILES > 73 #define MAXFILES (maxproc * 2) > 74 #endif > > Shouldn't this be at least maxproc*3, for stdin,out,err for every proc? > > Also, it looks like MAXFIL

Re: MAXFILES in subr_param.c

2008-12-10 Thread Giorgos Keramidas
On Wed, 10 Dec 2008 14:30:24 +0100, Ivan Voras <[EMAIL PROTECTED]> wrote: >>> Also, it looks like MAXFILES is used only once, and in a bit funny way: >>> >>> 238 maxfiles = MAXFILES; >>> 239 TUNABLE_INT_FETCH("kern.maxfiles", &maxfiles); >>> 240 maxprocperuid = (maxproc * 9)

Re: Small Change to chpass.c

2008-12-10 Thread Giorgos Keramidas
On Wed, 10 Dec 2008 18:00:25 -0800, "Sheldon Givens" <[EMAIL PROTECTED]> wrote: > Hi guys, > > When I was doing some user management today I noticed that chpass, and > all the utilities that use chpass.c, only give one attempt to > authenticate to make the change. After I messed this up once or twi

Re: Enhancing cdboot [patch for review]

2008-12-11 Thread Giorgos Keramidas
On Thu, 11 Dec 2008 08:37:26 +0200, Jonathan McKeown <[EMAIL PROTECTED]> wrote: > While you're enhancing cdboot anyway, can I ask how complicated it > would be to make cdboot serial-console capable? (I'm not a C > programmer, I'm a sysadmin - but I'd be prepared to try and look at > this myself if

Re: Enhancing cdboot [patch for review]

2008-12-11 Thread Giorgos Keramidas
On Thu, 11 Dec 2008 10:52:49 +0200, Jonathan McKeown <[EMAIL PROTECTED]> wrote: >> cdboot runs long after the prompt for BIOS setup. I don't think we >> can modify cdboot to add serial console support to systems whose BIOS >> setup doesn't support it. > > Sorry, of course you're right: I'm talking

Re: Small Change to chpass.c

2008-12-11 Thread Giorgos Keramidas
On Thu, 11 Dec 2008 08:11:20 +0100 (CET), Trond Endrestøl <[EMAIL PROTECTED]> wrote: >On Thu, 11 Dec 2008 08:32+0200, Giorgos Keramidas wrote: >> On Wed, 10 Dec 2008 18:00:25 -0800, "Sheldon Givens" <[EMAIL PROTECTED]> >> wrote: >> > --- /usr/src/us

Re: Small change to wc

2008-12-16 Thread Giorgos Keramidas
On Tue, 16 Dec 2008 23:25:07 +0100, Lars Engels wrote: >On Sat, Dec 06, 2008 at 09:25:05PM +0200, Giorgos Keramidas wrote: >>On Sat, 06 Dec 2008 17:40:14 +0200, Giorgos Keramidas >> wrote: >>> The updated patch, and a manpage change to document the new option is >>

Re: [Testers wanted] vt100/xterm-support for syscons

2008-12-23 Thread Giorgos Keramidas
On Tue, 23 Dec 2008 14:59:51 +0100, Ed Schouten wrote: > Hello all, > Some time ago I sent a message to the lists about vt100/xterm/UTF-8 > support for syscons. I think the code is pretty stable now and after > some minor improvements/fixes, it should be ready to hit the tree. > > I'm sending this

Re: Determine if a kernel is built with a specific option?

2009-01-12 Thread Giorgos Keramidas
On Mon, 12 Jan 2009 14:56:21 +, "Andrew Brampton" wrote: > If you were going to do this, would you make it a configure flag... ie > --enable-polling... That way it doesn't matter if the build box is > different? If both choices are available (i.e. no header files are missing, no link-time li

Re: Code review request: cdcontrol status label additon

2009-01-28 Thread Giorgos Keramidas
On Wed, 28 Jan 2009 02:09:50 -0700 (MST), "M. Warner Losh" wrote: > Please find enclosed patches to enable printing of the ISO-9660 Volume > label, if present, for a CD. I've connected this to the 'status > label' command. Please comment. The style looks ok, but this didn't work for a Fedora C

Re: Code review request: cdcontrol status label additon

2009-01-28 Thread Giorgos Keramidas
On Wed, 28 Jan 2009 09:20:46 -0700 (MST), "M. Warner Losh" wrote: > Not going to look at glabel for this. I lifted the code from glable, > but must have done it badly. I'll grab a core 10 cd and see what's up. It may not be Fedora specific. I just happened to have it handy... Sorry for creat

  1   2   3   4   >