Re:

2012-02-04 Thread Tutune SON
Resimleri gvremiyorsaniz G|venli olarak isaretle segenegini segin ya da  

bu mesaji web tarayicinizda gvr|nt|leyin.





























EB|lten \yeli?inden G?k | ?leti?im | Tercihler







DSM Grup Dan??manl?k ?leti?im ve Sat?? Tic. A.?. Ayaza?a Mah. Kemerburgaz  

Cd. No:10/1 ?i?li ?stanbul





Bu B|lteni Gvr|nt|leyemiyorsan}z T}klay}n}z! ;




Re: readdir man page

2012-02-04 Thread Kenneth R Westerback
On Thu, Feb 02, 2012 at 10:29:00PM -0700, Philip Guenther wrote:
 On Thu, 2 Feb 2012, Philip Guenther wrote:
  I also think readdir() should set errno if it detects an invalid
  seekdir().  EINVAL seems correct.
 
 Here's a diff for this bit.
 
 oks?
 
 
 Philip Guenther
 
 
 Index: gen/readdir.c
 ===
 RCS file: /cvs/src/lib/libc/gen/readdir.c,v
 retrieving revision 1.15
 diff -u -p -r1.15 readdir.c
 --- gen/readdir.c 18 Nov 2009 07:43:22 -  1.15
 +++ gen/readdir.c 3 Feb 2012 05:21:58 -
 @@ -29,6 +29,7 @@
   */
  
  #include dirent.h
 +#include errno.h
  #include thread_private.h
  
  /*
 @@ -52,12 +53,14 @@ _readdir_unlocked(DIR *dirp, struct dire
   return (-1);
   }
   dp = (struct dirent *)(dirp-dd_buf + dirp-dd_loc);
 - if ((long)dp  03)  /* bogus pointer check */
 - return (-1);
 - if (dp-d_reclen = 0 ||
 - dp-d_reclen  dirp-dd_len + 1 - dirp-dd_loc)
 + if ((long)dp  03 ||/* bogus pointer check */
 + dp-d_reclen = 0 ||
 + dp-d_reclen  dirp-dd_len + 1 - dirp-dd_loc) {
 + errno = EINVAL;
   return (-1);
 + }
   dirp-dd_loc += dp-d_reclen;
 +
   /*
* When called from seekdir(), we let it decide on
* the end condition to avoid overshooting: the next
 

I like this diff per se, just not enough of a POSIX lawyer to say if the
subtly different behaviour will set off alarms in Austin or wherever POSIX
hangs out these days. :-)

 Ken



Vive una nueva experiencia - Nuevo Local Grupo Pana Surquillo. publicidad be can

2012-02-04 Thread Grupo Pana
Si no puede ver este correo o algunas letras pequeqas click aqum








Este mensaje ha sido enviado siguiendo las normas y
procedimientos de la Ley N0 28493 que regula el uso del correo electrsnico no
solicitado. Este mensaje ha sido remitido por Grupo-Pana a una base de
datos cuidadosamente seleccionada y no a una base de datos
masiva, ansnima e indiscriminada
Si ya no desea continuar recibiendo mensajes por favor escribiar a::remover @
grupopana .com.pe::

[demime 1.01d removed an attachment of type image/jpeg which had a name of 
parcelario.jpg]

[demime 1.01d removed an attachment of type image/jpeg which had a name of 
dvandalica.jpg]



Re: sysv_msg queue id error

2012-02-04 Thread Philip Guenther
On Fri, Feb 3, 2012 at 4:08 PM, Geoff Steckel g...@oat.com wrote:
...
 Result: only 1 msg queue could be used because queue id 0 was the
 only one returned and 0 matched the first queue.

Yeah, this was reported back on Jan 20th by Alexis Fouilhe; c.f. the
message with subject Message queue identifiers are broken.
blambert@ should be committing the fix soon.


Philip Guenther