version 1.1.1.2, 2012/10/09 09:29:52
|
version 1.1.1.3, 2013/07/22 10:46:11
|
Line 1
|
Line 1
|
/* |
/* |
* Copyright (c) 2009-2010 Todd C. Miller <Todd.Miller@courtesan.com> | * Copyright (c) 2009-2010, 2012-2013 Todd C. Miller <Todd.Miller@courtesan.com> |
* |
* |
* Permission to use, copy, modify, and distribute this software for any |
* Permission to use, copy, modify, and distribute this software for any |
* purpose with or without fee is hereby granted, provided that the above |
* purpose with or without fee is hereby granted, provided that the above |
Line 16
|
Line 16
|
|
|
#include <config.h> |
#include <config.h> |
|
|
|
#ifndef HAVE_GETLINE |
|
|
#include <sys/types.h> |
#include <sys/types.h> |
|
|
#include <stdio.h> |
#include <stdio.h> |
Line 101 getline(char **bufp, size_t *bufsizep, FILE *fp)
|
Line 103 getline(char **bufp, size_t *bufsizep, FILE *fp)
|
*bufsizep = bufsize; |
*bufsizep = bufsize; |
return len; |
return len; |
} |
} |
#endif | #endif /* HAVE_FGETLN */ |
| #endif /* HAVE_GETLINE */ |