public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in www-servers/mini_httpd/files: mini_httpd-1.19-glibc-2.10.patch
@ 2009-08-08 22:19 Samuli Suominen (ssuominen)
  0 siblings, 0 replies; only message in thread
From: Samuli Suominen (ssuominen) @ 2009-08-08 22:19 UTC (permalink / raw
  To: gentoo-commits

ssuominen    09/08/08 22:19:53

  Added:                mini_httpd-1.19-glibc-2.10.patch
  Log:
  Fix building with GLIBC 2.10+ wrt #278157.
  (Portage version: 2.2_rc36/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  www-servers/mini_httpd/files/mini_httpd-1.19-glibc-2.10.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-servers/mini_httpd/files/mini_httpd-1.19-glibc-2.10.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-servers/mini_httpd/files/mini_httpd-1.19-glibc-2.10.patch?rev=1.1&content-type=text/plain

Index: mini_httpd-1.19-glibc-2.10.patch
===================================================================
diff -ur mini_httpd-1.19.orig/htpasswd.c mini_httpd-1.19/htpasswd.c
--- mini_httpd-1.19.orig/htpasswd.c	2001-12-19 02:08:10.000000000 +0200
+++ mini_httpd-1.19/htpasswd.c	2009-08-09 01:20:36.000000000 +0300
@@ -49,7 +49,7 @@
     while((line[y++] = line[x++]));
 }
 
-static int getline(char *s, int n, FILE *f) {
+static int get_line(char *s, int n, FILE *f) {
     register int i=0;
 
     while(1) {
@@ -189,7 +189,7 @@
     strcpy(user,argv[2]);
 
     found = 0;
-    while(!(getline(line,MAX_STRING_LEN,f))) {
+    while(!(get_line(line,MAX_STRING_LEN,f))) {
         if(found || (line[0] == '#') || (!line[0])) {
             putline(tfp,line);
             continue;






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-08-08 22:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-08 22:19 [gentoo-commits] gentoo-x86 commit in www-servers/mini_httpd/files: mini_httpd-1.19-glibc-2.10.patch Samuli Suominen (ssuominen)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox